mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
qdev: Separate USB product description from qdev name
Using the qdev name for the product description makes for inconvenient qdev names. Put the product description in new USBDeviceInfo member product_desc. Make usb_qdev_init() use it. No user or guest visible change, since the value is still the same. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
committed by
Anthony Liguori
parent
0fe6d12e0b
commit
063846984c
@@ -979,6 +979,7 @@ static int usb_host_initfn(USBDevice *dev)
|
||||
}
|
||||
|
||||
static struct USBDeviceInfo usb_host_dev_info = {
|
||||
.product_desc = "USB Host Device",
|
||||
.qdev.name = "USB Host Device",
|
||||
.qdev.alias = "usb-host",
|
||||
.qdev.size = sizeof(USBHostDevice),
|
||||
|
||||
Reference in New Issue
Block a user