提交 d6791578 编写于 作者: G Gerd Hoffmann

usb-host: tag as unmigratable

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 891fb2cd
...@@ -1354,10 +1354,16 @@ out: ...@@ -1354,10 +1354,16 @@ out:
return 0; return 0;
} }
static const VMStateDescription vmstate_usb_host = {
.name = "usb-host",
.unmigratable = 1,
};
static struct USBDeviceInfo usb_host_dev_info = { static struct USBDeviceInfo usb_host_dev_info = {
.product_desc = "USB Host Device", .product_desc = "USB Host Device",
.qdev.name = "usb-host", .qdev.name = "usb-host",
.qdev.size = sizeof(USBHostDevice), .qdev.size = sizeof(USBHostDevice),
.qdev.vmsd = &vmstate_usb_host,
.init = usb_host_initfn, .init = usb_host_initfn,
.handle_packet = usb_generic_handle_packet, .handle_packet = usb_generic_handle_packet,
.cancel_packet = usb_host_async_cancel, .cancel_packet = usb_host_async_cancel,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册