Questions tagged [kvm]
KVM is the Kernel Virtual Machine, a virtualization hypervisor built into the Linux kernel.
1,060 questions
1 vote
1 answer
34 views
Add second host ethernet device to KVM virtual network
I'm setting up a lab environment for a relatively large distributed systems class next term. While we have a relatively beefy server(64cores, 256GB, 4TB Disk) that does run VMs for the 3rd year OS ...
1 vote
1 answer
74 views
Transfer qcow file from one machine to the other failed
I had a VM (qcow2) on my previous PC (created using gnome-boxes) and wanted to run it on another host (previous one was Arch Linux, current one too, still inside gnome boxes) but I encountered the ...
1 vote
0 answers
41 views
How to step over an "int 3" on x86_64 with KVM?
On the x86 platform, the int 3 instruction causes a breakpoint trap. For KVM, the Virtual CPUs can be configured to exit to the hypervisor on this trap, by enabling the flags KVM_GUESTDBG_ENABLE and ...
1 vote
0 answers
38 views
How to hide the graphic card name in QEMU/KVM when using virtio driver with 3D accelaration (virgl)?
I am using QEMU/KVM with virtio-vga (paravirtual 3D graphics driver) based on virgl: -device virtio-vga-gl,hostmem=2G,blob=true,venus=true -display sdl,gl=on I am using a Linux guest, but after ...
3 votes
1 answer
264 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 ...
1 vote
2 answers
107 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
87 views
Why do NFS-backed files remain visible in a VM after host umount when shared via virtiofs?
I am curious about the behavior of Virtual Machine. Environment There are two computers. 192.168.180.10: NFS Server Rocky Linux 9.6 192.168.160.30: VDSM Host (NFS Client) Rocky Linux 9.6 VDSM ...
3 votes
1 answer
513 views
What's the difference between "QEMU/KVM" and "QEMU/KVM user session" in Virtual Machine Manager?
I just installed "Virtual Machine Manager" from Discover (flatpak) and I'm trying to learn how it works. When I'm adding a connection, then it gives me two options: "QEMU/KVM" and &...
2 votes
2 answers
892 views
KVM turning Linux kernel into a Type 1 Hypervisor
I’ve been reading about KVM, and I came across the statement: “When the KVM module is loaded, the Linux kernel itself becomes a Type 1 hypervisor.” I want to clarify if my understanding is correct ...
2 votes
0 answers
98 views
Chrome not use NVIDIA rendering
Environment: QEMU + KVM virtual machine with QXL virtual graphics card, directly connected to NVIDIA. NVIDIA drivers installed in the virtual machine. Environment variables set: export ...
2 votes
3 answers
2k views
Why and how were KVM modules unexpectedly enabled in Ubuntu 24.04?
System: Ubuntu MATE 24.04.2 I tried to start a virtual machine under VirtualBox and received the following error: VirtualBox can't enable the AMD-V extension. Please disable the KVM kernel extension, ...
0 votes
0 answers
135 views
Screen glitching when running VM on qemu/kvm
I'm having this weird behavior when i start a VM on Arch Linux under wayland with Virtio, 3D acceleration enabled, Spice server and openGL enabled. Am I missing some kind of driver? When I start the ...
1 vote
0 answers
66 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
102 views
qemu/kvm kvm_page fault for EPT violation VM-exits
I've a qemu/kvm VM started with the option -overcommit mem-lock=on at qemu-system_x86_64 command line on a Linux Ubuntu system. From QEMU documentation and Intel tuning, my understanding is that, as ...
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 ...