aboutsummaryrefslogtreecommitdiffstats
path: root/hw/virtio.h
diff options
context:
space:
mode:
authorYoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>2010-08-18 15:41:49 +0900
committerAnthony Liguori <aliguori@us.ibm.com>2010-08-22 16:19:00 -0500
commit6977dfe6af975d72a8140dbc91effe8b8f2a58f8 (patch)
tree1705a04720bb2f8ffa700313babea13443a59ea6 /hw/virtio.h
parent9742bf26b1652eda6554bc2ebb11c515b89ec976 (diff)
exec: remove code duplication in qemu_ram_alloc() and qemu_ram_alloc_from_ptr()
Since most of the code in qemu_ram_alloc() and qemu_ram_alloc_from_ptr() are duplicated, let qemu_ram_alloc_from_ptr() to switch by checking void *host, and change qemu_ram_alloc() to a wrapper. Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio.h')
0 files changed, 0 insertions, 0 deletions