summaryrefslogtreecommitdiffstats
path: root/usb-linux.c
diff options
context:
space:
mode:
authorGerd Hoffmann2011-08-31 11:44:24 +0200
committerGerd Hoffmann2011-09-07 09:58:27 +0200
commitd67915786822b42094ce99768e595994cf6de0bf (patch)
treea668d5026c9d8f50e6db5c9517e8bc0abebbe0f1 /usb-linux.c
parentusb: claim port at device initialization time. (diff)
downloadqemu-d67915786822b42094ce99768e595994cf6de0bf.tar.gz
qemu-d67915786822b42094ce99768e595994cf6de0bf.tar.xz
qemu-d67915786822b42094ce99768e595994cf6de0bf.zip
usb-host: tag as unmigratable
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'usb-linux.c')
-rw-r--r--usb-linux.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/usb-linux.c b/usb-linux.c
index 67639f3bc1..2075c4c67a 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -1354,10 +1354,16 @@ out:
return 0;
}
+static const VMStateDescription vmstate_usb_host = {
+ .name = "usb-host",
+ .unmigratable = 1,
+};
+
static struct USBDeviceInfo usb_host_dev_info = {
.product_desc = "USB Host Device",
.qdev.name = "usb-host",
.qdev.size = sizeof(USBHostDevice),
+ .qdev.vmsd = &vmstate_usb_host,
.init = usb_host_initfn,
.handle_packet = usb_generic_handle_packet,
.cancel_packet = usb_host_async_cancel,