aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-wacom.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-07-29 09:39:37 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-07-29 09:39:37 -0500
commite374560232776d4141866abc9f520c132b394926 (patch)
tree3a6eb078cb127fe8fc82422c8ce09e77d5983835 /hw/usb-wacom.c
parentc62f6d1d76aea587556c85b6b7b5c44167006264 (diff)
parent98e51ec92e678cf0e501b5ef013753ec8710e222 (diff)
downloadqemu-e374560232776d4141866abc9f520c132b394926.zip
qemu-e374560232776d4141866abc9f520c132b394926.tar.gz
qemu-e374560232776d4141866abc9f520c132b394926.tar.bz2
Merge remote-tracking branch 'kraxel/migration.2' into staging
Diffstat (limited to 'hw/usb-wacom.c')
-rw-r--r--hw/usb-wacom.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/usb-wacom.c b/hw/usb-wacom.c
index 9d348e1..d76ee97 100644
--- a/hw/usb-wacom.c
+++ b/hw/usb-wacom.c
@@ -349,6 +349,11 @@ static int usb_wacom_initfn(USBDevice *dev)
return 0;
}
+static const VMStateDescription vmstate_usb_wacom = {
+ .name = "usb-wacom",
+ .unmigratable = 1,
+};
+
static struct USBDeviceInfo wacom_info = {
.product_desc = "QEMU PenPartner Tablet",
.qdev.name = "usb-wacom-tablet",
@@ -356,6 +361,7 @@ static struct USBDeviceInfo wacom_info = {
.usbdevice_name = "wacom-tablet",
.usb_desc = &desc_wacom,
.qdev.size = sizeof(USBWacomState),
+ .qdev.vmsd = &vmstate_usb_wacom,
.init = usb_wacom_initfn,
.handle_packet = usb_generic_handle_packet,
.handle_reset = usb_wacom_handle_reset,