OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
616b5d5
)
ehci: fix migration
author
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 8 Nov 2012 09:14:46 +0000
(10:14 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 9 Nov 2012 08:09:34 +0000
(09:09 +0100)
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
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-ehci-pci.c
b/hw/usb/hcd-ehci-pci.c
index
d5c7d46
..
fe45a1f
100644
(file)
--- 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;
}