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

2
votes
0answers
129 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'> <name>...
2
votes
0answers
87 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
2
votes
0answers
288 views

Force libvirt to pass always the same device number to the guest on USB device reconnection

I have a HP plotter connected with a USB cable to a debian server through a USB hub. On the server there is a virtualized Windows XP. Everytime I reboot the plotter a different device number is ...
2
votes
0answers
181 views

LibVirt (QEMU) Shutting down from inside guest

I am currently running LibVirt with Qemu on Debian Wheezy: Versions: libvirtd (libvirt) 1.2.4 qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's ...
2
votes
0answers
88 views

Change sender-IP for VM in libvirt behind NAT

I have a server with my own public /28 IPv4 Network. On this server I have some vServers, done with KVM/libvirt. These vServers are connected with a virtual network, NATed to the internet. Every ...
2
votes
0answers
971 views

How to config libvirt network setting about disabling dnsmasq “except-interface=lo”?

Here is the thing. My VMs run with libvirt and use default network libvirt-provide, and I've mad each VM registers its hostname to dnsmasq set by libvirt. so I want to look up its hostname for ...
2
votes
0answers
1k views

virtualbox to qemu but results in no bootable device qemu

I use vagrant to create my development vm. I exported the vmdk to vdi, and then convert the vdi to img. cd virtualbox_dir/test_vm VBoxManage clonehd test_vm.vmdk raw.vdi 0% ..... 100% qemu-img ...
2
votes
0answers
676 views

Debian Squeeze Preseed Installation “The current kernel doesn't support the Logical Volume Manager. You may need to load the lvm-mod module.”

I'm attempting to install Debian Squeeze via an instalinux.com image pre-seeded with more or less default settings. (Only notable addition is the openssh server, which is a clickable option in the ...
1
vote
0answers
20 views

KVM/libvirt: NAT forwarding virtual bridge to host bridge

I currently have a VM setup where only a few 'special' VMs are allowed to have outward facing IP addresses and the rest aren't. All of them are configured with two interfaces attached to a virtual ...
1
vote
0answers
30 views

Gentoo virt-manager IO throttling

I have a problem with virt-manager (or qemu/libvirt) installed on gentoo. Here is My virt-manager installed on Debian Jessie: There I have IO throttling but not on my Gentoo: I tried to search ...
1
vote
0answers
81 views

Libvirt & USB Hub Passthrough

I have a virtual machine which I wish to have a USB Hub and all of its devices allocated to a virtual machine. The Hub in question is a USB hub which itself is plugged into one of the ports on the ...
1
vote
0answers
93 views

VNC not working on XEN/libvirt domU - debian jessie

