[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 9/9] usb-serial doesn't support migration
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 9/9] usb-serial doesn't support migration |
Date: |
Wed, 20 Jul 2011 12:09:39 +0200 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
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 59cb0fb..70d694d 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,
--
1.7.1
- Re: [Qemu-devel] [PATCH 2/9] vmstate: complain about devices without vmstate, (continued)
- [Qemu-devel] [PATCH 1/9] vmstate: add no_migrate flag to VMStateDescription, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 3/9] ahci doesn't support migration, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 4/9] ehci doesn't support migration, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 6/9] usb-wacom doesn't support migration, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 5/9] usb storage: first migration support bits., Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 8/9] usb-net doesn't support migration, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 7/9] usb-bt doesn't support migration, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 9/9] usb-serial doesn't support migration,
Gerd Hoffmann <=
- Re: [Qemu-devel] [PULL] non-migratable devices, Anthony Liguori, 2011/07/22
- Re: [Qemu-devel] [PULL] non-migratable devices, Anthony Liguori, 2011/07/29