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

learn more… | top users | synonyms

0
votes
0answers
8 views

same libvirt config, one machine boots, the other does not

I am migrating a bunch of vms from an old machine to a new one. The old one was using some in-house scripts and lvm logical volumes, the new one uses libvirt and plain files. The configs are rather ...
0
votes
0answers
7 views

Virsh - Requested operation not valid: volume is still being allocated

I have a script setup to easily create domains in virsh. Part of the script involves creating a new volume from an existing one, to use as the domain's disk. However this error occurs when multiple ...
-1
votes
0answers
8 views

virt-manger cannot access VM disk

On a Centos 6.7 I have installed kvm and created a vm with a 30G virtual disk located in /var/lib/libvirt/images/vm1-disk. I created another disk with the following command: virsh vol-create-as ...
1
vote
0answers
18 views

Libvirt does not see updated LVM volume

All VMs run off an LVM pool. I resized one of the LVM volumes to increase VMs drive copacity. Resized it with lvextend as usual. Everything is successful and lvs shows the new size. Libvirt does not ...
1
vote
0answers
15 views

How does Qemu handle memory?

I'm having a real hard time understanding something and I was wondering if anybody has any experience with this and is able to help. I have two KVM VMHosts, one running qemu 2.4.1 and the other ...
0
votes
1answer
24 views

Correct virtio setup on Ubuntu 14.04 64-bit host

At the present moment, my guest is running inside qemu and host is kvm intel, running Ubuntu 14.04, kernel is 4.3.0 stable. From within the guest, when I run "hdparm -i /dev/sdb" on the guest, I ...
1
vote
0answers
19 views

How to create a new domain from an existing base image in virsh

Is there a way of creating a domain with virsh from a base image? I have looked around and found that it is possible using virt-install, however I would prefer it if this was done purely through ...
0
votes
0answers
13 views

Virtual Machine Manager libvirtError: End of file while reading data: nc: invalid option — 'U'

When connecting to one of our KVM (libvirt + qemu) servers using the Virtual Machine Manager (virt-manager) we got the error: libvirtError: End of file while reading data: nc: invalid option -- 'U' ...
1
vote
0answers
51 views

KVM bad IO sync performance in Linux guest

I'm setting up virtualized Ubuntu 15.10 guest inside Ubuntu 15.04 server using libvirt and KVM. Storage in host system: # mount | grep ext4 /dev/sda1 on / type ext4 ...
4
votes
1answer
226 views

WARNING KVM acceleration not available, using 'qemu'

Running debian (Linux Rick 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux) Looking at my cpuinfo I can see I have vmx support: flags: fpu vme de pse tsc msr pae mce ...
3
votes
1answer
42 views

kvm snapshot-create-as failed

I have Ubuntu server with qemu/kvm. I'm try to create snapshot (for further backup) using libvirt and get this error: # virsh snapshot-create-as --domain 56 --name copy_snap --no-metadata --disk-only ...
0
votes
1answer
52 views

KVM guest cannot connect to host, but works vice versa

I have debian 7 on my host machine and I run a KVM vm on it. My hosts network configuration is this (the relevant parts): br0 Link encap:Ethernet HWaddr 68:b5:99:ae:8f:11 inet ...
0
votes
1answer
25 views

Libvirt guest destroyed after shutdown

I have created a VM withLibvirt and when I shut it down whether forcefully or with ACPI, it gets deleted. I create it: <domain type='kvm'> <name>deneme2</name> ...
1
vote
1answer
52 views

Enabling Nesting for Xen-in-Xen via Libvirt xml

I'm trying to get nested Xen-In-Xen via libvirt. Can someone confirm that adding hap and nestedhvm to the features element in the domU xml config is what is required to get nesting working? Am I ...
1
vote
1answer
41 views

Backing up Xen Guests from dom0 with disk image file

I have a Xen server dom0 with a number of guests installed and am struggling to find an easy way to manage backups from the dom0 side. Guest scripts: Of course I could run backup scripts on each of ...
2
votes
0answers
66 views

how to enable L3 cache on kvm guest?

I start a kvm guest(centos6.5) on a Intel machine(centos6.5),use libvirt, the guest's xml as follow <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> ...
1
vote
1answer
32 views

Golden image updates in qemu

Consider that there are 100 windows virtual machines coming from a single base image and each vm is added to domain along with minor other machine specific settings which can be done by a script. ...
-1
votes
1answer
36 views

KVM/libvirt: Guest monopolizes bridge

