Questions tagged [libvirt]

libvirt is an API and toolkit for developing applications which manage virtual machine hypervisors, the virtual machines running under them, and virtual machine storage.

libvirt is an API and toolkit for developing applications which manage virtual machine hypervisors, the virtual machines running under them, and virtual machine storage.

libvirt runs on Linux, Solaris and Windows.

libvirt supports the following hypervisors: KVM/QEMU, Hyper-V, VMware, Xen, VirtualBox, OpenVZ, LXC, User Mode Linux, and others.

libvirt suports the following storage: local file images, raw disk storage, LVM, FibreChannel, iSCSI, NFS.

650 questions
0
votes
0 answers

On system startup, libvirtd fails with "Network is already in use" error

I'm configuring a new system to host VMs with libvirtd (AlmaLinux 8.9, 4.18.0-425.13.1.el8; libvirt 8.0.0-10.2) and I'm seeing a weird behavior when I reboot the system. On boot, libvirtd fails to start with a fatal "Network already in use" error.…
0
votes
0 answers

Occasional packet loss between bridge interfaces

I have two virtualization servers based on libvirt and KVM. And sometimes I see packages get lost on one particular virtual machine. After restarting the virtualization host this problem is solved, but it helps for a while. I have made filters in…
akashavkin
  • 301
  • 1
  • 2
  • 8
0
votes
0 answers

How to create a shared Disk with the image stored on Host in KVM?

I am currently trying to setup a disk, using the raw img format on the host, which is then shared between multiple guest VMs (which are running Alpine Linux), using the libvirt / KVM virtualization platform. While I attached the disk to different…
0
votes
0 answers

Is it possible to use the IO priority from a KVM guest on the host?

When I use KVM with libvirt and virtio block devices, does it propagate IO priority in some way? If the guest starts a process with ioidle priority, I want it to run only if the host is also in ioidle state. Is there an easy way to propagate the…
allo
  • 1,620
  • 2
  • 22
  • 39
0
votes
0 answers

How to combine the firewalls for libvirt and ufw correctly

I am trying to use libvirt and ufw at the same host, but both of them insert a lot of firewall rules and own tables and they don't always play nice togethter. The last problem I had was that ufw inserts its rules after libvirt. This worked fine as…
allo
  • 1,620
  • 2
  • 22
  • 39
0
votes
1 answer

libvirt live storage migration but keep vm on same host

Is libvirt capable of doing a live storage migration but keep the VM on the same host? I have two NFS Network filesystem pools on one host. I would like to live migrate the underlying qcow2 disk files from one pool to the other. I am unable to find…
eKKiM
  • 1,540
  • 9
  • 23
0
votes
0 answers

how to enable virsh console a ubuntu domain

Environment description: host: libvirtd (libvirt) 6.0.0 os version: 20.04.2 LTS (Focal Fossa) guest: os version: 20.04.2 LTS (Focal Fossa) Problem description: I tried to follow…
xiaojueguan
  • 111
  • 3
0
votes
0 answers

Libvirt IPv6 routing to nated network

I'm having trouble getting IPv6 to work for my KVM/qemu guests. I have two bridges setup, one routed (external, non libvirt) bridge for public dedicated ipv4 + ipv6 which works for both protocols. Then I have a libvirt nat bridge (with the routed…
Andrew
  • 21
  • 2
0
votes
1 answer

Ansible Findall capture groups and list

I think I'm confused with Python and Ansible findall. Can I use capture groups in Ansible? For example, How can I capture group 1 and group 2 then reverse the position in the resulting list? For example, I'm pulling some block devices info of a VM…
Billy K
  • 121
  • 1
  • 3
  • 16
0
votes
0 answers

rhel 9, firewalld(nftables backend), libvirt and custom bridges, masquerading not working

I have a remote server with one network interface, which has a public IP address (enp5s0). I've created an isolated network as follows: LAN-bridge 64XXXXXXXXXXXXXXXXXXXXXXXX
Daniel
  • 31
  • 1
  • 2
0
votes
0 answers

KVM/QEMU Virtualization on server with multiple nics to WAN - full split?

long time reader, first time poster...it's been over a decade, crazy. Today, I've set up a left over server from my old job in a local data center for a friend of mine and myself. As by my contract, the data center colocation includes 2 separate…
0
votes
0 answers

libvirt/KVM 10Gb-capable network interface without virtio

Is there a way to set up a 10Gb-capable virtual ethernet port in a guest VM (RHEL) without using virtio ? I have to put some kind of RHEL7 in a guest VM but the kernel used in there has UDP fragmentation bugs when using virtio ethernet devices. The…
0
votes
1 answer

Forward virbr0 (VM) traffic through IPSec tunnel

I have a virbr0 interface, created by libvirt with inet 10.1.2.1 netmask 255.255.255.0 broadcast 10.1.2.255 There's an active IPSec tunnel with leftsubnet=10.1.2.0/24 rightsubnet=192.168.160.0/20 The VMs are able to reach 192.168.160.0/20 but…
Jochen
  • 137
  • 1
  • 8
0
votes
0 answers

needrestart doesn't restart libvirtd.service

Running needrestart repeatedly gives me this line: Restarting services... systemctl restart libvirtd.service Restarting the service with systemctl does not solve this problem. Not even killing /usr/sbin/libvirtd and restarting the service manually…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
0
votes
1 answer

Linux Livirt/KVM: Place all VMs in cpuset by default without reconfiguration

I'm trying to set up a system whereby I have some process on a set of hosts that are in one (shielded) cpuset, while everything else (i.e. all the VMs) are in another. The goal here is to have a hyperconverged system where the VMs run on some…
Joshua Boniface
  • 346
  • 3
  • 14