Received: from eggs.gnu.org ([208.118.235.92]:41367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWQfw-0001ZO-53 for qemu-devel@nongnu.org; Thu, 08 Nov 2012 06:53:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWQfq-0002tu-DV for qemu-devel@nongnu.org; Thu, 08 Nov 2012 06:53:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWQfq-0002tg-5U for qemu-devel@nongnu.org; Thu, 08 Nov 2012 06:53:30 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA8BrT4i032134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 8 Nov 2012 06:53:29 -0500 From: Hans de Goede Date: Thu, 8 Nov 2012 12:54:26 +0100 Message-Id: <1352375667-5077-1-git-send-email-hdegoede@redhat.com> In-Reply-To: <1352374173-4919-1-git-send-email-hdegoede@redhat.com> References: <1352374173-4919-1-git-send-email-hdegoede@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] ehci-pci: Fix crash on migration / migration not working List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Hans de Goede , qemu-devel@nongnu.org Signed-off-by: Hans de Goede --- hw/usb/hcd-ehci-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/usb/hcd-ehci-pci.c b/hw/usb/hcd-ehci-pci.c index d5c7d46..fe45a1f 100644 --- a/hw/usb/hcd-ehci-pci.c +++ b/hw/usb/hcd-ehci-pci.c @@ -91,6 +91,7 @@ static const VMStateDescription vmstate_ehci_pci = { .fields = (VMStateField[]) { VMSTATE_PCI_DEVICE(pcidev, EHCIPCIState), VMSTATE_STRUCT(ehci, EHCIPCIState, 2, vmstate_ehci, EHCIState), + VMSTATE_END_OF_LIST() } }; @@ -105,7 +106,7 @@ static void ehci_class_init(ObjectClass *klass, void *data) k->device_id = i->device_id; k->revision = i->revision; k->class_id = PCI_CLASS_SERIAL_USB; - dc->vmsd = &vmstate_ehci; + dc->vmsd = &vmstate_ehci_pci; dc->props = ehci_pci_properties; } -- 1.7.12.1