]> git.ipfire.org Git - thirdparty/qemu.git/commit - xen-common.c
accel: Pass MachineState object to accel init functions
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 26 Sep 2014 20:45:30 +0000 (17:45 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Oct 2014 10:57:10 +0000 (12:57 +0200)
commitf6a1ef64408a5f7f52601589fef2a850b93d817e
tree1a272c6f0d4ed248572bb2835b17318ef8c9daa0
parent0d15da8e6fc3cbcd088476c561dcc88b9aae493a
accel: Pass MachineState object to accel init functions

Most of the machine options and machine state information is in the
MachineState object, not on the MachineClass. This will allow init
functions to use the MachineState object directly instead of
qemu_get_machine_opts() or the current_machine global.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel.c
include/hw/boards.h
include/qemu/typedefs.h
include/sysemu/accel.h
kvm-all.c
qtest.c
vl.c
xen-common.c