aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-04-29 05:08:56 -0400
committerAvi Kivity <avi@redhat.com>2010-08-01 03:35:40 -0400
commit47dbb84f9e04e3261585da384d96b8c63f3376e3 (patch)
treec9373e8c202e7d3365e0708170d489b95626b060 /Documentation/kvm
parent54a4f0239f2e98bc0842818f611a4cf73bb7dd35 (diff)
KVM: Document KVM_SET_IDENTITY_MAP ioctl
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'Documentation/kvm')
-rw-r--r--Documentation/kvm/api.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt
index a237518e51b9..0f96e5223475 100644
--- a/Documentation/kvm/api.txt
+++ b/Documentation/kvm/api.txt
@@ -892,6 +892,24 @@ arguments.
892This ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel 892This ioctl is only useful after KVM_CREATE_IRQCHIP. Without an in-kernel
893irqchip, the multiprocessing state must be maintained by userspace. 893irqchip, the multiprocessing state must be maintained by userspace.
894 894
8954.39 KVM_SET_IDENTITY_MAP_ADDR
896
897Capability: KVM_CAP_SET_IDENTITY_MAP_ADDR
898Architectures: x86
899Type: vm ioctl
900Parameters: unsigned long identity (in)
901Returns: 0 on success, -1 on error
902
903This ioctl defines the physical address of a one-page region in the guest
904physical address space. The region must be within the first 4GB of the
905guest physical address space and must not conflict with any memory slot
906or any mmio address. The guest may malfunction if it accesses this memory
907region.
908
909This ioctl is required on Intel-based hosts. This is needed on Intel hardware
910because of a quirk in the virtualization implementation (see the internals
911documentation when it pops into existence).
912
8955. The kvm_run structure 9135. The kvm_run structure
896 914
897Application code obtains a pointer to the kvm_run structure by 915Application code obtains a pointer to the kvm_run structure by