Il dom 18 giu 2023, 23:51 Paolo Bonzini ha scritto:
> TCG supports both 32-bit and 64-bit SYSCALL, so expose it
> with "-cpu max" even for 32-bit emulators.
>
Nope, this is broken... My bad for assuming that glibc will use syscall if
available—that doesn't happen because the syscall instruction
On 6/18/23 23:51, Paolo Bonzini wrote:
TCG supports both 32-bit and 64-bit SYSCALL, so expose it
with "-cpu max" even for 32-bit emulators.
Signed-off-by: Paolo Bonzini
---
target/i386/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson
r~
TCG supports both 32-bit and 64-bit SYSCALL, so expose it
with "-cpu max" even for 32-bit emulators.
Signed-off-by: Paolo Bonzini
---
target/i386/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index fc4246223d4..be16c66341d 100