diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-09-05 00:13:04 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-11 10:19:47 -0500 |
commit | d03f09ccdee789168b5a26d2f4c5187717ec5605 (patch) | |
tree | 954f040927be8d2080ef0947fcefad4de2e2a207 /qemu-option.c | |
parent | ed757e140c0ada220f213036e4497315d24ca8bc (diff) |
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.c')
0 files changed, 0 insertions, 0 deletions