Skip to contentSkip to conversation

vfio: ccw: Register mediated device once all structures are initialized

PATCH Pierre Morel 1 participant 1 message Oct 18, 2018 1 message not in the archive s390

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
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

Thanks for the review Eric

Pierre

Signature · 2 lines
Pierre Morel
Linux/KVM/QEMU in B�blingen - Germany