diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-03 12:01:12 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-05 11:01:05 +0200 |
commit | 7604bbc2d87d153e65e38cf2d671a5a9a35917b1 (patch) | |
tree | 0101df8b930bc7694cd8430fbbd86b2c6f063468 /hw/misc/pvpanic-pci.c | |
parent | f2c04bede384608a1ab4f66865dd0e2a433ed94c (diff) | |
download | qemu-7604bbc2d87d153e65e38cf2d671a5a9a35917b1.zip qemu-7604bbc2d87d153e65e38cf2d671a5a9a35917b1.tar.gz qemu-7604bbc2d87d153e65e38cf2d671a5a9a35917b1.tar.bz2 |
target/i386: fix xsave.flat from kvm-unit-tests
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-stable@nongnu.org
Fixes: 892544317fe ("target/i386: implement XSAVE and XRSTOR of AVX registers", 2022-10-18)
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/pvpanic-pci.c')
0 files changed, 0 insertions, 0 deletions