]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Define KVM_VIRTIO_MMIO_AREA for powerpc
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 4 Jul 2012 13:18:55 +0000 (23:18 +1000)
committerPekka Enberg <penberg@kernel.org>
Wed, 4 Jul 2012 14:12:20 +0000 (17:12 +0300)
commitaad96ed327975bb4aa84c2974079c747aba39306
tree5514d08977ac055f263eb8baf860a7c0b7017c89
parent5fffd63db1260fb56a3ed37cf2bbc5f901fcbad4
kvm tools: Define KVM_VIRTIO_MMIO_AREA for powerpc

Commit 82ea06e "Introduce KVM_VIRTIO_MMIO_AREA" did just that, but only
for x86. Causing the following commit 5c301a3 "Add virtio-mmio support"
to break the build for powerpc.

We follow what x86 did and place it 16MB past the PCI area, I have no
idea if that is actually a good idea, or whether it works at all.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/powerpc/include/kvm/kvm-arch.h