diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 09:39:37 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 09:39:37 -0500 |
commit | e374560232776d4141866abc9f520c132b394926 (patch) | |
tree | 3a6eb078cb127fe8fc82422c8ce09e77d5983835 /hw/ide | |
parent | c62f6d1d76aea587556c85b6b7b5c44167006264 (diff) | |
parent | 98e51ec92e678cf0e501b5ef013753ec8710e222 (diff) |
Merge remote-tracking branch 'kraxel/migration.2' into staging
Diffstat (limited to 'hw/ide')
-rw-r--r-- | hw/ide/ich.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/ide/ich.c b/hw/ide/ich.c index 054e0734e4..d241ea8005 100644 --- a/hw/ide/ich.c +++ b/hw/ide/ich.c @@ -72,6 +72,11 @@ #include <hw/ide/pci.h> #include <hw/ide/ahci.h> +static const VMStateDescription vmstate_ahci = { + .name = "ahci", + .unmigratable = 1, +}; + static int pci_ich9_ahci_init(PCIDevice *dev) { struct AHCIPCIState *d; @@ -123,6 +128,7 @@ static PCIDeviceInfo ich_ahci_info[] = { .qdev.name = "ich9-ahci", .qdev.alias = "ahci", .qdev.size = sizeof(AHCIPCIState), + .qdev.vmsd = &vmstate_ahci, .init = pci_ich9_ahci_init, .exit = pci_ich9_uninit, .config_write = pci_ich9_write_config, |