KVM: x86: only copy XSAVE state for the supported features
[firefly-linux-kernel-4.4.55.git] / arch / x86 / include / asm / kvm_host.h
index 35d10d1a6b58d5b703ac3aa1176e44438c6a1eb5..52110d0ceb13a0c76f4354376a0070294aeb2d9a 100644 (file)
@@ -390,6 +390,7 @@ struct kvm_vcpu_arch {
        struct fpu guest_fpu;
        u64 xcr0;
        u64 guest_supported_xcr0;
+       u32 guest_xstate_size;
 
        struct kvm_pio_request pio;
        void *pio_data;