[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/9] ehci doesn't support migration
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 4/9] ehci doesn't support migration |
Date: |
Wed, 20 Jul 2011 12:09:34 +0200 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/usb-ehci.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
index a4758f9..8b0dcc3 100644
--- a/hw/usb-ehci.c
+++ b/hw/usb-ehci.c
@@ -2244,6 +2244,11 @@ static USBBusOps ehci_bus_ops = {
.register_companion = ehci_register_companion,
};
+static const VMStateDescription vmstate_ehci = {
+ .name = "ehci",
+ .unmigratable = 1,
+};
+
static Property ehci_properties[] = {
DEFINE_PROP_UINT32("freq", EHCIState, freq, FRAME_TIMER_FREQ),
DEFINE_PROP_UINT32("maxframes", EHCIState, maxframes, 128),
@@ -2254,6 +2259,7 @@ static PCIDeviceInfo ehci_info[] = {
{
.qdev.name = "usb-ehci",
.qdev.size = sizeof(EHCIState),
+ .qdev.vmsd = &vmstate_ehci,
.init = usb_ehci_initfn,
.vendor_id = PCI_VENDOR_ID_INTEL,
.device_id = PCI_DEVICE_ID_INTEL_82801D, /* ich4 */
@@ -2263,6 +2269,7 @@ static PCIDeviceInfo ehci_info[] = {
},{
.qdev.name = "ich9-usb-ehci1",
.qdev.size = sizeof(EHCIState),
+ .qdev.vmsd = &vmstate_ehci,
.init = usb_ehci_initfn,
.vendor_id = PCI_VENDOR_ID_INTEL,
.device_id = PCI_DEVICE_ID_INTEL_82801I_EHCI1,
--
1.7.1
- [Qemu-devel] [PULL] non-migratable devices, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 2/9] vmstate: complain about devices without vmstate, Gerd Hoffmann, 2011/07/20
- [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 <=
- [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, 2011/07/20
- Re: [Qemu-devel] [PULL] non-migratable devices, Anthony Liguori, 2011/07/22
- Re: [Qemu-devel] [PULL] non-migratable devices, Anthony Liguori, 2011/07/29