Re: [Qemu-devel] [RFC v2] ahci: Add support for migration

2012-08-25 Thread Alexander Graf
On 24.08.2012, at 09:28, Jason Baron wrote: > On Thu, Aug 09, 2012 at 10:49:23AM -0400, Jason Baron wrote: >> On Thu, Aug 09, 2012 at 02:59:54PM +0200, Andreas Färber wrote: >>> Define generic VMState for AHCI and reuse it together with PCI for ICH >>> and on its own for the SysBus version. >>>

Re: [Qemu-devel] [RFC v2] ahci: Add support for migration

2012-08-24 Thread Jason Baron
On Thu, Aug 09, 2012 at 10:49:23AM -0400, Jason Baron wrote: > On Thu, Aug 09, 2012 at 02:59:54PM +0200, Andreas Färber wrote: > > Define generic VMState for AHCI and reuse it together with PCI for ICH > > and on its own for the SysBus version. > > > > Note: ICH9 initializes AHCI with 6 ports, whi

Re: [Qemu-devel] [RFC v2] ahci: Add support for migration

2012-08-09 Thread Jason Baron
On Thu, Aug 09, 2012 at 02:59:54PM +0200, Andreas Färber wrote: > Define generic VMState for AHCI and reuse it together with PCI for ICH > and on its own for the SysBus version. > > Note: ICH9 initializes AHCI with 6 ports, which dynamically allocates > 6 AHCIDevice structs. Thus we change the por

[Qemu-devel] [RFC v2] ahci: Add support for migration

2012-08-09 Thread Andreas Färber
Define generic VMState for AHCI and reuse it together with PCI for ICH and on its own for the SysBus version. Note: ICH9 initializes AHCI with 6 ports, which dynamically allocates 6 AHCIDevice structs. Thus we change the ports field type to uint32_t for compatibility with VMState macros. Signed-o