]> git.proxmox.com Git - mirror_qemu.git/commit - stubs/machine-init-done.c
vl: export machine_init_done
authorPeter Xu <peterx@redhat.com>
Tue, 6 Mar 2018 05:33:12 +0000 (13:33 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Mar 2018 15:12:46 +0000 (16:12 +0100)
commitc8ca2a23a953bcda04b5e10380f462526ed1ed89
treebe9fc5a995c5cdb9526c7bb882ad4630d39df7a1
parent205f31a81adbd06830f2048ec00d729ebd67efa6
vl: export machine_init_done

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 <pbonzini@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180306053320.15401-2-peterx@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/sysemu/sysemu.h
stubs/machine-init-done.c
vl.c