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)
commitb83d4a9cfc81503a082331cc5d1e480d99f3a531
tree50e042408f2f7cc16b23b2c83462e8d8cc71d987
parent251585b5d02152973dbc24c803ca322bb977d4a2
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