summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-09-05 00:13:04 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-11 10:19:47 -0500
commitd03f09ccdee789168b5a26d2f4c5187717ec5605 (patch)
tree954f040927be8d2080ef0947fcefad4de2e2a207 /qemu-option.h
parentVirtIO: Fix QEMU crash during Windows PNP tests (diff)
downloadqemu-kvm-d03f09ccdee789168b5a26d2f4c5187717ec5605.tar.gz
qemu-kvm-d03f09ccdee789168b5a26d2f4c5187717ec5605.tar.bz2
qemu-kvm-d03f09ccdee789168b5a26d2f4c5187717ec5605.zip
qdev: Fix i6300 upcast
Use DO_UPCAST() instead of container_of() to go from PCIDevice to I6300State. This ensures that PCIDevice is the first member of struct I6300State. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-option.h')
0 files changed, 0 insertions, 0 deletions