mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-08 05:07:39 +00:00
ehci doesn't support migration
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
b7ce1b27f6
commit
9490fb0624
@ -2244,6 +2244,11 @@ static USBBusOps ehci_bus_ops = {
|
|||||||
.register_companion = ehci_register_companion,
|
.register_companion = ehci_register_companion,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const VMStateDescription vmstate_ehci = {
|
||||||
|
.name = "ehci",
|
||||||
|
.unmigratable = 1,
|
||||||
|
};
|
||||||
|
|
||||||
static Property ehci_properties[] = {
|
static Property ehci_properties[] = {
|
||||||
DEFINE_PROP_UINT32("freq", EHCIState, freq, FRAME_TIMER_FREQ),
|
DEFINE_PROP_UINT32("freq", EHCIState, freq, FRAME_TIMER_FREQ),
|
||||||
DEFINE_PROP_UINT32("maxframes", EHCIState, maxframes, 128),
|
DEFINE_PROP_UINT32("maxframes", EHCIState, maxframes, 128),
|
||||||
@ -2254,6 +2259,7 @@ static PCIDeviceInfo ehci_info[] = {
|
|||||||
{
|
{
|
||||||
.qdev.name = "usb-ehci",
|
.qdev.name = "usb-ehci",
|
||||||
.qdev.size = sizeof(EHCIState),
|
.qdev.size = sizeof(EHCIState),
|
||||||
|
.qdev.vmsd = &vmstate_ehci,
|
||||||
.init = usb_ehci_initfn,
|
.init = usb_ehci_initfn,
|
||||||
.vendor_id = PCI_VENDOR_ID_INTEL,
|
.vendor_id = PCI_VENDOR_ID_INTEL,
|
||||||
.device_id = PCI_DEVICE_ID_INTEL_82801D, /* ich4 */
|
.device_id = PCI_DEVICE_ID_INTEL_82801D, /* ich4 */
|
||||||
@ -2263,6 +2269,7 @@ static PCIDeviceInfo ehci_info[] = {
|
|||||||
},{
|
},{
|
||||||
.qdev.name = "ich9-usb-ehci1",
|
.qdev.name = "ich9-usb-ehci1",
|
||||||
.qdev.size = sizeof(EHCIState),
|
.qdev.size = sizeof(EHCIState),
|
||||||
|
.qdev.vmsd = &vmstate_ehci,
|
||||||
.init = usb_ehci_initfn,
|
.init = usb_ehci_initfn,
|
||||||
.vendor_id = PCI_VENDOR_ID_INTEL,
|
.vendor_id = PCI_VENDOR_ID_INTEL,
|
||||||
.device_id = PCI_DEVICE_ID_INTEL_82801I_EHCI1,
|
.device_id = PCI_DEVICE_ID_INTEL_82801I_EHCI1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user