qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 3/3] ehci doesn't support migration


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH 3/3] ehci doesn't support migration
Date: Fri, 8 Jul 2011 10:53:59 +0200

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 hw/usb-ehci.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
index 91fb7de..a0449be 100644
--- a/hw/usb-ehci.c
+++ b/hw/usb-ehci.c
@@ -2136,9 +2136,15 @@ static USBBusOps ehci_bus_ops = {
     .device_destroy = ehci_device_destroy,
 };
 
+static const VMStateDescription vmstate_ehci = {
+    .name = "ehci",
+    .no_migrate = 1,
+};
+
 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,
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]