]> git.ipfire.org Git - thirdparty/qemu.git/commit
usb/uhci: Disallow user creating a vt82c686-uhci-pci device
authorBALATON Zoltan <balaton@eik.bme.hu>
Mon, 25 Oct 2021 11:33:49 +0000 (13:33 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Nov 2021 13:32:32 +0000 (14:32 +0100)
commitece29df33b8e0e35760c4f76b0cf7b1af928b0b4
tree69705cbef466e6fc8b1caeed758bb3c3828b441c
parentd3647ef1fdaf4dcaecb794b525e9def1e5d81245
usb/uhci: Disallow user creating a vt82c686-uhci-pci device

Because this device only works as part of VIA superio chips set user
creatable to false. Since the class init method is common for UHCI
variants introduce a flag in UHCIInfo for this.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <e6abf1f19ca72bbc2d8a5a6aa941edbf87a9845f.1635161629.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/usb/hcd-uhci.c
hw/usb/hcd-uhci.h
hw/usb/vt82c686-uhci-pci.c