Re: [PATCH 2/5] vfio: ccw: Register mediated device once all structures are initialized

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/10/2018 22:03, Eric Farman wrote:


On 10/17/2018 05:18 AM, Pierre Morel wrote:
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



Let's register the mediated device when all the data structures
which could be used are initialized.

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.


Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>

Reviewed-by: Eric Farman <farman@xxxxxxxxxxxxx>

Thanks for the review Eric

Pierre



--
Pierre Morel
Linux/KVM/QEMU in Böblingen - Germany




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux