aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>2008-01-08 02:04:50 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 11:01:22 -0500
commit6f723c7911e7827091586ae63f4040874eeb75e5 (patch)
treefd048c1c6cfd47131fc03e97a55520562d1f152b /include/linux/kvm.h
parent571008daccc17c03ccec810922c2bcaed86b15c1 (diff)
KVM: Portability: Move kvm_fpu to asm-x86/kvm.h
This patch moves kvm_fpu asm-x86/kvm.h to allow every architecture to define an own representation used for KVM_GET_FPU/KVM_SET_FPU. Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> Acked-by: Carsten Otte <cotte@de.ibm.com> Acked-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h17
1 files changed, 0 insertions, 17 deletions
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 */
147struct 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 */
163struct kvm_translation { 146struct kvm_translation {
164 /* in */ 147 /* in */