kvm: qemu: make --mem-path memory allocation depend on mmu notifiers
commit39bf9201b4c1fc80816b1d46c824d2559dd5f90c
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 13 Jan 2009 20:36:17 +0000 (13 18:36 -0200)
committerAvi Kivity <avi@redhat.com>
Mon, 19 Jan 2009 10:03:55 +0000 (19 12:03 +0200)
treefb8a78d6dc51cc6efa979a64e522e9252375c43b
parent30479349eae863705fbc9fb7d2542e64e3101bc7
kvm: qemu: make --mem-path memory allocation depend on mmu notifiers

Without mmu notifiers usage of hugepages to back guest memory can cause
memory corruption.

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