From 063846984ce7eb1c1ddce6dda39b662c64a80dc0 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 9 Dec 2009 17:07:52 +0100 Subject: 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 Signed-off-by: Anthony Liguori --- usb-linux.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usb-linux.c') diff --git a/usb-linux.c b/usb-linux.c index 67735d338c..0004e969b6 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -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), -- cgit v1.2.3