From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjTj7-00057j-IH for qemu-devel@nongnu.org; Wed, 20 Jul 2011 06:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjTj1-0001xq-3C for qemu-devel@nongnu.org; Wed, 20 Jul 2011 06:10:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjTj0-0001xd-D4 for qemu-devel@nongnu.org; Wed, 20 Jul 2011 06:09:54 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6KA9rV6022373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 20 Jul 2011 06:09:53 -0400 From: Gerd Hoffmann Date: Wed, 20 Jul 2011 12:09:33 +0200 Message-Id: <1311156579-9814-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1311156579-9814-1-git-send-email-kraxel@redhat.com> References: <1311156579-9814-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 3/9] ahci doesn't support migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- 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 #include +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