blob: 3dfcaeb5d7f4f14fa8705b2244495e4c3795ca3a [file] [log] [blame]
Christian Borntraegerdd135eb2008-04-02 13:04:40 -07001#ifndef __LINUX_KVM_S390_H
2#define __LINUX_KVM_S390_H
3
Heiko Carstensb0c632d2008-03-25 18:47:20 +01004/*
5 * asm-s390/kvm.h - KVM s390 specific structures and definitions
6 *
7 * Copyright IBM Corp. 2008
8 *
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.
12 *
13 * Author(s): Carsten Otte <cotte@de.ibm.com>
14 * Christian Borntraeger <borntraeger@de.ibm.com>
15 */
Heiko Carstens0680ba02009-01-09 12:14:52 +010016#include <linux/types.h>
Heiko Carstensb0c632d2008-03-25 18:47:20 +010017
Heiko Carstensb0c632d2008-03-25 18:47:20 +010018/* for KVM_GET_REGS and KVM_SET_REGS */
19struct kvm_regs {
20 /* general purpose regs for s390 */
21 __u64 gprs[16];
22};
23
24/* for KVM_GET_SREGS and KVM_SET_SREGS */
25struct kvm_sregs {
26 __u32 acrs[16];
27 __u64 crs[16];
28};
29
30/* for KVM_GET_FPU and KVM_SET_FPU */
31struct kvm_fpu {
32 __u32 fpc;
33 __u64 fprs[16];
34};
Christian Borntraegerdd135eb2008-04-02 13:04:40 -070035
Jan Kiszkad0bfb942008-12-15 13:52:10 +010036struct kvm_debug_exit_arch {
37};
38
39/* for KVM_SET_GUEST_DEBUG */
40struct kvm_guest_debug_arch {
41};
42
Christian Borntraegerdd135eb2008-04-02 13:04:40 -070043#endif