I'm having a problem in which the first guest started on a VM host can send traffic through both of its assigned interfaces, but subsequent guests can only send traffic through one interface. My VM ...
0
votes
1answer
43 views

Libvirt with Xen fails to start correctly Ubuntu 14.04

at the moment i'M really feeling a little helpless: I tried so setup Ubuntu 14.04 with Xen and libvirt for management. I created a VM but i did not auto-start (altough autostart ist checked). If i do ...
0
votes
0answers
30 views

How can I add a usb device to a domain xml from an image file?

I don't (repeat DONT) want to passthrough a physical usb device. I'm making a usb img file like so: dd if=/dev/null bs=1K of=/tmp/test_usb.img seek=2040 mkfs.vfat /tmp/test_usb.img I am then ...
0
votes
1answer
175 views

dnsmasq on virbr0 (libvirt) and network manager

I want to run dnsmasq on my local machine in order to configure a wildcard to resolve to 127.0.0.1 for testing purposes. However, when I went to start dnsmasq with systemd I got the following error ...
2
votes
1answer
21 views

libvirt lxc container won't use statically assigned address at startup

I have an LXC OS container (CentOS 7) configured via libvirt (CentOS 7): <domain type='lxc'> <name>lxc-test1.example.com</name> ...
2
votes
0answers
56 views

noVNC console on Openstack Dashboard is rendering garbled UI on RHEL7

I am running nova-compute on RHEL7. Openstack dashboard's noVNC console is rendering garbled UI for any instance having a UI console. Can somebody please help out? This is working just fine on RHEL65 ...
0
votes
1answer
51 views

port forwarding with libvirt

I'm trying to get port forwarding working through libvirt on top of QEMU and KVM. I found this article (https://snippets.webaware.com.au/howto/running-qemu-with-port-redirection-through-libvirt/), but ...
1
vote
2answers
122 views

How do I connect to my libvirt/qemu/guests ? (with no ip address)

I have inherited the administration of a trusty ubuntu server with several virtual servers, also ubuntu using libvirt and qemu. I have the problem I cannot connect to these virtual servers/guests. ...
1
vote
1answer
339 views

Best options for KVM/qemu/libvirt VM migrations without shared storage

My team has recently been tasked with improving the virtualization infrastructure at the company and one thing we're looking into doing is speeding up migrations. We use local storage only on all VM ...
0
votes
2answers
176 views

qemu-kvm take 100% cpu during start Win 7

I have Centos 6 with qemu-kvm version: qemu-kvm.x86_64 2:0.12.1.2-2.448.el6_6.4 On Dell Precision with 2x Xeon 5110 When I run VM qemu-kvm process take 100% of CPU and starting Windows on ...
1
vote
0answers
109 views

XFS/EXT4: Why is actual file size on disk larger than apparent size? Clarification

On a CentOS 7.1.1503 (3.10.0-229.el7.x86_64) system running KVM/qemu on an XFS filesystem, I'm attempting to work out what specifically is adding additional space to a VM diskimage file. $ ls -ls ...
0
votes
2answers
179 views

Forward Port on Guest Operating system With Libvirt

I am currently running a Xen Hypervisor underneath Ubuntu 14.04. On the host machine I am running a guest VM. From what I understand, In order to be able to receive incoming connections on the ...
0
votes
0answers
103 views

Host cpu association with numa node not reflected in guest

In host NUMA node 0 has cpus 0-7 and 16-23 NUMA node 1 has cpus 8-15 and 24-31 But in guest NUMA node 0 has cpus 0-7 and 16-31 NUMA node 1 has cpus 8-15 only My Question is why NUMA node cpu ...
0
votes
1answer
89 views

Installed KVM, but Virtual Machine Manager says localhost(QEMU)

My understanding is that KVM uses the CPU virtualization properties and is much faster than QEMU, which is emulation. I used the Virtual Machine Manager to create the virtual machine. I am nearly ...
0
votes
0answers
24 views

No package transfer from host to guest on KVM

I want to assign external static IPs to my KVM guests. I do not prefer a NAT solution. What should be the configuration of network and routing tables? I manually assing a static IP to guest. I can ...
0
votes
1answer
23 views

Can libvirtd be used without kvm?

