KVM/libvirt error with ubuntu cloud image when secureboot enabled #uefi #virtualization #secureboot #cloudinit #libvirt
Two interesting projects I'm keeping an eye on:
Karton - A Virtual Machine manager being worked on for #gsoc by @kenoi
Kretro - A new #libretro frontend by @seshpenguin
Using OpenTofu/Terraform to create a disposable Tails virtual machine
https://stafwag.github.io/blog/blog/2025/06/22/using-opentofu-to-create-tails-environment/
What solutions do Wayland users use for passing keybindings (ex: Alt-Tab) through to a VM being viewed with virt-viewer
or remote-viewer
in a Wayland WM? X11 had some kind of special hint to tell the WM to pass all keybindings through to the VM's viewer window. Do you just temporarily disable keybindings while viewing a VM? Is it possible to run virt-viewer
or remote-viewer
in a separate instance of Wayland/wlroots that only displays that windows and passes all keyboard input to it (e.g. the Wayland equivalent of xinit virt-viewer ... -- :1
)?
I wonder if it's possible to do "video passthru" (not to be confused with GPU passthru) with libvirt/qemu? Is it possible to send all video data from qemu to an unallocated TTY or possibly an empty X/Wayland session and switch to it using Ctrl+Alt+F8+?
Decided to switch back to QXL+Spice, but with Spice Listen Type = None, and with CPU pinning, and directly sending audio to pipewire. Seems to have fixed the slow 2d graphics, while maintaining smooth video playback, and eliminated any random intermittent freezes that would crash the viewer.
I enabled OpenGL acceleration under VirtIO and video playback is smooth, but now other 2d things have suddenly become very slow, such as switching between windows and closing large windows. Is this a known problem? Or do I need a faster GPU or CPU?
Also wtf, why are Virtio Graphics so much slower than QXL Graphics? I was under the impression that Virtio was supposed to have lower overhead.
So I have been playing with the WriteFreely blog system. To check out if this would work for the use case I was asked about.
I built a vagrant-libvirt setup (using the usual vagrant/libvirt/Ansible approach) as well as a package for openSUSE. The setup uses my package on Leap and Tumbleweed or the upstream binary on a third branch. Another branch will set this up behind a Nginx reverse proxy.
I'll give the package a decent spin and then send it to a devel project to get it into Tumbleweed.
Here you are, have a lot of fun...
https://codeberg.org/johanneskastl/writefreely_vagrant_libvirt_ansible
https://github.com/johanneskastl/writefreely_vagrant_libvirt_ansible
These 200G #Broadcom NICs have harmed my sanity.
Hey @fedora,
are there any plans to release the #Vagrant box for #Fedora42 to app.vagrantup.com?
There is already a box available on the Fedora server, but without metadata (which makes updates hard...).
(I know Vagrant is no longer used widely and Hashicorp messed up with the whole licensing trouble, but having an existing box available easiy would really be appreciated nontheless...)
Have a nice day, everyone!
Having fun with the Ghost CMS.
The installation is only supported on Ubuntu. And is tailored to Ubuntu and thus does not recognized Nginx installations on other operating systems.
I put together a vagrant-libvirt setup using Ansible that does the tricky bits itself. Currently supporting AlmaLinux 10, openSUSE Tumbleweed and Fedora 41, see the different branches.
This is a "production" setup of Ghost, i.e. using a MariaDB database instead of sqlite3.
https://codeberg.org/johanneskastl/ghost_vagrant_libvirt_ansible
https://github.com/johanneskastl/ghost_vagrant_libvirt_ansible
Have a lot of fun...
Another day, another vagrant-libvirt setup.
This time for MariaDB, with a server VM and a client VM. As usual, vagrant, libvirt and Ansible do the heavy lifting.
https://codeberg.org/johanneskastl/mariadb_vagrant_libvirt_ansible
https://github.com/johanneskastl/mariadb_vagrant_libvirt_ansible
Have a lot of fun...
Resolve Libvirt Error Unable to Find EFI Firmware
A step by step guide on how to fix the Libvirt Error Unable to Find EFI Firmware by updating the paths in the virtual machine’s configuration.
https://www.adamsdesk.com/posts/resolve-libvirt-error-unable-find-efi-firmware/
In case you want to get your hands dirty with Traefik, Kubernetes and the new GatewayAPI, I got you covered.
Here is another vagrant-libvirt setup that has #k3s, #Traefik and a #Nginx deployment. Instead of using a #Kubernetes #ingress or a Traefik ingressroute, this setup uses the #GatewayAPI resources like Gateways and HTTPRoutes.
https://codeberg.org/johanneskastl/traefik_gateway-api_on_k3s_vagrant_libvirt_ansible
https://github.com/johanneskastl/traefik_gateway-api_on_k3s_vagrant_libvirt_ansible
As usual, #Ansible does the heavy lifting and deploys everything in the cluster.
Have a lot of fun.
Dear all,
for playing around with the Ghost CMS / blog system I put together yet another vagrant-libvirt setup using Ansible and Podman Quadlets
https://codeberg.org/johanneskastl/ghost_podman_vagrant_libvirt_ansible
https://github.com/johanneskastl/ghost_podman_vagrant_libvirt_ansible
Have a lot of fun.
@dragotin @darix @OpenCloud @opensuse
Here is the vagrant-libvirt setup I currently use to test the new package:
https://codeberg.org/johanneskastl/opencloud_opensuse_vagrant_libvirt_ansible
https://github.com/johanneskastl/opencloud_opensuse_vagrant_libvirt_ansible
Most boilerplate and surrounding things are fine, the executable runs, but currently the setup is broken due to missing assets / assets not being created.
As stated in the README, work in progress under heavy development... :-)
I continued playing around with @OpenCloud and translated the Quickstart script into an Ansible playbook. As usual, here is the vagrant-libvirt setup to try that yourself:
https://codeberg.org/johanneskastl/opencloud_quickstart_vagrant_libvirt_ansible
https://github.com/johanneskastl/opencloud_quickstart_vagrant_libvirt_ansible
Have a lot of fun!