Christian Borntraeger | dd135eb | 2008-04-02 13:04:40 -0700 | [diff] [blame] | 1 | #ifndef __LINUX_KVM_S390_H |
| 2 | #define __LINUX_KVM_S390_H |
| 3 | |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 4 | /* |
| 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 Carstens | 0680ba0 | 2009-01-09 12:14:52 +0100 | [diff] [blame] | 16 | #include <linux/types.h> |
Heiko Carstens | b0c632d | 2008-03-25 18:47:20 +0100 | [diff] [blame] | 17 | |
| 18 | /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ |
| 19 | struct kvm_pic_state { |
| 20 | /* no PIC for s390 */ |
| 21 | }; |
| 22 | |
| 23 | struct kvm_ioapic_state { |
| 24 | /* no IOAPIC for s390 */ |
| 25 | }; |
| 26 | |
| 27 | /* for KVM_GET_REGS and KVM_SET_REGS */ |
| 28 | struct kvm_regs { |
| 29 | /* general purpose regs for s390 */ |
| 30 | __u64 gprs[16]; |
| 31 | }; |
| 32 | |
| 33 | /* for KVM_GET_SREGS and KVM_SET_SREGS */ |
| 34 | struct kvm_sregs { |
| 35 | __u32 acrs[16]; |
| 36 | __u64 crs[16]; |
| 37 | }; |
| 38 | |
| 39 | /* for KVM_GET_FPU and KVM_SET_FPU */ |
| 40 | struct kvm_fpu { |
| 41 | __u32 fpc; |
| 42 | __u64 fprs[16]; |
| 43 | }; |
Christian Borntraeger | dd135eb | 2008-04-02 13:04:40 -0700 | [diff] [blame] | 44 | |
Jan Kiszka | d0bfb94 | 2008-12-15 13:52:10 +0100 | [diff] [blame^] | 45 | struct kvm_debug_exit_arch { |
| 46 | }; |
| 47 | |
| 48 | /* for KVM_SET_GUEST_DEBUG */ |
| 49 | struct kvm_guest_debug_arch { |
| 50 | }; |
| 51 | |
Christian Borntraeger | dd135eb | 2008-04-02 13:04:40 -0700 | [diff] [blame] | 52 | #endif |