aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-06-21 01:17:28 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-06-29 10:49:43 +0200
commitd903259dd2dbe40e007db1724dd072c5e210b3f4 (patch)
tree156e1ba78926e87dba5048b00a48462ce3c41ddf /linux-user/syscall.c
parent9fb4f5f5a1fd7619e221fd5068003c5b491b2bf0 (diff)
target/i386: ignore CPL0-specific features in user mode emulation
Features such as PCID are only accessible through privileged operations, and therefore have no impact on any user-mode operation. Allow reporting them to programs running under user mode emulation, so that "-cpu" can be used with more named CPU models. XSAVES would be similar, but it doesn't make sense to provide it until XSAVEC is implemented. With this change, all CPUs up to Broadwell-v4 can be emulate. Skylake-Client requires XSAVEC, while EPYC also requires SHA-NI, MISALIGNSSE and TOPOEXT. MISALIGNSSE is not hard to implement, but I am not sure it is worth using a precious hflags bit for it. Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1534 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions