From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf6pG-0007tB-IT for qemu-devel@nongnu.org; Fri, 08 Jul 2011 04:54:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf6p1-0001Ep-VO for qemu-devel@nongnu.org; Fri, 08 Jul 2011 04:54:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf6p1-0001EQ-Ao for qemu-devel@nongnu.org; Fri, 08 Jul 2011 04:54:03 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p688s2nu004270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 8 Jul 2011 04:54:02 -0400 From: Gerd Hoffmann Date: Fri, 8 Jul 2011 10:53:59 +0200 Message-Id: <1310115239-19288-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1310115239-19288-1-git-send-email-kraxel@redhat.com> References: <1310115239-19288-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 3/3] ehci doesn't support migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- 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