diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 09:39:37 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 09:39:37 -0500 |
commit | e374560232776d4141866abc9f520c132b394926 (patch) | |
tree | 3a6eb078cb127fe8fc82422c8ce09e77d5983835 /hw/usb-serial.c | |
parent | c62f6d1d76aea587556c85b6b7b5c44167006264 (diff) | |
parent | 98e51ec92e678cf0e501b5ef013753ec8710e222 (diff) |
Merge remote-tracking branch 'kraxel/migration.2' into staging
Diffstat (limited to 'hw/usb-serial.c')
-rw-r--r-- | hw/usb-serial.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/usb-serial.c b/hw/usb-serial.c index c69c4374e1..298c1e9d95 100644 --- a/hw/usb-serial.c +++ b/hw/usb-serial.c @@ -566,10 +566,16 @@ static USBDevice *usb_braille_init(const char *unused) return dev; } +static const VMStateDescription vmstate_usb_serial = { + .name = "usb-serial", + .unmigratable = 1, +}; + static struct USBDeviceInfo serial_info = { .product_desc = "QEMU USB Serial", .qdev.name = "usb-serial", .qdev.size = sizeof(USBSerialState), + .qdev.vmsd = &vmstate_usb_serial, .usb_desc = &desc_serial, .init = usb_serial_initfn, .handle_packet = usb_generic_handle_packet, @@ -589,6 +595,7 @@ static struct USBDeviceInfo braille_info = { .product_desc = "QEMU USB Braille", .qdev.name = "usb-braille", .qdev.size = sizeof(USBSerialState), + .qdev.vmsd = &vmstate_usb_serial, .usb_desc = &desc_braille, .init = usb_serial_initfn, .handle_packet = usb_generic_handle_packet, |