summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-02-19 11:00:45 +0100
committerAvi Kivity <avi@redhat.com>2010-04-25 11:37:47 +0200
commitc10207fe86b1761c3ad135eb922fdb41bbde3025 (patch)
treece0ae22580dd0869b6a80a2523cf0d31f4f6fef4 /include
parentKVM: PPC: Implement Paired Single emulation (diff)
downloadlinux-c10207fe86b1761c3ad135eb922fdb41bbde3025.tar.xz
linux-c10207fe86b1761c3ad135eb922fdb41bbde3025.zip
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 'include')
-rw-r--r--include/linux/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 60df9c84ecae..360f85e8c435 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -501,6 +501,7 @@ struct kvm_ioeventfd {
#define KVM_CAP_HYPERV_VAPIC 45
#define KVM_CAP_HYPERV_SPIN 46
#define KVM_CAP_PCI_SEGMENT 47
+#define KVM_CAP_PPC_PAIRED_SINGLES 48
#define KVM_CAP_X86_ROBUST_SINGLESTEP 51
#ifdef KVM_CAP_IRQ_ROUTING