qemu-system-i386: icount 재생 스냅샷을 로드할 수 없습니다.

qemu-system-i386: icount 재생 스냅샷을 로드할 수 없습니다.

QEMU를 사용하여 실행을 기록/재생하고 싶습니다. 그러나 재생은 설명된 대로 작동하지 않습니다.수동:

$ qemu-system-i386 \
-icount shift=auto,rr=record,rrfile=record.bin,rrsnapshot=snap1 \
-drive file=boot.qcow2,if=none,snapshot=on,id=img-direct \
-drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \
-device ide-hd,drive=img-blkreplay \
-net none
$ qemu-system-i386 \
-icount shift=auto,rr=replay,rrfile=record.bin,rrsnapshot=snap1 \
-drive file=boot.qcow2,if=none,snapshot=on,id=img-direct \
-drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \
-device ide-hd,drive=img-blkreplay \
-net none
qemu-system-i386: Snapshot 'snap1' does not exist in one or more devices
qemu-system-i386: Could not load snapshot for icount replay

내가 만든 스냅샷을 사용해 도 찾을 수 없습니다 savevm xyz.

재생을 어떻게 시작하나요?

QEMU 버전: 7.0.0

답변1

rrsnapshot을 추가했는데 "snap1"이 존재하지 않는다고 올바르게 보고하므로 이 예는 매뉴얼에서 직접 가져온 것이 아닙니다. 스냅샷은 재생 모드에서 "savevm" 명령을 사용하여 HMP/QMP를 통해 수동으로 생성되며 지정된 실행 상태로 다시 이동하는 데 사용할 수 있습니다.

관련 정보