vfio: ccw: Register mediated device once all structures are initialized
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Eric Farman
Quoted 2 lines · Pierre Morel
There is a risk that the mediated device is used before all the data are initialized if it is register too early.
s/register/registered/
yes
Quoted 5 lines
Quoted 4 lines
Let's register the mediated device when all the data structures which could be used are initialized.
Quoted 7 lines
I need to look at the later patches more, because I think that helps this situation too.� But fixing up this ordering seems good to me.
Quoted 2 lines
Signed-off-by Pierre Morel <[email protected]>Reviewed-by Eric Farman <[email protected]>
Thanks for the review Eric
Pierre
Signature · 2 lines
Pierre Morel Linux/KVM/QEMU in B�blingen - Germany