]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
usb-host: tag as unmigratable
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 31 Aug 2011 09:44:24 +0000 (11:44 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Sep 2011 07:58:27 +0000 (09:58 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-linux.c

index 67639f3bc1a4ed5af998ae28b5fd8193aee0253d..2075c4c67a7823a9afdf8610c99f19f0e049b1ee 100644 (file)
@@ -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,