Re: [PATCH] target/i386: fix xsave.flat from kvm-unit-tests

2024-06-03 Thread Thomas Huth
On 03/06/2024 12.04, Paolo Bonzini wrote: xsave.flat checks that "executing the XSETBV instruction causes a general- protection fault (#GP) if ECX = 0 and EAX[2:1] has the value 10b". QEMU allows that option, so the test fails. Add the condition. Cc: qemu-sta...@nongnu.org Fixes: 892544317fe

[PATCH] target/i386: fix xsave.flat from kvm-unit-tests

2024-06-03 Thread Paolo Bonzini
xsave.flat checks that "executing the XSETBV instruction causes a general- protection fault (#GP) if ECX = 0 and EAX[2:1] has the value 10b". QEMU allows that option, so the test fails. Add the condition. Cc: qemu-sta...@nongnu.org Fixes: 892544317fe ("target/i386: implement XSAVE and XRSTOR of