selftests: kvm: try getting XFD and XSAVE state out of sync

commit 0383a8edef upstream.

The host is allowed to set FPU state that includes a disabled
xstate component.  Check that this does not cause bad effects.

Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Paolo Bonzini 2025-12-31 16:47:26 +01:00 • committed by Greg Kroah-Hartman
commit 522a38f455