]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Introduce KVM_VIRTIO_MMIO_AREA
authorAsias He <asias.hejun@gmail.com>
Sat, 7 Apr 2012 11:42:06 +0000 (19:42 +0800)
committerPekka Enberg <penberg@kernel.org>
Mon, 9 Apr 2012 08:34:47 +0000 (11:34 +0300)
This area is used for virtio-mmio.

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/x86/include/kvm/kvm-arch.h

index 31c0fb8b363de3cdb52f12f20368023d27fb2439..551c8b49cff5bbe3bb769d44e35295e1c4ae6f6c 100644 (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 */