Full support for Ginger Console
[linux-ginger.git] / arch / s390 / include / asm / kvm.h
blob3dfcaeb5d7f4f14fa8705b2244495e4c3795ca3a
1 #ifndef __LINUX_KVM_S390_H
2 #define __LINUX_KVM_S390_H
4 /*
5 * asm-s390/kvm.h - KVM s390 specific structures and definitions
7 * Copyright IBM Corp. 2008
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License (version 2 only)
11 * as published by the Free Software Foundation.
13 * Author(s): Carsten Otte <cotte@de.ibm.com>
14 * Christian Borntraeger <borntraeger@de.ibm.com>
16 #include <linux/types.h>
18 /* for KVM_GET_REGS and KVM_SET_REGS */
19 struct kvm_regs {
20 /* general purpose regs for s390 */
21 __u64 gprs[16];
24 /* for KVM_GET_SREGS and KVM_SET_SREGS */
25 struct kvm_sregs {
26 __u32 acrs[16];
27 __u64 crs[16];
30 /* for KVM_GET_FPU and KVM_SET_FPU */
31 struct kvm_fpu {
32 __u32 fpc;
33 __u64 fprs[16];
36 struct kvm_debug_exit_arch {
39 /* for KVM_SET_GUEST_DEBUG */
40 struct kvm_guest_debug_arch {
43 #endif