accel: pass object to accel_init_machine
commitfc5cf8262113e80d35177f06d49bcc1a9d3dc9fc
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Nov 2019 13:03:46 +0000 (13 14:03 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:32:27 +0000 (17 19:32 +0100)
treeec88d5dc2e1bf2b328a45e8daa80fd6207afd7e4
parent3c75e12ea64666f2fc9f822675490e8672f45453
accel: pass object to accel_init_machine

We will have to set QOM properties before accel_init_machine, based on the
options provided to -accel.  Construct the object outside it so that it
will be possible to iterate on properties between object_new_with_class
and accel_init_machine.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/accel.c
include/sysemu/accel.h
vl.c