Re: [Qemu-devel] [PATCH 1/9] vl: export machine_init_done

2018-03-05 Thread Peter Xu
On Mon, Mar 05, 2018 at 12:48:27PM +0100, Marc-André Lureau wrote: > Hi > > On Mon, Mar 5, 2018 at 7:50 AM, Peter Xu wrote: > > We have that variable but not exported. Export that so modules can have > > a way to poke on whether machine init has finished. > > Which modules? E.g., the mux code

Re: [Qemu-devel] [PATCH 1/9] vl: export machine_init_done

2018-03-05 Thread Marc-André Lureau
Hi On Mon, Mar 5, 2018 at 7:50 AM, Peter Xu wrote: > We have that variable but not exported. Export that so modules can have > a way to poke on whether machine init has finished. Which modules? > Meanwhile, set that up even before calling the notifiers, so that > notifiers who may depend on th

[Qemu-devel] [PATCH 1/9] vl: export machine_init_done

2018-03-04 Thread Peter Xu
We have that variable but not exported. Export that so modules can have a way to poke on whether machine init has finished. Meanwhile, set that up even before calling the notifiers, so that notifiers who may depend on this field will get a correct answer. Suggested-by: Paolo Bonzini Signed-off-