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

Poor network performance on host machine using libvirtd / Qemu / KVM

We've got two Fedora 27 servers that we use to host several virtual servers using libvirtd / Qemu / KVM that are experiencing the same issue. When freshly booted, network performance is great, pings are < 1ms, network transfer rates are as expected.…
0
votes
0 answers

Mount a disk image as mmc flash in libvirt

I'm trying to run the OS of my x64 NAS in a VM with kvm and libvirt. I made an image of the internal flash with dd. The image has a few partitions, starting with an EFI partition. virt-install -n mynas --os-type none --ram 1024 --vcpus 2 --boot uefi…
0
votes
1 answer

Missing KVM snapshots in virt-manager

I need to resize an image and receive an error when using qemu-img the resize is not supported because snapshots exist. Sure enough, even though virt-manager does not show any snapshots, I see the following when listing the snapshots with…
rwfitzy
  • 233
  • 5
  • 16
0
votes
1 answer

Include cloudinit config to new VM

On my KVM hypervisor I would like to add a new VM with CentOS-7-x86_64-GenericCloud.qcow2 disk but with my custom cloudinit config to make sure that the new VM will start up with all users, correct hostname and network settings. I've tried to…
netmat
  • 61
  • 2
  • 4
0
votes
1 answer

KVM: guest with FQDN DNS resolution / no bridge

I have a (Hetzner) server with a public IP of eg. 123.123.123.123, and an additional IP of eg. 456.456.456.456. I want to serve some private webspace apps on 123.123.123.123, including a hidden master BIND server for some domains, and bridge a KVM…
Joshp.23
  • 125
  • 6
0
votes
0 answers

cannot shutdown virtual domain until connected to it

I have a rather weird problem. I'm going to try and present facts but the truth is that my problem seems so awkward that I don't really know what is happening. I run a Debian 8.11 host with libvirt-1.2.9. I have a virtual domain running ok with…
Chebarbudo
  • 83
  • 1
  • 8
0
votes
1 answer

KVM public ip setup with subnet /29

I have a dedicated server from hetzner with one additional /29 subnet i have configured a bridge network which looks fine to me 2: eno1: mtu 1500 qdisc mq master br0 state UP group default qlen 1000 link/ether…
0
votes
1 answer

Handling VMCALL with libvirt (qemu-kvm)

I am using libvirt with qemu-kvm to manage virtual machines. The guest makes a vmcall which I want to be notified of, e.g. via a callback function. I know it's possible with 'pure' KVM, but does the libvirt API provide functions to handle a vmcall…
DaOnlyOwner
  • 103
  • 1
0
votes
1 answer

Does enabling SELinux "enforcing" in KVM host causing problems in the guests?

I've KVM hypervisor with (Software Raid1) and I've few created VMs .. Does Enable "SELinux" IN the host affects badly on Raid1 and The guests (VMs) ? or there is no relation? Is it a recommended approach? Actually, I've it enabled by default to…
Jason4Ever
  • 111
  • 1
  • 6
0
votes
1 answer

Domain.xml not Updating For Console Directive

Good afternoon, I'm following the instructions here in order to get console access from libvirt The problem I'm having is the domain.xml does not accept the new changes. I have also done the following: vi /etc/libvirt/qemu/domain.xml # made my…
KingFish
  • 125
  • 6
0
votes
1 answer

Set host firewall so VMs obtain dynamic IP from dnsmasq

Virtual machines (KVM/libvirt) fail to obtain a dynamic IP address from the libvirt-launched dnsmasq running on a CentOS host when the firewall is running. When I turn off the firewall (CSF), the virtual machine obtains an IP. For those who have…
composer
  • 131
  • 3
0
votes
0 answers

libvirt cannot boot windows-uefi guest with virtio storage

i have hyper-v gen2 win-guest and need to migrate on kvm with libvirt. I convert one guest from vhdx to qcow2 with qemu-img, start it with qemu-system and hda-drive, install virtio drivers. After that i start it with virtio storage with that…
0
votes
0 answers

KVM gets stuck at “Booting from ROM”

I created I a ubuntu 16.04 vm with a kickstart file using the following xml """ + name + """ 1 1 hvm
nadermx
  • 133
  • 1
  • 7
0
votes
0 answers

Overcommiting Memory with KVM and Libvirt

TL;DR; What is the best practice for overcommiting memory with libvirt and kvm ? Long story - I have a small and underutilized server running multiple VMs (both host and guest running centos 7.4) most of the VMs are not critical and are mostly used…
Yoni Jah
  • 101
  • 1
0
votes
1 answer

KVM on a VPS Ubuntu 16.04 LTS (headless) libvirt-sock: No such file

I am trying to create a KVM server on a (remotely hosted) VPS (Ubuntu 16.04 LTS). I have installed these packages sudo apt-get install kvm ubuntu-vm-builder libvirt-bin bridge-utils sudo egrep '(vmx|svm)' --color=always /proc/cpuinfo This does…
Maxim
  • 3
  • 3