I wanted to try libvirtd with virt-manager (I wanted to test migration.) on a virtual machine (without nested virtualization support enabled, so no kvm...), and I expected it to work (and use full ...
6
votes
1answer
61 views

Prevent hijacking IPs in KVM/libvirt

How can I prevent a VM user/client from accessing IP addresses he doesn't own but are routed over the same bridge on KVM/Libvirt? IP addresses are routed to a cisco switch vLan consisting of a /24 ...
0
votes
0answers
184 views

Is it possible to passthrough a USB-hub and its devices to a libvirt guest?

Since I am having multiple devices in a libvirt/qemu Windows 8.1 guest I need to plug in and out rather often, I am wondering if it is possible to make life a bit easier. Is it possible to pass ...
0
votes
0answers
22 views

libvirt: can it provision network interfaces where the network backend is running in a domU rather than dom0?

Thanks to a great blog post, only slightly out of date [1] I've managed to configure a dom0 which has no networking at all: physical network interfaces are passed through to dedicated domU guests ...
0
votes
0answers
28 views

Booting grml-iso using libvirt

I'm trying to boot the newest grml live disc iso (https://grml.org/) with a virtual machine using libvirt. For defining the vm, I've tried a whole lot of different commands, my latest try looks ...
1
vote
1answer
157 views

Is there any way to lock/unlock a Hosted Engine in oVirt?

I have a weird situation with my Hosted Engine in oVirt. We have an oVirt cluster set up using gluster as the storage for the engines isos and all the information. About a week ago two of the three ...
0
votes
0answers
59 views

Openstack Icehouse - Hypervisor (KVM) cpu_mode config

I have installed Openstack Icehouse, using the guide located here, and I am trying to find out what 'cpu' is exposed through the hypervisor to a VM. I have found this guide in order to configure the ...
0
votes
1answer
641 views

Installing VM on CentOS 6.6 with virt-install hangs

I'm trying to install a Centos 6.6 VM on a CentOS 6.6 host with the following command. virt-install \ --name vm-queue \ --description "Queue Server" \ --ram 2048 \ --disk ...
3
votes
1answer
415 views

Qemu+libvirt+kvm significant performance lag in VM's

I am troubleshooting poor performance on our new VM host machine which is a Dell PowerEdge R415 with hardware RAID. We've got about 20 VM's running like this: qemu-system-x86_64 \ -enable-kvm \ ...
0
votes
1answer
494 views

Unable to import Ubuntu virtual machine on Centos 7 kvm host

[root@kvm ~]# virsh create /root/ns1.jesse64.xml error: Failed to create domain from /root/ns1.jesse64.xml error: internal error: process exited while connecting to monitor: qemu-kvm: -machine ...
0
votes
1answer
264 views

Switching back to libxl from xend without rebooting

I did something dumb: I enabled xend over libxl and started an instance with xend. Now, libxl won't start any instances, even though I got rid of all the xend instances and stopped xend: root@xen1 ...
1
vote
0answers
97 views

libvirt hook qemu suse12

we have this qemu hook. In suse 11 was working well but in suse 12 it is not working. The hook is setting the ports in openvswitch native-untagged. Do you know if there is some libvirt missing ...
1
vote
0answers
129 views

kvm guest routing with 2 default gateways

I have a kvm guest with two virtual NIC. NIC with internal IP III.III.III.III (eth0) NIC with external IP EEE.EEE.EEE.EEE(eth1) I'm using macvtap. The host has his own external IP. I can ping ...
0
votes
1answer
310 views

Ubuntu Trusty: virt-manager performance over WAN… 40+ secs freezes

I'm using the virt-manager GUI 0.9.5-1ubuntu3 on my laptop running Ubuntu 14.04 against a server located some distance away (same OS) and getting rather unpleasant performance. Laptop-server pings ...
0
votes
0answers
130 views

LXC containers - Duplicate tty on Gentoo guest

I'm trying to run Gentoo inside LXC container on Centos 7 host machine. I have prepared the guest OS on another (Gentoo) machine by following this tutorial https://wiki.gentoo.org/wiki/LXC. On this ...
1
vote
1answer
37 views

libvirt NON TLS connectivity

virsh seems to require TLS even when tls is set to 0 in libvirtd.conf. I would prefer not to use TLS since I am working in an secure environment and as such TLS only adds complication, but doesn't ...
0
votes
1answer
64 views

libvirt management is slow under ubuntu

I've just done a fresh install of KVM/Qemu under Ubuntu 14.04.2 on an older (C2D gen) server with dual quad core xeons and 24 gb of ram. I'm finding that I'm waiting for operations in virsh for around ...
0
votes
0answers
206 views

KVM GPU passthrough working only with cirruslogic vga added, VM goes in paused state if remove cirruslogic and boot with passed-through gpu only

It seems I had this working once but maybe that was when my kernel wasn't trying to load the fglrx kernel module. (I think before it was loading 'radeon' module) Not sure if this was the issue/change ...