diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
| commit | 3e4c5a6261770bced301b5e74233e7866166ea5b (patch) | |
| tree | 9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_i386/host_missing/accel_missing/837 | |
| parent | e5634e2806195bee44407853c4bf8776f7abfa4f (diff) | |
| download | qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip | |
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_i386/host_missing/accel_missing/837')
| -rw-r--r-- | gitlab/issues_text/target_i386/host_missing/accel_missing/837 | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gitlab/issues_text/target_i386/host_missing/accel_missing/837 b/gitlab/issues_text/target_i386/host_missing/accel_missing/837 deleted file mode 100644 index b24126957..000000000 --- a/gitlab/issues_text/target_i386/host_missing/accel_missing/837 +++ /dev/null @@ -1,30 +0,0 @@ -x86 user: icebp/int1 raises wrong signal -Description of problem: -This is a relatively minor inaccuracy. When `icebp` (`F1`) is executed, it raises `SIGILL` in QEMU, where the behavior on baremetal Linux (on an old Intel Core i5-430m) is to raise `SIGTRAP`. - -Specifically, on the architectural level, `icebp` raises `#DB` without affecting `dr6`. - -This also happens on an AArch64 host. -``` -$ ./icebp -Trace/breakpoint trap -$ qemu-x86_64 ./icebp -qemu: uncaught target signal 4 (Illegal instruction) - core dumped -Illegal instruction -``` -Steps to reproduce: -1. Compile this file using `gcc -nostdlib -static icebp.S -o icebp`, optionally with `-m32` to test i386 -``` - .globl _start -_start: - .byte 0xF1 // gas doesn't assemble this instruction opcode but it disassembles it -#ifdef __x86_64__ - mov $60, %eax - syscall -#else - mov $1, %eax - int $0x80 -#endif -``` -2. Run on baremetal. Notice how it raises `SIGTRAP` according to the shell job control message -3. Run on qemu-user. Notice how it raises `SIGILL`. |