From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 5/9] qdev/usb: add some convinience aliases.
Date: Mon, 31 Aug 2009 14:24:01 +0200 [thread overview]
Message-ID: <1251721445-17824-6-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1251721445-17824-1-git-send-email-kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb-hid.c | 3 +++
hw/usb-wacom.c | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index 0837ec1..3bf06fa 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -882,6 +882,7 @@ void usb_hid_datain_cb(USBDevice *dev, void *opaque, void (*datain)(void *))
static struct USBDeviceInfo hid_info[] = {
{
.qdev.name = "QEMU USB Tablet",
+ .qdev.alias = "usb-tablet",
.qdev.size = sizeof(USBHIDState),
.init = usb_tablet_initfn,
.handle_packet = usb_generic_handle_packet,
@@ -891,6 +892,7 @@ static struct USBDeviceInfo hid_info[] = {
.handle_destroy = usb_hid_handle_destroy,
},{
.qdev.name = "QEMU USB Mouse",
+ .qdev.alias = "usb-mouse",
.qdev.size = sizeof(USBHIDState),
.init = usb_mouse_initfn,
.handle_packet = usb_generic_handle_packet,
@@ -900,6 +902,7 @@ static struct USBDeviceInfo hid_info[] = {
.handle_destroy = usb_hid_handle_destroy,
},{
.qdev.name = "QEMU USB Keyboard",
+ .qdev.alias = "usb-kbd",
.qdev.size = sizeof(USBHIDState),
.init = usb_keyboard_initfn,
.handle_packet = usb_generic_handle_packet,
diff --git a/hw/usb-wacom.c b/hw/usb-wacom.c
index 4007e0f..55f06bf 100644
--- a/hw/usb-wacom.c
+++ b/hw/usb-wacom.c
@@ -401,6 +401,7 @@ static int usb_wacom_initfn(USBDevice *dev)
static struct USBDeviceInfo wacom_info = {
.qdev.name = "QEMU PenPartner Tablet",
+ .qdev.alias = "wacom-tablet",
.qdev.size = sizeof(USBWacomState),
.init = usb_wacom_initfn,
.handle_packet = usb_generic_handle_packet,
--
1.6.2.5
next prev parent reply other threads:[~2009-08-31 12:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-31 12:23 [Qemu-devel] [PATCH 0/9] qdev: usb + scsi support Gerd Hoffmann
2009-08-31 12:23 ` [Qemu-devel] [PATCH 1/9] allow passing null machine pointer to drive_init() Gerd Hoffmann
2009-08-31 12:23 ` [Qemu-devel] [PATCH 2/9] qdev: add error message to qdev_device_add() Gerd Hoffmann
2009-08-31 12:23 ` [Qemu-devel] [PATCH 3/9] qdev/usb: add usb bus support to qdev, convert drivers Gerd Hoffmann
2009-08-31 12:24 ` [Qemu-devel] [PATCH 4/9] qdev/usb: make qemu aware of usb busses Gerd Hoffmann
[not found] ` <m34oro5ezg.fsf@neno.mitica>
2009-08-31 13:31 ` [Qemu-devel] " Gerd Hoffmann
2009-08-31 12:24 ` Gerd Hoffmann [this message]
2009-08-31 12:24 ` [Qemu-devel] [PATCH 6/9] qdev/usb: convert uhci Gerd Hoffmann
2009-08-31 12:24 ` [Qemu-devel] [PATCH 7/9] qdev/usb: convert ohci Gerd Hoffmann
2009-08-31 12:24 ` [Qemu-devel] [PATCH 8/9] qdev/scsi: add scsi bus support to qdev, convert drivers Gerd Hoffmann
2009-08-31 12:24 ` [Qemu-devel] [PATCH 9/9] qdev/scsi+usb: convert usb-storage to qdev Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1251721445-17824-6-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).