[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/9] ahci doesn't support migration
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 3/9] ahci doesn't support migration |
Date: |
Wed, 20 Jul 2011 12:09:33 +0200 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
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,
--
1.7.1
- [Qemu-devel] [PULL] non-migratable devices, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 2/9] vmstate: complain about devices without vmstate, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 1/9] vmstate: add no_migrate flag to VMStateDescription, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 3/9] ahci doesn't support migration,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 4/9] ehci doesn't support migration, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 6/9] usb-wacom doesn't support migration, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 5/9] usb storage: first migration support bits., Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 8/9] usb-net doesn't support migration, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 7/9] usb-bt doesn't support migration, Gerd Hoffmann, 2011/07/20
- [Qemu-devel] [PATCH 9/9] usb-serial doesn't support migration, Gerd Hoffmann, 2011/07/20
- Re: [Qemu-devel] [PULL] non-migratable devices, Anthony Liguori, 2011/07/22