summary refs log tree commit diff stats
path: root/tests/functional/qemu_test/linuxkernel.py
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2024-08-14 03:54:24 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-17 12:30:21 +0200
commit7dddc3bb875e7141ab25931d0f30a1c319bc8457 (patch)
tree826d33f5bd031b1e5448c95025209a13b05ae6ff /tests/functional/qemu_test/linuxkernel.py
parent00c8a933d95add3ce4afebbe491ca0fa398a9007 (diff)
downloadfocaccia-qemu-7dddc3bb875e7141ab25931d0f30a1c319bc8457.tar.gz
focaccia-qemu-7dddc3bb875e7141ab25931d0f30a1c319bc8457.zip
target/i386: Enable fdp-excptn-only and zero-fcs-fds
- CPUID.(EAX=07H,ECX=0H):EBX[bit 6]: x87 FPU Data Pointer updated only
  on x87 exceptions if 1.

- CPUID.(EAX=07H,ECX=0H):EBX[bit 13]: Deprecates FPU CS and FPU DS
  values if 1. i.e., X87 FCS and FDS are always zero.

Define names for them so that they can be exposed to guest with -cpu host.

Also define the bit field MACROs so that named cpu models can add it as
well in the future.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20240814075431.339209-3-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions