mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
usb-net doesn't support migration
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user