qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/2] ahci: Make ich9-ahci migratable
@ 2011-12-23 14:55 Andreas Färber
  2011-12-23 14:55 ` [Qemu-devel] [RFC 1/2] ahci: Refactor ports as a fixed-size array for VMState Andreas Färber
  2011-12-23 14:55 ` [Qemu-devel] [RFC 2/2] ahci: Add migration support for ICH9 Andreas Färber
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Färber @ 2011-12-23 14:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, Mark Langsdorf, Juan Quintela, mjt, Alexander Graf,
	brogers, Andreas Färber

Hello,

Since mjt asked about it, I'm posting a first draft of AHCI migration support
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 structs
to VMState, possibly still incomplete.

Happy Holidays,

Andreas

Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Juan Quintela <quintela@redhat.com>

Cc: Alexander Graf <agraf@suse.de>
Cc: Michael Tokarev <mjt@tls.msk.ru>
Cc: Mark Langsdorf <mark.langsdorf@calxeda.com>

Andreas Färber (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(-)

-- 
1.7.7

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-23 14:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-23 14:55 [Qemu-devel] [RFC 0/2] ahci: Make ich9-ahci migratable Andreas Färber
2011-12-23 14:55 ` [Qemu-devel] [RFC 1/2] ahci: Refactor ports as a fixed-size array for VMState Andreas Färber
2011-12-23 14:55 ` [Qemu-devel] [RFC 2/2] ahci: Add migration support for ICH9 Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).