kvm tools: Introduce KVM_VIRTIO_MMIO_AREA

This area is used for virtio-mmio.

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Asias He
2015-06-01 16:39:51 +01:00
committed by Will Deacon
parent 9594e883b5
commit 2b86c276b0
+1
View File
@@ -21,6 +21,7 @@
* from. Note that this is a PCI bus address (though same on x86).
*/
#define KVM_PCI_MMIO_AREA (KVM_MMIO_START + 0x1000000)
#define KVM_VIRTIO_MMIO_AREA (KVM_MMIO_START + 0x2000000)
struct kvm {
int sys_fd; /* For system ioctls(), i.e. /dev/kvm */