summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-04-30 22:58:55 +0000
committerAlexander Graf <agraf@suse.de>2012-05-01 21:47:01 +0200
commitddf1ddcf65866e2dd8e5d515bc636617fb2e15ee (patch)
tree178c90ae449c3daa3e585e4a34b95a604b3ae66c /scripts/qapi-commands.py
parenta738816212614e63aca04e75a22c753644d15f4e (diff)
downloadfocaccia-qemu-ddf1ddcf65866e2dd8e5d515bc636617fb2e15ee.tar.gz
focaccia-qemu-ddf1ddcf65866e2dd8e5d515bc636617fb2e15ee.zip
linux-user: Fix invalid TARGET_ABI_BITS usage on ppc hosts
When trying to evaluate the size of the _host_ type size for olddev_t,
we need to expose the host's pointer size, not the guest pointer size.

This usage got introduced accidently in commit b754e4fc1.

Fix things by not using TARGET_.*, but rather use host sizeof()
information, which gives us the correct size.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions