aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-bt.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-12-09 17:07:53 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:38 -0600
commit556cd09885bec3f69ba78228fe4e46dc1dad145b (patch)
tree7dc5acbacb95f22e69d69c4d1eb588bf1909e5cf /hw/usb-bt.c
parent063846984ce7eb1c1ddce6dda39b662c64a80dc0 (diff)
downloadqemu-556cd09885bec3f69ba78228fe4e46dc1dad145b.zip
qemu-556cd09885bec3f69ba78228fe4e46dc1dad145b.tar.gz
qemu-556cd09885bec3f69ba78228fe4e46dc1dad145b.tar.bz2
qdev: Replace device names containing whitespace
Device names with whitespace require quoting in the shell and in the monitor. Some of the offenders are also overly long. Some have a more convenient alias, some don't. The place for verbose device names is DeviceInfo member desc. The name should be short & sweet. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb-bt.c')
-rw-r--r--hw/usb-bt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/usb-bt.c b/hw/usb-bt.c
index 07da133..56d1a6c 100644
--- a/hw/usb-bt.c
+++ b/hw/usb-bt.c
@@ -630,7 +630,7 @@ USBDevice *usb_bt_init(HCIInfo *hci)
if (!hci)
return NULL;
- dev = usb_create_simple(NULL /* FIXME */, "QEMU BT dongle");
+ dev = usb_create_simple(NULL /* FIXME */, "usb-bt-dongle");
s = DO_UPCAST(struct USBBtState, dev, dev);
s->dev.opaque = s;
@@ -646,7 +646,7 @@ USBDevice *usb_bt_init(HCIInfo *hci)
static struct USBDeviceInfo bt_info = {
.product_desc = "QEMU BT dongle",
- .qdev.name = "QEMU BT dongle",
+ .qdev.name = "usb-bt-dongle",
.qdev.size = sizeof(struct USBBtState),
.init = usb_bt_initfn,
.handle_packet = usb_generic_handle_packet,