Questions tagged [libvirt]

143 questions
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
20
votes
1 answer

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

I investigated this topic and here are my conlusions (but still I have questions, and please correct me if I made any mistake in my conlusion): VMWare: VMWare developed its VM Hypervisor SW in 1999, but it was proprietory. QEMU: 4 years later after…
Columbia Rover
  • 303
  • 1
  • 2
  • 8
19
votes
4 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…
howdoieven
  • 191
  • 1
  • 1
  • 5
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…
Jonathon Reinhart
  • 3,384
  • 12
  • 35
  • 54
7
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
  • 73
  • 1
  • 1
  • 3
5
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…
Glen
  • 171
  • 1
  • 1
  • 6
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
  • 808
  • 6
  • 16
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
  • 5
4
votes
3 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
  • 153
  • 1
  • 1
  • 6
4
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
  • 2,486
  • 6
  • 28
  • 46
4
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…
hellomatey27
  • 43
  • 1
  • 4
4
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
1 answer

How do I revert to latest external snapshot in KVM?

I have created an external snapshot with KVM using virsh snapshot-create-as domain --name snap1 --disk-only Then, I started the domain with “virsh start domain”. I know that reverting to external snapshots is not yet implemented (at least not in…
Torsten Bronger
  • 452
  • 5
  • 19
4
votes
0 answers

VERR_VMX_IN_VMX_ROOT_MODE when running VirtualBox with libvirt installed

I'm running RHEL 6.4. I had been using a VirtualBox VM to run a simulator, but recently installed libvirtd for a different project. Now I want to run my VirtualBox VM again, but keep getting an error when I try to start the VM. I am guessing this is…
user812786
  • 193
  • 11
3
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?
Jonathon Reinhart
  • 3,384
  • 12
  • 35
  • 54
1
2 3
9 10