Hi recently configured a brand new server for testing purpose: debian jessie (8.3) xen 4.4 (xl toolstack) virtinst I created and started a new domU through virt-install: virt-install \ --...
1
vote
0answers
25 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
42 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 ...
1
vote
0answers
141 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 (rw,relatime,errors=remount-ro,...
1
vote
0answers
165 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 --...
1
vote
0answers
120 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
152 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 ...
1
vote
0answers
139 views

Access to equally defined VM in different VLANs

I have a working libvirt cluster and in order to perform some paralellization I have duplicated it. At the moment my scenario looks like this: two clusters whose VM definitions are exactly the same, i....
1
vote
0answers
82 views

Why won't my libvirt VM communicate with apt repositories when wget and ping work?

I'm trying to use Vagrant and Puppet to make it easier to duplicate a multi-server setup for our websites. The recommended workflow is to vagrant up the puppetmaster server specifically first, and ...
1
vote
0answers
401 views

libvirt / kvm guests take very long time to start after host reboot

Host system is CentOS 6.5 x86_64. I have setup an Ubuntu guest by following this wiki. The guest works, but: if I reboot the host, it takes a very long time (about 30 minutes on the last reboot) ...
1
vote
0answers
920 views

Live migrate a libvirt/kvm virtual machine with both local and shared storage

I want to use both local (for better performance where it matters) and shared (for big slow disks) storage for a VM. Is it possible to live migrate such a VM? If the storage was pure local, the ...
1
vote
0answers
132 views

how to design network for virtual machines with just one nic

for the past week or so i've been recovering from the shock that i have literally no idea how my isp's network works, by getting a new box and trying to do a sensible design from scratch. our design ...
1
vote
0answers
89 views

Bridging Adapter in Ubuntu 12.04 LTS for KVM

Fresh install of Ubuntu 12.04 LTS with libvert/KVM installed. I have 2 virtual machines that I need need to be on the same LAN as the host. The host has two physical interfaces eth0 and eth1. eth1 is ...
1
vote
0answers
552 views

qcow2 Disk size much bigger than virtual size

What would cause this? ls shows the qcow2 to be 241G, in the VM it only has ~ 160 GB drive, no unpartitioned space. Win 7 VM, Host = EXT4 2.6 Kernel virsh 0.9.10 file format: qcow2 virtual size: ...
1
vote
0answers
537 views

nwfilter: Generated firewall rules don't make any sense

I'm trying to configure nwfilter for KVM, but so far I haven't managed to figure out a working configuration. Network setup: The dom0 (Debian 7.1, kernel 3.2.46-1, libvirt 0.9.12) is connected via ...
1
vote
0answers
144 views

KVM .img can not boot after resized by virt-resize

I have a CentOS 6.4 image install by KVM on Ubuntu 12.04 amd64 host. Here is the disk layout of centos.img # virt-filesystems --long -h --all -a centos.img Name Type VFS ...
1
vote
0answers
86 views

Domus Memory Used Issue With Xen On CentOS

Anyone know why I'm receiving this error? I compiled latest libvirt from source, I also tried with various rpm. I would like to get memory used by domus and it looks like it's not working with Xen 3 ...
1
vote
0answers
302 views

libvirt timing out. parted blocked messages in kern.log

I'm using Ubuntu 10.04.4 LTS to host KVM virtual machines. I'm using eucalyptus to manage them and having a lot of issues with libvirt not being able to interface with the KVM components and timing ...
0
votes
0answers
19 views

How to assign ipv6 to my kvm guests route mode

Do you know how assign ipv6 global addresses to my KVM Guests?My ISP provider advertise an ipv6 prefix /64.I use libvirtd an here is configuration. When i restart virbr0 cant communicate with local ...
0
votes
0answers
11 views

libvirt vhba storage pool configuration

I'm running a project where I will use libvirt NPIV/vhba functionality to pass Fc LUN's from a SAN to KVM virtual machines. I'm using CentOS7 as host. I will also mostly use CentOS7 as guests. I got ...
0
votes
0answers
19 views

OpenStack instances power off by itself

Already asked this over on ask.openstack.org but I figured it would get more views here too. I am running OpenStack Mitaka on a 5 node cluster, 1 controller/network node and 4 compute nodes. I am ...
0
votes
0answers
23 views

virt-install fails when binding to spice socket

I'm trying to set up a Windows 2008 server virtual machine on CentOS 7 with virt-install. I currently have two linux containers running without issue. The command I'm running to set up the VM is virt-...
0
votes
0answers
22 views

Need disk UUIDs in KVM guests

I'm porting a virtual server cluster solution from ESX to KVM (libvirt) and am running into a bit of trouble. In order for our propietary volume manager to label and slice the virtual disks, we had to ...
0
votes
0answers
31 views

LXC containers cannot connect outside of VM

I have two CentOS 7 LXC containers on a RHEL 7.2 VM using virbr0 as a virtual bridge. Originally, container1 could connect out and do e.g. yum installations, but after I created container2, neither ...
0
votes
0answers
26 views

Virsh cannot connect to Xen server

I have installed the latest version of Xen server 6.5. Now I want to connect to it with virsh (libvirt-bin). When I do this I get the error error:end of file while reading data: sh:nc:command not ...
0
votes
0answers
10 views

From what file/script libvirt inject rules in iptables when I start service libvirtd?

Everybody know that libvirt have his own list of rules for iptables, that he automatically inject in our iptables, after we start service libvirtd Problem: After standard installation of KVM and ...
0
votes
0answers
84 views

How to boot livecd linux distro under kvm virtualization with virt-install or virsh?

I am trying spin up a small livecd linux distro with virt-install under KVM and got access to it via virsh console. And I am kinda loss with --location, --livecd and --cdrom parameters. How should I ...
0
votes
0answers
13 views

KVM virt-install pxe options

I want to boot my vm up to the PXE server, but I need a way for my dhcp server to recognize that it is a virtual machine and set the next-server to a specific IP. Are there any other options I can ...
0
votes
0answers
25 views

KVM - libvirt qemu script make duplicates in iptables

OS: CentOS 7 Firewall: iptables libvirt: 1.2.17 Problem: I used guide to make port forwarding from host to gues machines. Link to guide: http://wiki.libvirt.org/page/Networking#...
0
votes
0answers
20 views

Foreman Error creating compute resource

I'm using Ubuntu 14.04. I'm trying to make a compute resource in foreman using libvirt. I followed the instructions, but I keep getting the following error when I enter my url: "Unable to save ...
0
votes
0answers
13 views

Start KVM with readonly CD image from libvirt on Debian jessie

I have a Debian jessie machine that has a network share containing ISO images mounted from another server, with the share being readonly. Now I'd like to start a new VM, using an image from the share ...
0
votes
0answers
12 views

Creating a new libvirt VM based on existing snapshots

I have a libvirt/qemu-VM with multiple snapshots. (I can for example use virt-manager to see those snapshots.) Is there a way to clone this VM completely keeping all the snapshots? Is it otherwise ...
0
votes
0answers
10 views

Unable to access VM after DHCPACK libvirt

The installation of a particular software makes my VM lose its connectivity. The point where it hangs is 2016-04-05 16:49:11.996 | Listening on LPF/o-hm0/fa:16:3e:b2:43:4c 2016-04-05 16:49:11....
0
votes
0answers
39 views

KVM/libvirt: Using virtio disk driver in Debian installer

I try to install Debian in a KVM-based VM using the virtio disk driver/bus and virt-install to run the installer. However, it seems that the installer lacks the virtio driver. Once I switch to bus=...
0
votes
0answers
8 views

libvirt-Can I use 'virsh save' this command only get 'vm physical memory'?

I use 'virsh save ' to create an image,but I only want to get 'vm physical memory'.I don't know how to do it now.If you know the answer please tell me.Thanks!
0
votes
0answers
18 views

how to change or modify libvirt xml domain definition?

first of all excuse my bad english. I would like to know if it is possible to modify default xml domain definition location (/etc/libvirt/qemu). I would like to change this default path. tanks your ...
0
votes
0answers
28 views

Xen+Libvirt: How to use PVH mode with Libvirt?

PVH mode is an hybrid of PVHVM and PV modes, where you use both virtualization and paravirtualization techniques for improved guest performance. It's been introduced around Xen 4.4. I'm using Xen 4.6 ...
0
votes
0answers
39 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' ...
0
votes
0answers
166 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 ...