diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-20 10:06:07 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-20 14:49:41 +0200 |
commit | 4ab0ba9e26d52a272cadd5635437a341a4e7ff36 (patch) | |
tree | 2c7456492d45bf331688ec85700fe9824a67ff58 /hw/usb-net.c | |
parent | 2474e5052b3987cbd7f41f6a2992ce691dc8cc0c (diff) |
usb-net doesn't support migration
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb-net.c')
-rw-r--r-- | hw/usb-net.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/usb-net.c b/hw/usb-net.c index 9be709f7cf..4212e5b3c5 100644 --- a/hw/usb-net.c +++ b/hw/usb-net.c @@ -1414,11 +1414,17 @@ static USBDevice *usb_net_init(const char *cmdline) return dev; } +static const VMStateDescription vmstate_usb_net = { + .name = "usb-net", + .unmigratable = 1, +}; + static struct USBDeviceInfo net_info = { .product_desc = "QEMU USB Network Interface", .qdev.name = "usb-net", .qdev.fw_name = "network", .qdev.size = sizeof(USBNetState), + .qdev.vmsd = &vmstate_usb_net, .usb_desc = &desc_net, .init = usb_net_initfn, .handle_packet = usb_generic_handle_packet, |