diff options
-rw-r--r-- | include/asm-x86/kvm.h | 15 | ||||
-rw-r--r-- | include/linux/kvm.h | 17 |
2 files changed, 15 insertions, 17 deletions
diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h index 17afa81d6d66..7a71120426a3 100644 --- a/include/asm-x86/kvm.h +++ b/include/asm-x86/kvm.h | |||
@@ -114,6 +114,21 @@ struct kvm_sregs { | |||
114 | __u64 interrupt_bitmap[(KVM_NR_INTERRUPTS + 63) / 64]; | 114 | __u64 interrupt_bitmap[(KVM_NR_INTERRUPTS + 63) / 64]; |
115 | }; | 115 | }; |
116 | 116 | ||
117 | /* for KVM_GET_FPU and KVM_SET_FPU */ | ||
118 | struct kvm_fpu { | ||
119 | __u8 fpr[8][16]; | ||
120 | __u16 fcw; | ||
121 | __u16 fsw; | ||
122 | __u8 ftwx; /* in fxsave format */ | ||
123 | __u8 pad1; | ||
124 | __u16 last_opcode; | ||
125 | __u64 last_ip; | ||
126 | __u64 last_dp; | ||
127 | __u8 xmm[16][16]; | ||
128 | __u32 mxcsr; | ||
129 | __u32 pad2; | ||
130 | }; | ||
131 | |||
117 | struct kvm_msr_entry { | 132 | struct kvm_msr_entry { |
118 | __u32 index; | 133 | __u32 index; |
119 | __u32 reserved; | 134 | __u32 reserved; |
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index b27a381db5e8..4de4fd2d8607 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -142,23 +142,6 @@ struct kvm_run { | |||
142 | }; | 142 | }; |
143 | }; | 143 | }; |
144 | 144 | ||
145 | |||
146 | /* for KVM_GET_FPU and KVM_SET_FPU */ | ||
147 | struct kvm_fpu { | ||
148 | __u8 fpr[8][16]; | ||
149 | __u16 fcw; | ||
150 | __u16 fsw; | ||
151 | __u8 ftwx; /* in fxsave format */ | ||
152 | __u8 pad1; | ||
153 | __u16 last_opcode; | ||
154 | __u64 last_ip; | ||
155 | __u64 last_dp; | ||
156 | __u8 xmm[16][16]; | ||
157 | __u32 mxcsr; | ||
158 | __u32 pad2; | ||
159 | }; | ||
160 | |||
161 | |||
162 | /* for KVM_TRANSLATE */ | 145 | /* for KVM_TRANSLATE */ |
163 | struct kvm_translation { | 146 | struct kvm_translation { |
164 | /* in */ | 147 | /* in */ |