summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-02-19 10:00:45 (GMT)
committerAvi Kivity <avi@redhat.com>2010-04-25 09:37:47 (GMT)
commitc10207fe86b1761c3ad135eb922fdb41bbde3025 (patch)
treece0ae22580dd0869b6a80a2523cf0d31f4f6fef4 /arch/powerpc/kvm
parent831317b605e7d7ce0bdadb3b0f50560fc13cecbf (diff)
downloadlinux-fsl-qoriq-c10207fe86b1761c3ad135eb922fdb41bbde3025.tar.xz
KVM: PPC: Add capability for paired singles
We need to tell userspace that we can emulate paired single instructions. So let's add a capability export. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r--arch/powerpc/kvm/powerpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c
index 1266ed0..ad2b627 100644
--- a/arch/powerpc/kvm/powerpc.c
+++ b/arch/powerpc/kvm/powerpc.c
@@ -148,6 +148,7 @@ int kvm_dev_ioctl_check_extension(long ext)
switch (ext) {
case KVM_CAP_PPC_SEGSTATE:
+ case KVM_CAP_PPC_PAIRED_SINGLES:
r = 1;
break;
case KVM_CAP_COALESCED_MMIO: