From: "Alex Bennée" <alex.bennee@linaro.org>
To: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Cc: qemu-devel@nongnu.org
Subject: Help with record/replay
Date: Thu, 06 May 2021 07:50:41 +0100 [thread overview]
Message-ID: <87czu4nyht.fsf@linaro.org> (raw)
Hi Pavel,
I'm trying to get reverse debugging working to look at a Xen problem and
I'm confused about what is going wrong. I've converted by normal setup
which uses a ZFS block device to qcow2 so I have a place for the
snapshots:
./qemu-system-aarch64 -machine virt,virtualization=on -cpu cortex-a57 \
-serial mon:stdio -netdev user,id=net1,hostfwd=tcp::2222-:22 \
-device virtio-net-pci,netdev=net1 \
-device virtio-scsi-pci \
-drive file=debian-buster-arm64.qcow2,id=hd0,index=0,if=none,snapshot=on \
-device scsi-hd,drive=hd0 \
-display none -m 8192 \
-kernel ~/lsrc/xen/xen.build.arm64-xen/xen/xen \
-append "dom0_mem=2G,max:2G dom0_max_vcpus=4" \
-device guest-loader,addr=0x47000000,kernel=$HOME/lsrc/linux.git/builds/arm64/arch/arm64/boot/Image,bootargs="root=/dev/sda2
console=hvc0 earlyprintk=xen" \
-icount shift=5,rr=record,rrfile=xencrash.bin,rrsnapshot=init \
-object filter-replay,id=replay,netdev=net1
but when I try to replay I get:
qemu-system-aarch64: Snapshot 'init' does not exist in one or more devices
qemu-system-aarch64: Could not load snapshot for icount replay
So do I need another qcow device just for snapshots?
--
Alex Bennée
reply other threads:[~2021-05-06 6:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czu4nyht.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=pavel.dovgalyuk@ispras.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.