]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Enable native paired singles
authorAlexander Graf <agraf@suse.de>
Tue, 20 Apr 2010 00:49:54 +0000 (02:49 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:19:08 +0000 (12:19 +0300)
commitca87019fb4f1573866cd97c2b434ea77ea445cc1
tree50e042408f2f7cc16b23b2c83462e8d8cc71d987
parentaf79850266dd50faa5871a6efcf164c35e3888cf
KVM: PPC: Enable native paired singles

When we're on a paired single capable host, we can just always enable
paired singles and expose them to the guest directly.

This approach breaks when multiple VMs run and access PS concurrently,
but this should suffice until we get a proper framework for it in Linux.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_asm.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_emulate.c