Fix -mem-path with hugetlbfs
commit77a025b105afa28bbde2b38ef61e4e795ec4dc14
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 3 May 2010 21:12:23 +0000 (3 18:12 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 5 May 2010 08:51:32 +0000 (5 11:51 +0300)
tree6819d1798bbad8658466acd1c28c7b295702086d
parent128a4dae948e5643d23e4904bffcfd8eb3028177
Fix -mem-path with hugetlbfs

Fallback to qemu_vmalloc in case file_ram_alloc fails.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
exec.c