diff options
| author | Marcel Apfelbaum <marcel@redhat.com> | 2015-01-06 15:29:14 +0200 |
|---|---|---|
| committer | Alexander Graf <agraf@suse.de> | 2015-01-07 16:16:29 +0100 |
| commit | 09f28e5b51e0fb822021efd8396057c818927775 (patch) | |
| tree | e8952d2f6861db0e00d00ba2f813d2af9060af9d /hw/i386/pc_q35.c | |
| parent | 759bf45d81a892c359fa1a3848c36dcd74b6a42b (diff) | |
| download | focaccia-qemu-09f28e5b51e0fb822021efd8396057c818927775.tar.gz focaccia-qemu-09f28e5b51e0fb822021efd8396057c818927775.zip | |
hw/usb: simplified usb_enabled
The argument is not longer used and the implementation uses now QOM instead of QemuOpts. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/i386/pc_q35.c')
| -rw-r--r-- | hw/i386/pc_q35.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 7ba05353aa..a432944f02 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -265,7 +265,7 @@ static void pc_q35_init(MachineState *machine) ide_drive_get(hd, ICH_AHCI(ahci)->ahci.ports); ahci_ide_create_devs(ahci, hd); - if (usb_enabled(false)) { + if (usb_enabled()) { /* Should we create 6 UHCI according to ich9 spec? */ ehci_create_ich9_with_companions(host_bus, 0x1d); } |