rr does not support KVM
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
The command I ran is like this:
rr record qemu-system-x86_64 -kernel /boot/vmlinuz-`uname -r` \
-nographic \
-enable-kvm \
-drive 'format=raw,file=qemu-image.img' \
-append "root=/dev/sda rw console=ttyS0"
Running it immediately fails and gives the following (full) output:
https://gist.github.com/agentzh/e543dd7ff46697fc860411a4e54757ee
If I remove the -enable-kvm option from the command above, then I can successfully record the whole kernel booting and shutdown process and the replay also works beautifully as well.
Is it possible for rr to have support for the KVM API based on ioctl? Many thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the shown rr record command with and without -enable-kvm, then inspect the linked gist output and the KVM API/ioctl behavior. The payload names no repository files or tests, so locating the relevant recording entry point is part of the investigation; done means the command can be recorded and replayed with KVM enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100