fork() has a WONTFIX bug where a page with an elevated reference count will
be COWed such that the page address changes even in the process which has
taken the reference.  This interacts badly with internal memory slots
that install pages in vmcs registers, such as the APIC access page.

This patchset disables fork() for these slots.

Avi Kivity (2):
  KVM: Keep slot ID in memory slot structure
  KVM: Prevent internal slots from being COWed

 arch/x86/kvm/x86.c       |    5 +++++
 include/linux/kvm_host.h |    1 +
 virt/kvm/kvm_main.c      |    1 +
 3 files changed, 7 insertions(+), 0 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to