From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 8/8] ehci: fix migration
Date: Fri, 9 Nov 2012 10:05:51 +0100 [thread overview]
Message-ID: <1352451951-9407-9-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1352451951-9407-1-git-send-email-kraxel@redhat.com>
Commit 5010d4dc618b6b8e7c21129c487c06f6493f71fc reorganized vmstate to
split core + pci, but got two little details wrong. Fix them.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/hcd-ehci-pci.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
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.1
next prev parent reply other threads:[~2012-11-09 9:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-09 9:05 [Qemu-devel] [PULL 0/8] usb patch queue Gerd Hoffmann
2012-11-09 9:05 ` [Qemu-devel] [PATCH 1/8] usb: split packet result into actual_length + status Gerd Hoffmann
2012-11-09 9:05 ` [Qemu-devel] [PATCH 2/8] usb-redir: Allow packets to have both data and an error-status Gerd Hoffmann
2012-11-09 9:05 ` [Qemu-devel] [PATCH 3/8] ehci: Get rid of the magical PROC_ERR status Gerd Hoffmann
2012-11-09 9:05 ` [Qemu-devel] [PATCH 4/8] ehci: Add support for packets with both data and an error status Gerd Hoffmann
2012-11-09 9:05 ` [Qemu-devel] [PATCH 5/8] xhci: " Gerd Hoffmann
2012-11-09 9:05 ` [Qemu-devel] [PATCH 6/8] usb/combined-packet: Move freeing of combined to usb_combined_packet_remove() Gerd Hoffmann
2012-11-09 9:05 ` [Qemu-devel] [PATCH 7/8] xhci: Fix some DMA host endian bugs Gerd Hoffmann
2012-11-09 9:05 ` Gerd Hoffmann [this message]
2012-11-14 16:22 ` [Qemu-devel] [PULL 0/8] usb patch queue Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352451951-9407-9-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).