summaryrefslogtreecommitdiffstats
path: root/linux-headers/asm-s390
diff options
context:
space:
mode:
authorAlexander Graf2012-01-20 14:41:12 +0100
committerAlexander Graf2012-02-02 02:47:42 +0100
commit1529ae1bc61a15e9a243dcbad70c95dfcdd1f0c5 (patch)
tree92e4d946da35ff705a79e6271905209b24e90065 /linux-headers/asm-s390
parentmain-loop: For tools, initialize timers as part of qemu_init_main_loop() (diff)
downloadqemu-1529ae1bc61a15e9a243dcbad70c95dfcdd1f0c5.tar.gz
qemu-1529ae1bc61a15e9a243dcbad70c95dfcdd1f0c5.tar.xz
qemu-1529ae1bc61a15e9a243dcbad70c95dfcdd1f0c5.zip
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 82b32a100c..9acbde4af2 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