KVM: Document KVM_SET_IDENTITY_MAP ioctl
authorAvi Kivity <avi@redhat.com>
Thu, 29 Apr 2010 09:08:56 +0000 (12:08 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:40 +0000 (10:35 +0300)
Signed-off-by: Avi Kivity <avi@redhat.com>
Documentation/kvm/api.txt

index a237518e51b971e9beafab8209e96ffeff7f8242..0f96e5223475c4736655a42766885e5cf0a64b55 100644 (file)
@@ -892,6 +892,24 @@ arguments.
 This ioctl is only useful after KVM_CREATE_IRQCHIP.  Without an in-kernel
 irqchip, the multiprocessing state must be maintained by userspace.
 
+4.39 KVM_SET_IDENTITY_MAP_ADDR
+
+Capability: KVM_CAP_SET_IDENTITY_MAP_ADDR
+Architectures: x86
+Type: vm ioctl
+Parameters: unsigned long identity (in)
+Returns: 0 on success, -1 on error
+
+This ioctl defines the physical address of a one-page region in the guest
+physical address space.  The region must be within the first 4GB of the
+guest physical address space and must not conflict with any memory slot
+or any mmio address.  The guest may malfunction if it accesses this memory
+region.
+
+This ioctl is required on Intel-based hosts.  This is needed on Intel hardware
+because of a quirk in the virtualization implementation (see the internals
+documentation when it pops into existence).
+
 5. The kvm_run structure
 
 Application code obtains a pointer to the kvm_run structure by
This page took 0.026115 seconds and 5 git commands to generate.