]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ide/ich.c
ahci: split realize and init
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Fri, 6 Nov 2015 19:09:00 +0000 (14:09 -0500)
committerJohn Snow <jsnow@redhat.com>
Fri, 6 Nov 2015 19:09:00 +0000 (14:09 -0500)
commit0487eea48ecc6e525d6e626d94da54e203089a95
treef766c0ba1314a36b99ee0c1fa45fab84c61d09d9
parent802742670df73773c0dbaa251c63e4561cc794a1
ahci: split realize and init

Do the init level tasks asap and the realize later (mainly when
num_ports is available). This allows sub-class realize routines
to work with the device post-init.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1a7c7b2b32e5ccf49373a5065da5ece89730d3ac.1445917756.git.crosthwaite.peter@gmail.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/ahci.c
hw/ide/ahci.h
hw/ide/ich.c