mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
machine: Replace QEMUMachine by MachineClass in accelerator configuration
This minimizes QEMUMachine usage, as part of machine QOM-ification. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
aaa663916d
commit
f1e298794d
11 changed files with 17 additions and 17 deletions
|
@ -1001,7 +1001,7 @@ static void xen_exit_notifier(Notifier *n, void *data)
|
|||
xs_daemon_close(state->xenstore);
|
||||
}
|
||||
|
||||
int xen_init(QEMUMachine *machine)
|
||||
int xen_init(MachineClass *mc)
|
||||
{
|
||||
xen_xc = xen_xc_interface_open(0, 0, 0);
|
||||
if (xen_xc == XC_HANDLER_INITIAL_VALUE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue