summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-01-07 15:05:10 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-01-08 19:04:36 +0100
commit2860c4b1678646c99f5f1d77d026cd12ffd8a3a9 (patch)
treeb601cc2cb882019c710eca8f90acb52f91144417 /arch/s390/include/asm/kvm_host.h
parent6662ba347b29b6df0756ffedb167fa4d89bab06f (diff)
downloadlinux-stable-2860c4b1678646c99f5f1d77d026cd12ffd8a3a9.tar.gz
linux-stable-2860c4b1678646c99f5f1d77d026cd12ffd8a3a9.tar.bz2
linux-stable-2860c4b1678646c99f5f1d77d026cd12ffd8a3a9.zip
KVM: move architecture-dependent requests to arch/
Since the numbers now overlap, it makes sense to enumerate them in asm/kvm_host.h rather than linux/kvm_host.h. Functions that refer to architecture-specific requests are also moved to arch/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/s390/include/asm/kvm_host.h')
-rw-r--r--arch/s390/include/asm/kvm_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index df0acff5d699..6742414dbd6f 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -39,6 +39,10 @@
#define KVM_IRQCHIP_NUM_PINS 4096
#define KVM_HALT_POLL_NS_DEFAULT 0
+/* s390-specific vcpu->requests bit members */
+#define KVM_REQ_ENABLE_IBS 8
+#define KVM_REQ_DISABLE_IBS 9
+
#define SIGP_CTRL_C 0x80
#define SIGP_CTRL_SCN_MASK 0x3f