diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-08 10:48:37 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-20 14:49:41 +0200 |
commit | b7ce1b27f652630e6bc201497ea451b67ad549fa (patch) | |
tree | 21cc1d02d013c46c361540dfab72380e3784d924 /hw | |
parent | 2837c8ea1f10c281c9ff68f397405f3596f8ce0b (diff) | |
download | hqemu-b7ce1b27f652630e6bc201497ea451b67ad549fa.zip hqemu-b7ce1b27f652630e6bc201497ea451b67ad549fa.tar.gz |
ahci doesn't support migration
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-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 054e073..d241ea8 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, |