blob: 61d29effa7c274381efb1191d93c252e7e424a09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
graphic: 0.561
device: 0.370
other: 0.346
instruction: 0.288
semantic: 0.234
mistranslation: 0.137
network: 0.087
boot: 0.066
vnc: 0.060
socket: 0.046
assembly: 0.019
KVM: 0.019
[8.0.0] Broken snapshot replay support on PowerPC
Description of problem:
QEMU 8.0.0 can no longer replay snapshots on PowerPC e500mc (Book-E) architecture. The issue is caused by https://gitlab.com/qemu-project/qemu/-/commit/c4b075318eb1e87de5fc942e6b987694a0e677e1, reverting this commit solves the issue.
Steps to reproduce:
1. Run bare metal example from the attachment with the first command-line to create snapshot.
2. Run bare metal example from the attachment with the second command-line to replay snapshot.
Additional information:
Any e500mc example would do really. I was unable to find a prebuilt Linux distribution, thus just wrote a minimal sample that prints hello world to UART: [ppc-e500.zip](/uploads/f9328c4b8355a92877d784661aa69fa4/ppc-e500.zip)
Log output:
```
% qemu-system-ppc -cpu e500mc -M ppce500 -m 128M -net none -icount 1,rr=record,rrfile=main.bin,rrsnapshot=init -drive file=empty.qcow2,if=none,id=rr -display none -kernel hello.elf -serial stdio
Hello world
qemu-system-ppc: terminating on signal 2 from pid 4505 (<unknown process>)
% qemu-system-ppc -cpu e500mc -M ppce500 -m 128M -net none -icount 1,rr=replay,rrfile=main.bin,rrsnapshot=init -drive file=empty.qcow2,if=none,id=rr -display none -kernel hello.elf -serial stdio
qemu-system-ppc: Missing random event in the replay log
```
|