Questions tagged [libvirt]
daemon and clients to manage virtual machines and containers
406 questions
3
votes
1
answer
216
views
How to fix a libvirt network setup error
I am creating a new QEMU/KVM virtual machine using libvirt CLI in Debian Linux.
According the tutorial, I must activate the default network using the following command:
sudo virsh net-start default
...
0
votes
0
answers
34
views
Why can't VMM find the IP address of bridged VMs?
I'm just trying to understand why Virtual Machine Manager (VMM) is not able to know the IP Address of a VM(a.k.a. Domain) when the VM has it's Network Source as a bridge device. In the screenshot I ...
0
votes
0
answers
24
views
Impossible to set up shared clipboard on vms handled created with Vagrant
I am trying to automate the deployment of a cybersecurity lab. My goal is to have a repeatable process to create a Debian-based with all my tools and configs.
To this extent, I recently discovered ...
1
vote
2
answers
87
views
FreeBSD guest not reporting RAM usage in virt-manager with QEMU/KVM
I got two FreeBSD VMs (Latest production version, 14.3) working with my setup of Linux VMs separated by each service, all the Linux VMs report the RAM usage correctly but for some reason the FreeBSD ...
0
votes
0
answers
66
views
libvirt: "Error starting domain: internal error: failed to parse JSON: nesting too deep"
I'm on Fedora Linux 42.20250824.0 (Sway Atomic), running libvirt version 11.0.0, qemu-img version 9.2.4 (qemu-9.2.4-1.fc42) and virt-manager version 5.0.0, all installed as layered packages.
Using ...
2
votes
3
answers
1k
views
Virtual Machine Manager: Unable to connect to libvirt qemu:///system. Verify that an appropriate libvirt daemon is running
I just found an app on Discover Store (Flatpak) that is called "Virtual Machine Manager". So I've downloaded it, because I want to try and make a Windows 11 VM with it.
But as soon as I go ...
2
votes
1
answer
114
views
having trouble detecting user (qemu:///session) VMs from root account
I am trying to write a bash script that detects if there are any running VMs and performs a set of actions only when no VMs are running.
The system in question has several virtual machines (all from ...
1
vote
0
answers
91
views
VFIO single GPU passthrough - AMD-Vi: Completion-Wait loop timed out
I am trying to pass gpu to vm with libvirt following guides:
https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#Setting_up_an_OVMF-based_guest_virtual_machine
https://github.com/joeknock90/...
1
vote
0
answers
211
views
KVM/QEMU libvirt Network "default" NAT Configuration - Guest cannot connect to Internet (no VPN)
KVM/QEMU libvirt Network "default" NAT Configuration - Guest can connect to host and the host to guest but the guest cannot connect to Internet(no VPN).
$ sudo virsh net-list --all
Name ...
1
vote
1
answer
54
views
forward *.vm dns requests from local dnsmasq to libvirt's dnsmasq
I have a custom dnsmasq instance running locally as my main dns provider and I want to forward *.vm requests to libvirt's instance of dnsmasq, but there's something wrong with my local network ...
1
vote
0
answers
56
views
mount errors of /dev/vda when running virt-install with --inject-initrd option
I'm trying to automate installation of a debian machine with a preseed configuration file and despite a few hiccups here and there it seems to work. I am confused though why adding --inject-initrd ...
0
votes
0
answers
25
views
Unable to create libvirt domain - persmission denied reading OS .iso [duplicate]
When attempting to create a libvirt domain off a debian iso file using virt-manager, it fails with Could not open '/home/laur/Downloads/debian.iso': Permission denied error.
The file has read access ...
2
votes
1
answer
275
views
libvirt kvm virtual routed network: cannot ping gateway itself or beyond
I'm having trouble with libvirt kvm's routed networks where a VM inside a routed virtual network can ping every VM in my home subnet except the default gateway... or any gateway for that matter.
I ...
0
votes
0
answers
394
views
Screen Tearing on virt-manager with QEMU/KVM on NVidia GPUS with 3D Acceleration
I managed to get my NVidia GPU (RTX 3070) working with 3D acceleration in virt-manager. I had to make a user QEMU/KVM session as there's some bug not causing it to not work in the system/root session. ...
0
votes
0
answers
34
views
No internet connection on both Host & Guest machines
I'm having trouble understanding why my host and guest machines don't have internet connections. I'm using NAT in virt-manager.
When I am not connected to Wi-Fi
user@user ~> ip route
169.254.0.0/16 ...