Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: x86: do not save guest-unsupported XSAVE state
Saving unsupported state prevents migration when the new host does not support a XSAVE feature of the original host, even if the feature is not exposed to the guest. We've masked host features with guest-visible features before, with 4344ee9 ("KVM: x86: only copy XSAVE state for the supported features") and dropped it when implementing XSAVES. Do it again. Fixes: df1daba ("KVM: x86: support XSAVES usage in the host") Cc: [email protected] Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
- Loading branch information