mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
usb-net doesn't support migration
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
2474e5052b
commit
4ab0ba9e26
1 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue