From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Re6YW-0002zJ-A3 for qemu-devel@nongnu.org; Fri, 23 Dec 2011 09:57:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Re6YU-0007Y8-Ut for qemu-devel@nongnu.org; Fri, 23 Dec 2011 09:57:08 -0500 Received: from cantor2.suse.de ([195.135.220.15]:50663 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Re6YU-0007Xp-Oj for qemu-devel@nongnu.org; Fri, 23 Dec 2011 09:57:06 -0500 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Fri, 23 Dec 2011 15:55:49 +0100 Message-Id: <1324652151-4299-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [RFC 0/2] ahci: Make ich9-ahci migratable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Mark Langsdorf , Juan Quintela , mjt@tls.msk.ru, Alexander Graf , brogers@suse.com, =?UTF-8?q?Andreas=20F=C3=A4rber?= Hello, Since mjt asked about it, I'm posting a first draft of AHCI migration sup= port I recently pieced together. Some more pressing issues came up, including ide-cd being broken with AHCI, so that I have hardly tested this yet. The initial issue was that the ports were dynamically allocated in ich.c and I did not find prior art dealing with that in VMState. I therefore took the easy path of converting it to a statically-sized array, which is a bit wasteful of course. Better suggestions welcome. The second part then is a mostly mechanical addition of fields and struct= s to VMState, possibly still incomplete. Happy Holidays, Andreas Cc: Kevin Wolf Cc: Juan Quintela Cc: Alexander Graf Cc: Michael Tokarev Cc: Mark Langsdorf Andreas F=C3=A4rber (2): ahci: Refactor ports as a fixed-size array for VMState ahci: Add migration support for ICH9 hw/ide/ahci.c | 44 ++++++++++++++++++++++++++++++++++++++++++-- hw/ide/ahci.h | 12 +++++++++++- hw/ide/ich.c | 11 ++++++++--- 3 files changed, 61 insertions(+), 6 deletions(-) --=20 1.7.7