virtme
virtme copied to clipboard
An easy way to virtualize the running system
1st fixes virtme-run --kdir
See https://www.qemu.org/docs/master/about/removed-features.html Implementation notes: - I wrote out this numeric parsing logic for the version check to avoid a big regex. Not sure if it's worth it, LMK if you...
Newer versions of Qemu dropped support for the '-watchdog' command line argument. Use '-device i6300esb -action watchdog=pause' instead.
Hi there, I've encountered some qemu-system compatibility issue: ``` ~/src/linux $ virtme-run --kimg arch/x86_64/boot/bzImage qemu-system-x86_64: -watchdog: invalid option ``` This generates ``` /usr/bin/qemu-system-x86_64 -fsdev local,id=virtfs1,path=/,security_model=none,readonly=on,multidevs=remap -device virtio-9p-pci,fsdev=virtfs1,mount_tag=/dev/root -fsdev local,id=virtfs5,path=/usr/local/lib/python3.10/dist-packages/virtme-0.1.1-py3.10.egg/virtme/guest,security_model=none,readonly=on,multidevs=remap -device...
``` # virtme-configkernel --arch=x86_64 --defconfig # make ARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- -j12 # virtme-run --kdir . Traceback (most recent call last): File "/usr/local/bin/virtme-run", line 33, in sys.exit(load_entry_point('virtme==0.1.1', 'console_scripts', 'virtme-run')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/virtme-0.1.1-py3.11.egg/virtme/commands/run.py",...
This is probably an upstream QEMU bug, but I think it'd be good to try and find a work around. The following command hangs indefinitely: ``` $ virtme-run --show-boot-console --kimg...
I'm quite sure virtme requires at least CONFIG_BLK_DEV_INITRD Needed for the initrd to work at all. Otherwise only non-initrd stuff works. (shell) CONFIG_INOTIFY_USER Needed for proper udev /dev/virtio-port mounting. Without...
Hi @amluto ! The number of unmerged PRs and the last commit's date indicates that the project is no longer maintained. Is there any plan to continue the maintenance or...
This allows the guest to have non-destructive (simulated) write access to parts of the host filesystem. Signed-off-by: Zev Weiss
The serial console and the sclpconsole conflict with this error on s390x: qemu-system-s390x: -device sclpconsole,chardev=console: Multiple VT220 operator consoles are not supported qemu-system-s390x: -device sclpconsole,chardev=console: SCLP event initialization failed. We...