Questions tagged [qemu]
QEMU (short for "Quick EMUlator") is a free and open-source hosted hypervisor that performs hardware virtualization.
1,112 questions
1 vote
0 answers
21 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
207 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
1 answer
66 views
Qemu: EFI stub: ERROR: Failed to decompress kernel
I created a raw disk image with qemu-img and created an EFI and an EXT4 filesystem on it with losetup, fdisk, mkfs.vfat and mkfs.ext4. As a quick hack, because I couldn't find efi shell on the laptop ...
1 vote
2 answers
74 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
1 answer
52 views
Perform Backup of Data Files While in QEMU Session?
QEMU version 3.1 I have an old DOS program I use via FreeDOS running in a QEMU window. I currently invoke a session thusly: qemu-system-i386 -m 32 \ -enable-kvm \ -...
0 votes
0 answers
40 views
Is a raw file created by qemu-img the same as a -flat.vmdk file in VirtualBox?
I'm trying to serve an image using PXE and I just want to make sure that if I convert a .qcow2 file into a raw file, that's the same as creating a fixed-size -flat.vmdk file in VirtualBox, because ...
4 votes
2 answers
222 views
No /dev/sr0 when booting with customized kernel in qemu
I'm compiling a customized kernel for vm without module support. The CONFIG_BLK_DEV_SR is compiled into the kernel, but it /dev/sr0 still not showing up in /dev: # qemu-system-x86_64 -accel kvm -...
3 votes
1 answer
414 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
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
0 answers
82 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
1 answer
102 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 ...
0 votes
1 answer
124 views
Boot QEMU from SPDK vhost-user-blk-pci
I'm trying to boot a QEMU VM from a vhost-user-blk-pci device, which appears to be generally possible (https://github.com/spdk/spdk/issues/1728). In my case, vhost gets the image via SPDK's NVMe-oF ...
1 vote
0 answers
332 views
Proxmox VE 8.4 + Debian 12 VM: qemu-guest-agent responds to commands but qm shutdown hangs in "running (shutdown)" state
I'm running Proxmox VE 8.4.1, and I’m experiencing a strange behavior with a Debian 12 (Bookworm) VM: the qemu-guest-agent is clearly active and responding, but when I try to shut down the VM via qm ...
0 votes
0 answers
62 views
Linux bridge forwarding from/to TAP interfaces
As explained here in my own Q&A, reconsider the following scenario. A Linux host with a two port Linux bridge and two Linux guest VMs connected to it: the first bridge's port is connected to TAP ...
1 vote
0 answers
200 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 ...