aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/asm-s390
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-01-20 14:41:12 +0100
committerAlexander Graf <agraf@suse.de>2012-02-02 02:47:42 +0100
commit1529ae1bc61a15e9a243dcbad70c95dfcdd1f0c5 (patch)
tree92e4d946da35ff705a79e6271905209b24e90065 /linux-headers/asm-s390
parentd34e8f6e9d3a396c3327aa9807c83f9e1f4a7bd7 (diff)
downloadqemu-1529ae1bc61a15e9a243dcbad70c95dfcdd1f0c5.zip
qemu-1529ae1bc61a15e9a243dcbad70c95dfcdd1f0c5.tar.gz
qemu-1529ae1bc61a15e9a243dcbad70c95dfcdd1f0c5.tar.bz2
KVM: Update headers (except HIOR mess)
This patch is basically what ./scripts/update-linux-headers.sh against upstream KVM's next branch outputs except that all the HIOR bits are removed. These we have to update with the code that uses them. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'linux-headers/asm-s390')
-rw-r--r--linux-headers/asm-s390/kvm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux-headers/asm-s390/kvm.h b/linux-headers/asm-s390/kvm.h
index 82b32a1..9acbde4 100644
--- a/linux-headers/asm-s390/kvm.h
+++ b/linux-headers/asm-s390/kvm.h
@@ -41,4 +41,13 @@ struct kvm_debug_exit_arch {
struct kvm_guest_debug_arch {
};
+#define KVM_SYNC_PREFIX (1UL << 0)
+#define KVM_SYNC_GPRS (1UL << 1)
+#define KVM_SYNC_ACRS (1UL << 2)
+/* definition of registers in kvm_run */
+struct kvm_sync_regs {
+ __u64 prefix; /* prefix register */
+ __u64 gprs[16]; /* general purpose registers */
+ __u32 acrs[16]; /* access registers */
+};
#endif