mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Alexander Graf <agraf@suse.de> Message-id: 1420550957-22337-4-git-send-email-marcel@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
5e97b623c2
commit
de77a243b3
12 changed files with 17 additions and 18 deletions
|
@ -418,7 +418,7 @@ static void ppc_core99_init(MachineState *machine)
|
|||
qdev_init_nofail(dev);
|
||||
|
||||
if ((machine_arch == ARCH_MAC99_U3 && defaults_enabled()) ||
|
||||
usb_enabled(false)) {
|
||||
usb_enabled()) {
|
||||
pci_create_simple(pci_bus, -1, "pci-ohci");
|
||||
/* U3 needs to use USB for input because Linux doesn't support via-cuda
|
||||
on PPC64 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue