summaryrefslogtreecommitdiff
path: root/hw/virtio-pci.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2010-07-30 21:09:10 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-07-30 21:09:10 +0200
commit18e9ea8a3f36b0a3845e1ac6d8acd180063bed8f (patch)
tree12c3184c133ef04baee6682eebb3f99fec130081 /hw/virtio-pci.c
parent5d5c99300d91d67c3f70058d2431a633028e3a9e (diff)
linux-user: fix build on hosts not using guest base
Commit 68a1c816868b3e35a1da698af412b29e61b1948a broke qemu on hosts not using guest base. It uses reserved_va unconditionally in mmap.c. To avoid to many #ifdef #endif blocks, define RESERVED_VA as either reserved_va or 0ul, and use it instead of reserved_va, similarly to what has been done with guest_base/GUEST_BASE.
Diffstat (limited to 'hw/virtio-pci.c')
0 files changed, 0 insertions, 0 deletions