Questions tagged [libvirt]

toolkit and library for managing virtual machines and containers

159 questions
35
votes
1 answer

What is the difference and relationship between kvm, virt-manager, qemu and libvirt?

I investigated this topic and here are my conclusions (But I still have questions. And please correct me if I made any mistake in my conclusions): VMWare: VMWare developed its VM Hypervisor SW in 1999, but it was proprietary. QEMU: 4 years later…
32
votes
3 answers

libvirt: "Failed to initialize a valid firewall backend"

I'm trying to set up a virtual NAT network device without DHCP for libvirt on an Arch Linux host. What I have tried: # virsh net-define network.xml Network default defined from network.xml [network.xml]: default
testandby
  • 429
  • 1
  • 4
  • 5
22
votes
7 answers

No Auto Resize with SPICE and virt-manager

I've setup a VM that works great except for the auto resize functionality which seems to be inconsistent. I've got it randomly working a few times but it also randomly stops working. It's currently not working and I'm not sure what I need to do to…
11
votes
4 answers

Unable to connect to internet in Windows 10 VM using KVM/QEMU

I have been trying to set up a Windows 10 VM in my current Arch Linux (5.13.12-arch1-1) host system. I set up the VM using libvirt and KVM/QEMU using virt-manager as GUI. The NIC card has been setup with "Virtual Network 'Default' NAT" and using…
Sam
  • 223
9
votes
5 answers

How to configure macvtap to let it pass multicast packet correctly?

I'm trying to create VMs which can see each other and host. They are hosted with qemu/kvm and managed via libvirt. The network adapter of VMs is created with macvtap(VEPA mode) for performance. After enabling hairpin over switch, the unicast stream…
Given92
  • 93
7
votes
1 answer

Create "linked clone" or layered shared disks with QEMU

Does QEMU support a feature like VMware's "linked clone"? What I'm trying to accomplish: I'm setting up a test environment with a handful of VMs, that are all nearly identical. However, a fresh Windows install takes over 20 GiB, which would be…
6
votes
0 answers

Installing Windows virtualization features within KVM virtual machine causes early-boot guest crash

See updates below for what I've discovered about the more general nature of this problem. I have a Windows VM running OVMF firmware with VFIO passthrough for a graphics card running on an Arch Linux host. I am trying to enable Windows Sandbox within…
5
votes
1 answer

libvirt / KVM/QEMU - Networks: What does "Open Network" do?

When setting up a network with libvirt & virt-manager, there is an option to choose "Open Network" as the "Network Mode" when forwarding traffic to a physical network. What does "Open Network" mean / do? I thought it might be the same as an isolated…
user3728501
  • 3,404
  • 9
  • 39
  • 54
5
votes
1 answer

Making my KVM VMs accessible from the network

I'm setting up a new home server with borderline-paranoid security as the goal. As such, everything with open ports that can go in a VM, gets its own VM. I'm using Ubuntu Server as the host, because I like the free reboot-less kernel-patching. I've…
5
votes
0 answers

Libvirt: AppArmor Profiles Access Error

I have installed libvirt-daemon on a fully updated Ubuntu Server 18.04.1 LTS. When trying to execute libvirtd --listen, the following errors arise: 2018-08-24 21:03:18.641+0000: 2855: error : virFileReadAll:1420 : Failed to open file…
4
votes
2 answers

Unable to resume KVM guest after rebooting host

I'm running KVM on Linux Mint 17.1, kernel 3.16.0-31-generic. The only guest is a Windows 8.1 VM. I've noticed that if I reboot the host while the guest is running, I'm unable to resume the guest after the host has restarted. Virt-manager just shows…
zymhan
  • 812
4
votes
3 answers

Show qemu command line from virsh

I am debugging a problem with a libvirt VM starting, and I want to see the exact command line that it is going to use to start qemu. Is this possible using virsh or some other utility?
4
votes
0 answers

AppArmor issues with Libvirt

I have a fresh Ubuntu Server 22.04.3 and Debian 12.1.0 installed and updated. Along with Cockpit and Cockpit virtual machines on both tests machines. I am getting the following errors and warning when looking at the log section in Cockpit: Failed to…
4
votes
1 answer

No internet connection in VM with Libvirt NAT

Hello super users, I am trying to get an internet connection up and running in my KVM/QEMU VM through Libvirt's default NAT. Unfortunately, the guest (Windows 10) sees the virtual adapter as an "Unidentified network" and shows that there is "No…
limefrog
  • 41
  • 1
  • 3
4
votes
0 answers

Intel GVT-g: Scrambled graphics on virt-manager

The virt-manager video is scrambled on this VM configured to use Intel's GVT-g GPU pass-through. The screen works, I can log in on it, manipulate things on the desktop. I just can't read anything. Any folk out there knowledgeable on GVT-g that can…
Frobozz
  • 143
1
2 3
10 11