]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
usb: fix kconfig for usb-xhci-sysbus
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Nov 2020 08:55:24 +0000 (09:55 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Nov 2020 15:43:41 +0000 (10:43 -0500)
Remove the "default y" for USB_XHCI_SYSBUS because
sysbus devices are not user creatable; boards that use them will
specify them manually with "imply" or "select" clauses.

It would be nice to keep the ability to remove PCIe and USB from microvm,
since thos can be disabled on the command line and therefore should not
be included if QEMU is configured --without-default-devices.  However
it's too late for 5.2 to figure out a place for the DSDT creation code.

Reported-by: Bruce Rogers <brogers@suse.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/usb/Kconfig

index 3b07d9cf6879757cb3ae2b33edb4f8fd4878537c..7fbae18bc803cfa20c53970272546581ad2d95a5 100644 (file)
@@ -47,7 +47,6 @@ config USB_XHCI_NEC
 
 config USB_XHCI_SYSBUS
     bool
-    default y
     select USB_XHCI
 
 config USB_MUSB