Re: [PATCH] KVM: x86: do not save guest-unsupported XSAVE state

2017-02-04 Thread Radim Krčmář
2017-02-01 16:13-0800, Paolo Bonzini: > On 01/02/2017 05:19, Radim Krčmář wrote: >> 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 gues

Re: [PATCH] KVM: x86: do not save guest-unsupported XSAVE state

2017-02-01 Thread Paolo Bonzini
On 01/02/2017 05:19, Radim Krčmář wrote: > 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 > 4344ee981

[PATCH] KVM: x86: do not save guest-unsupported XSAVE state

2017-02-01 Thread Radim Krčmář
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 4344ee981e21 ("KVM: x86: only copy XSAVE state for the supported