]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: kvm: try getting XFD and XSAVE state out of sync
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 31 Dec 2025 15:47:26 +0000 (16:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 10 Jan 2026 06:17:30 +0000 (07:17 +0100)
commit0383a8edef396cf0a6884b0be81d62bde60737b0
treef6f6342e8369712a681edaa0ff7cf81b7b410aa1
parenta1025dcd377ef92d9a09af03b70ce80be281ee22
selftests: kvm: try getting XFD and XSAVE state out of sync

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>
tools/testing/selftests/kvm/x86/amx_test.c