aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAnthony Liguori <anthony@codemonkey.ws>2013-09-23 11:52:49 -0500
committerAnthony Liguori <anthony@codemonkey.ws>2013-09-23 11:52:49 -0500
commit3e4be9c29784df09c364b52a55e826a0b05b950e (patch)
tree7e897ca9337076c2e32f8fdbb03a135b52129eb5 /exec.c
parentf3ca508f00fa1cc295334fe8f8010cd6ea45bacd (diff)
parentf010bc643a2759e87e989c3e4e85f15ec71ae98f (diff)
downloadqemu-3e4be9c29784df09c364b52a55e826a0b05b950e.zip
qemu-3e4be9c29784df09c364b52a55e826a0b05b950e.tar.gz
qemu-3e4be9c29784df09c364b52a55e826a0b05b950e.tar.bz2
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
# By Alexey Kardashevskiy (3) and others # Via Paolo Bonzini * qemu-kvm/uq/master: target-i386: add feature kvm_pv_unhalt linux-headers: update to 3.12-rc1 target-i386: forward CPUID cache leaves when -cpu host is used linux-headers: update to 3.11 kvm: fix traces to use %x instead of %d kvmvapic: Clear also physical ROM address when entering INACTIVE state kvmvapic: Enter inactive state on hardware reset kvmvapic: Catch invalid ROM size kvm irqfd: support direct msimessage to irq translation fix steal time MSR vmsd callback to proper opaque type kvm: warn if num cpus is greater than num recommended cpu: Move cpu state syncs up into cpu_dump_state() exec: always use MADV_DONTFORK Message-id: 1379694292-1601-1-git-send-email-pbonzini@redhat.com
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 2646912..8f5e7ab 100644
--- a/exec.c
+++ b/exec.c
@@ -1184,6 +1184,7 @@ ram_addr_t qemu_ram_alloc_from_ptr(ram_addr_t size, void *host,
qemu_ram_setup_dump(new_block->host, size);
qemu_madvise(new_block->host, size, QEMU_MADV_HUGEPAGE);
+ qemu_madvise(new_block->host, size, QEMU_MADV_DONTFORK);
if (kvm_enabled())
kvm_setup_guest_memory(new_block->host, size);