KVM: VMX: Introduce KVM_SET_IDENTITY_MAP_ADDR ioctl
authorSheng Yang <sheng@linux.intel.com>
Tue, 21 Jul 2009 02:42:48 +0000 (10:42 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:16 +0000 (08:33 +0300)
commitb927a3cec081a605142f5b7e90b730611bee28b1
treeed7609e83e89c0830d568aa8304200cdb0c58736
parentb792c344dfd57ee2cf737440e4a9b4a5bc39d1db
KVM: VMX: Introduce KVM_SET_IDENTITY_MAP_ADDR ioctl

Now KVM allow guest to modify guest's physical address of EPT's identity mapping page.

(change from v1, discard unnecessary check, change ioctl to accept parameter
address rather than value)

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
include/linux/kvm.h