aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-10-02 10:06:16 -0400
committerGleb Natapov <gleb@redhat.com>2013-10-03 05:29:09 -0400
commit4344ee981e21990f8ea14d3c9e3890b9b7b06279 (patch)
tree745e9fc25021336e11188d010589ce0a56d7b3d9 /arch/x86/include/asm/kvm_host.h
parentd7876f1be40a16223a44355740de625849504eb5 (diff)
KVM: x86: only copy XSAVE state for the supported features
This makes the interface more deterministic for userspace, which can expect (after configuring only the features it supports) to get exactly the same state from the kernel, independent of the host CPU and kernel version. Suggested-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 35d10d1a6b58..52110d0ceb13 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -390,6 +390,7 @@ struct kvm_vcpu_arch {
390 struct fpu guest_fpu; 390 struct fpu guest_fpu;
391 u64 xcr0; 391 u64 xcr0;
392 u64 guest_supported_xcr0; 392 u64 guest_supported_xcr0;
393 u32 guest_xstate_size;
393 394
394 struct kvm_pio_request pio; 395 struct kvm_pio_request pio;
395 void *pio_data; 396 void *pio_data;