Fix -mem-path with hugetlbfs
commit618a568da4eda5c2e41fc4e58059546806afff6b
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 3 May 2010 21:12:23 +0000 (3 18:12 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 11 May 2010 17:02:21 +0000 (11 14:02 -0300)
tree3614d97071e0cbfa97bcad2f5f25082e10fb93a8
parent54d7cf136f040713095cbc064f62d753bff6f9d2
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