diff options
-rw-r--r-- | include/asm-x86/kvm.h | 10 | ||||
-rw-r--r-- | include/linux/kvm.h | 9 |
2 files changed, 10 insertions, 9 deletions
diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h index 80752bccc756..c83a2ff35bf1 100644 --- a/include/asm-x86/kvm.h +++ b/include/asm-x86/kvm.h | |||
@@ -66,4 +66,14 @@ struct kvm_ioapic_state { | |||
66 | #define KVM_IRQCHIP_PIC_SLAVE 1 | 66 | #define KVM_IRQCHIP_PIC_SLAVE 1 |
67 | #define KVM_IRQCHIP_IOAPIC 2 | 67 | #define KVM_IRQCHIP_IOAPIC 2 |
68 | 68 | ||
69 | /* for KVM_GET_REGS and KVM_SET_REGS */ | ||
70 | struct kvm_regs { | ||
71 | /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */ | ||
72 | __u64 rax, rbx, rcx, rdx; | ||
73 | __u64 rsi, rdi, rsp, rbp; | ||
74 | __u64 r8, r9, r10, r11; | ||
75 | __u64 r12, r13, r14, r15; | ||
76 | __u64 rip, rflags; | ||
77 | }; | ||
78 | |||
69 | #endif | 79 | #endif |
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 1779c3d3bdc9..0d83efc9462e 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -134,15 +134,6 @@ struct kvm_run { | |||
134 | }; | 134 | }; |
135 | }; | 135 | }; |
136 | 136 | ||
137 | /* for KVM_GET_REGS and KVM_SET_REGS */ | ||
138 | struct kvm_regs { | ||
139 | /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */ | ||
140 | __u64 rax, rbx, rcx, rdx; | ||
141 | __u64 rsi, rdi, rsp, rbp; | ||
142 | __u64 r8, r9, r10, r11; | ||
143 | __u64 r12, r13, r14, r15; | ||
144 | __u64 rip, rflags; | ||
145 | }; | ||
146 | 137 | ||
147 | /* for KVM_GET_FPU and KVM_SET_FPU */ | 138 | /* for KVM_GET_FPU and KVM_SET_FPU */ |
148 | struct kvm_fpu { | 139 | struct kvm_fpu { |