summaryrefslogtreecommitdiffstats
path: root/version.rc
diff options
context:
space:
mode:
authorRob Herring2014-03-18 20:36:13 +0100
committerPeter Maydell2014-03-18 20:36:13 +0100
commitbd16430777cc3d25930e479fdbe290d92cec0888 (patch)
tree2225312457fded6f2ae78fc0d9949495a716b963 /version.rc
parentMerge remote-tracking branch 'remotes/kraxel/tags/pull-vnc-2' into staging (diff)
downloadqemu-bd16430777cc3d25930e479fdbe290d92cec0888.tar.gz
qemu-bd16430777cc3d25930e479fdbe290d92cec0888.tar.xz
qemu-bd16430777cc3d25930e479fdbe290d92cec0888.zip
ahci: fix sysbus support
Non-PCI AHCI support is broken due to assertion failures when trying to convert AHCIState to a PCIDevice pointer as AHCIState can have different container structs. Fix this by using the non-asserting object cast and checking the returned pointer is not NULL. The AddressSpace pointer is also being initialized to NULL and causing dma_memory_map call to fail. Fix this by initializing to address_space_memory for sysbus instances. Also correct AHCI_VMSTATE to use the correct container SysbusAHCIState for sysbus instances. Signed-off-by: Rob Herring <rob.herring@linaro.org> Message-id: 1392073373-3295-1-git-send-email-robherring2@gmail.com [PMM: added linebreaks to fix overlong lines] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'version.rc')
0 files changed, 0 insertions, 0 deletions