summaryrefslogtreecommitdiffstats
path: root/results/classifier/118/unknown/2791
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
commitdee4dcba78baf712cab403d47d9db319ab7f95d6 (patch)
tree418478faf06786701a56268672f73d6b0b4eb239 /results/classifier/118/unknown/2791
parent4d9e26c0333abd39bdbd039dcdb30ed429c475ba (diff)
downloademulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.tar.gz
emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.zip
restructure results
Diffstat (limited to 'results/classifier/118/unknown/2791')
-rw-r--r--results/classifier/118/unknown/279193
1 files changed, 0 insertions, 93 deletions
diff --git a/results/classifier/118/unknown/2791 b/results/classifier/118/unknown/2791
deleted file mode 100644
index e92eb039..00000000
--- a/results/classifier/118/unknown/2791
+++ /dev/null
@@ -1,93 +0,0 @@
-user-level: 0.904
-debug: 0.904
-mistranslation: 0.891
-virtual: 0.890
-boot: 0.886
-register: 0.882
-device: 0.877
-semantic: 0.876
-peripherals: 0.871
-assembly: 0.866
-arm: 0.862
-x86: 0.859
-graphic: 0.857
-architecture: 0.853
-performance: 0.853
-permissions: 0.846
-kernel: 0.846
-PID: 0.832
-KVM: 0.830
-risc-v: 0.830
-VMM: 0.817
-vnc: 0.799
-i386: 0.794
-TCG: 0.794
-hypervisor: 0.790
-ppc: 0.789
-socket: 0.773
-files: 0.750
-network: 0.708
-
-"Missing character write event in the replay log" when trying rr=replay with snapshot
-Description of problem:
-Probably best to just illustrate with commands. Happy path:
-
-```sh
-rm replay.bin snapshots.qcow2; qemu-img create -f qcow2 snapshots.qcow2 256M
-
-~/src/qemu/build/qemu-system-x86_64 -nodefaults -nographic -serial stdio \
- -icount shift=auto,rr=record,rrfile=replay.bin,rrsnapshot=init \
- -drive file=snapshots.qcow2,if=none,id=rr \
- -kernel ./.kunit/arch/x86/boot/bzImage -append "nokaslr console=ttyS0"
-
-# It runs, guest kernel crashes when realising it has no rootfs, all good
-du -sh snapshots.qcow2 # 976K
-
-# Repeat same command just switched to rr=replay
-~/src/qemu/build/qemu-system-x86_64 -nodefaults -nographic -serial stdio \
- -icount shift=auto,rr=replay,rrfile=replay.bin,rrsnapshot=init \
- -drive file=snapshots.qcow2,if=none,id=rr \
- -kernel ./.kunit/arch/x86/boot/bzImage -append "nokaslr console=ttyS0"
-# Much slower, but same result. All good
-```
-
-But, I want to take a snapshot later in boot.
-
-```sh
-rm replay.bin snapshots.qcow2; qemu-img create -f qcow2 snapshots.qcow2 256M
-
-# This time, running with debug. Also have to switch to -monitor stdio because of
-# https://gitlab.com/qemu-project/qemu/-/issues/2790
-~/src/qemu/build/qemu-system-x86_64 -nodefaults -nographic -monitor stdio \
- -icount shift=auto,rr=record,rrfile=replay.bin,rrsnapshot=init \
- -drive file=snapshots.qcow2,if=none,id=rr \
- -kernel ./.kunit/arch/x86/boot/bzImage -append "nokaslr console=ttyS0" \
- -s -S
-
-# In another terminal, attach a debugger, set a breakpoint, continue to the breakpoint
-gdb -ex "target remote localhost:1234" .kunit/vmlinux
-(gdb) hb start_kernel
-(gdb) continue
-
-# When the breakpoint is hit, back in the first terminal:
-(qemu) savevm test
-(qemu) quit
-
-du -sh snapshots.qcow2 # 21M
-
-# Now try to replay again
-~/src/qemu/build/qemu-system-x86_64 -nodefaults -nographic -serial stdio \
- -icount shift=auto,rr=replay,rrfile=replay.bin,rrsnapshot=init \
- -drive file=snapshots.qcow2,if=none,id=rr \
- -kernel ./.kunit/arch/x86/boot/bzImage -append "nokaslr console=ttyS0"
-```
-
-Result:
-
-```
-qemu-system-x86_64: Missing character write event in the replay log (insn total 1598039/586 left, event 886 is EVENT_INSTRUCTION)
-fish: Job 1, '~/src/qemu/build/qemu-system-x8…' terminated by signal -icount shift=auto,rr=repla… ( -drive file=snapshots.qcow2…)
-fish: Job -kernel ./.kunit/arch/x86/b…, 'SIGABRT' terminated by signal Abort ()
-```
-
-Exit code is 134.