Coalesce memory allocation
commit54f123ac578e510f292ef321088acc78d4f64198
authorGlauber Costa <glommer@redhat.com>
Wed, 10 Sep 2008 19:20:57 +0000 (10 16:20 -0300)
committerAvi Kivity <avi@qumranet.com>
Thu, 11 Sep 2008 08:54:59 +0000 (11 11:54 +0300)
tree20e834a9113b2da26307ed2e9368c64c94341447
parent3543f1b9b602cf248c51668441929651bd5c46f2
Coalesce memory allocation

Put all memory allocation under qemu_alloc_physram().
Protect the mem_area code with #ifdef USE_KVM. Although it
is not really needed, it help us keep track of the fact that
this is a kvm-only feature to the moment.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
vl.c