diff options
| author | Marcel Apfelbaum | 2014-04-09 19:34:53 +0200 |
|---|---|---|
| committer | Andreas Färber | 2014-05-05 19:08:49 +0200 |
| commit | 958db90cd54823c33345000c995453a8c9b7a005 (patch) | |
| tree | 40b5b719074352d57d836534697f0eab7739ff86 /device-hotplug.c | |
| parent | machine: Replace QEMUMachine by MachineClass in accelerator configuration (diff) | |
| download | qemu-958db90cd54823c33345000c995453a8c9b7a005.tar.gz qemu-958db90cd54823c33345000c995453a8c9b7a005.tar.xz qemu-958db90cd54823c33345000c995453a8c9b7a005.zip | |
machine: Remove QEMUMachine indirection from MachineClass
No need to go through qemu_machine field. Use
MachineClass fields directly.
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'device-hotplug.c')
| -rw-r--r-- | device-hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device-hotplug.c b/device-hotplug.c index ebfa6b1016..eecb08e2b1 100644 --- a/device-hotplug.c +++ b/device-hotplug.c @@ -40,7 +40,7 @@ DriveInfo *add_init_drive(const char *optstr) return NULL; mc = MACHINE_GET_CLASS(current_machine); - dinfo = drive_init(opts, mc->qemu_machine->block_default_type); + dinfo = drive_init(opts, mc->block_default_type); if (!dinfo) { qemu_opts_del(opts); return NULL; |
