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
1
vote
1 answer

Migration of Xen domains using libvirt API and perl failing

I am trying to get work offline migration using libvirt API in perl. I have 2 servers (on both is): - debian squeeze - xen-hypervisor-4.0-i386 - libvirt (1st server - 0.8.7 and 2nd server - 0.8.3) In xend-config.sxp on both servers I set up: -…
panaroik
  • 832
  • 5
  • 12
1
vote
3 answers

Enable Intel-VT inside of VMware Workstation

I'm testing Nova Compute from OpenStack project inside of a VMware Workstation v7 virtual machine, and I get this error: libvirtError: internal error no supported architecture for os type 'hvm' This is because the VM can't run hardware accelerated…
1
vote
0 answers

Apparmor and libvirt - warnings and errors

I have a fresh Debian 12 installed and updated. Along with Cockpit and Cockpit virtual machines. I am getting the following errors and warning when looking at the log section in Cockpit: Failed to open file '/sys/kernel/security/apparmor/profiles':…
1
vote
1 answer

windows 2019 unattended install on kvm via libvirt can't find licence error

I'm trying to install windows server 2019 with autounattend.xml configuration on kvm via libvirt. Installation fail on dialog with sign: "Can't find microsoft software license terms" Despite there are a lot of articles with solving this error - it…
1
vote
1 answer

Libvirt - UDP not working between host and VM

Host: 192.168.1.144/24 VMs(routed) network: 192.168.122.0/24 I have VMs connected to libvirt's routed network. routed-122 86ca64a6-7fea-4cf8-9625-fa45fe944c2c
chupnik
  • 165
  • 5
1
vote
0 answers

Machine type issue when migrating KVM VMs with live snapshots from Debian to Ubuntu

I'm trying to migrate around 40 KVM VMs (containing a few hundred live snapshots mostly used for automated testing on Windows) from a Ubuntu 22 server to a Debian 11 server. The machine type of most of the VMs are pc-i440fx-xenial and I've tried…
1
vote
1 answer

new VM's won't complete after I moved /var/lib/libvirt/images to a larger disc

I have been building VM's on my fedora 37 server for a while, when I suddenly started running out of disc space. So, I looked in the filesystem and saw that the new VM's had their discs built at /var/lib/libvirt/images, so I made…
1
vote
1 answer

How to use more then 2GB of ram when using running a nested BIOS VM using KVM

I have a Linux host running Debian 11 and on that host, I have a Ubuntu 22.04 VM. Inside that VM I want to run a Windows 10 VM using nested virtualization. The ubuntu VM is booted using EFI and nested virtualization works well. When the windows VM…
nezu
  • 111
  • 3
1
vote
0 answers

Virtualized Centos 7 on Ubuntu host: very slow I/O

I run a Centos 7 virtualized in Ubuntu 20.04. There is a huge I/O performance drop in the VM compared to the host. The host has plenty of RAM. Host: * MB/s = 1,000,000 bytes/s * KB = 1000 bytes, KiB = 1024 bytes Sequential Read (Q= 32,T= 1) : …
Laurent
  • 406
  • 1
  • 4
  • 14
1
vote
0 answers

Backing encrypted drive

Creating a backing image for the master image that is encrypted using LUKS: qemu-img create -f qcow2 -b dev.qcow2 -F qcow2 -o encrypt.format=luks,encrypt.key-secret=dev --object secret,id=dev,data='same_as_for_dev.qcow2' dev-inc.qcow2 libvirt…
Jonas
  • 337
  • 2
  • 10
1
vote
1 answer

Forcing static IP on libvirt

I've seen this question and others online, yet my problem persists. I have a gentoo host with the following interface: virbr0: flags=4163 mtu 1500 inet 192.168.122.1 netmask 255.255.255.0 broadcast…
vesperto
  • 200
  • 2
  • 8
1
vote
0 answers

libvirt virsh not using a predefined target while attaching interface

I am trying to automate the process of creating a Guest VM. I am using uvt-kvm to create the VM. I am also taking a network type as a parameter. This can be either nat or macvtap. Now in the script I create the macvtap interface using these…
akarX_123
  • 11
  • 2
1
vote
0 answers

How do I force Virt-Manager to use the hosts' llvmpipe renderer so the guests get to use 3D acceleration?

I'm using virt-manager and set "3D Acceleration" as per what was recommended, but I'm getting this error: qemu_gl_create_compile_shader: compile vertex error 0:2(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.10, 1.20, and…
X.LINK
  • 111
  • 2
1
vote
0 answers

Assign outlet IP for a libvirt VM using routed network

My host network interface has got two IPs. Currently, I'm running my VMs in a routed network. Host's network interface is a member of public zone in firewalld, with both forward and masquerade enabled. With the setup described before, the VM is able…
Yu Ling
  • 13
  • 4
1
vote
0 answers

RTSP Stream Cannot Be Accessed from KVM Guest using NAT - iptables forwarding

How should iptables on the host be configured to allow rtsp:// traffic from a KVM guest that initiated the connection via a NAT network interface? It doesn't appear to be a simple mapping. I don't know what port the guest uses when it opens the…
OwN
  • 187
  • 3
  • 14