virtme-ng v1.21 is out
This new version of virtme-ng includes some new enhancements focused at improving its integration in CI/CD environments, alongside with the usual set of miscellaneous fixes.
Most noticeable changes in this release:
- When running in script mode do not hang in case of kernel panic, but return the special error code 255 (this allows to automate catching kernel panics)
- Redirect kernel log to stderr on the host when running in interactive mode: this allows to easily save the kernel log to a file (or pipe it to another tool), simply by runing a
vng -vr 2>/tmp/kernel.log
vng --dump
can now generate a memory dump compatible with drgn- It is now possible to use virtiofsd with a btrfs root filesystem on the host (e.g., default openSUSE setup)
- It is not possible to to use the microvm architecture with kernels that don't have built-in virtio-pci / virtio-mmio (e.g., stock openSUSE Tumbleweed kernel)
== virtme-ng ChangeLog ==
Andrea Righi (21):
virtme-ng: redirect kernel log to stderr in interactive mode
Merge pull request #66 from arighi/kernel-log-stderr
virtme-ng: generate drgn compatible memory dumps
Merge pull request #67 from arighi/drgn-support
doc: replace the screenshot with a video in README.md
Merge pull request #68 from arighi/video-demo
virtme-init: always override sudoers
virtme-ng: deprecate --skip-config
Merge pull request #69 from arighi/fix-sudo
virtme-ng: fix sending kernel log to stderr in script mode
virtme-ng: return 255 on panic in script mode instead of hanging
Merge pull request #70 from arighi/detect-kernel-panic
doc: add "Additional resources" section to README.md
Merge pull request #71 from arighi/readme-additional-resources
virtme: properly detect rootfs when /lib is symlinked to /usr/lib
virtme: use --no-announce-submounts with virtiofsd
setup.py: always add site-packages to PYTHONPATH
virtme: always add modules required by microvm to the initramfs
Merge pull request #72 from arighi/tumbleweed-fixes
setup.py: automatically initialize virtme-ng-init submodule
virtme-ng v1.21
== virtme-ng-init ChangeLog ==
Andrea Righi (2):
virtme-ng-init: allow virtme-ng to specify a console device
virtme-ng-init: always override sudoers