KVM: Allocate guest memory as MAP_PRIVATE, not MAP_SHARED
authorAvi Kivity <avi@qumranet.com>
Tue, 26 Aug 2008 14:22:47 +0000 (17:22 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:23 +0000 (10:15 +0200)
commitacee3c04e8208c17aad1baff99baa68d71640a19
tree2dd9ef2697686319ae0b92f1ffe674530493709b
parentabb9e0b8e33e58ac8e04e03b680c46435bc312fd
KVM: Allocate guest memory as MAP_PRIVATE, not MAP_SHARED

There is no reason to share internal memory slots with fork()ed instances.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c