mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -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: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
759bf45d81
commit
09f28e5b51
12 changed files with 17 additions and 18 deletions
|
@ -1530,7 +1530,7 @@ static void ppc_spapr_init(MachineState *machine)
|
|||
spapr->has_graphics = true;
|
||||
}
|
||||
|
||||
if ((spapr->has_graphics && defaults_enabled()) || usb_enabled(false)) {
|
||||
if ((spapr->has_graphics && defaults_enabled()) || usb_enabled()) {
|
||||
pci_create_simple(phb->bus, -1, "pci-ohci");
|
||||
if (spapr->has_graphics) {
|
||||
usbdevice_create("keyboard");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue