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
702 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 ...
1
vote
1answer
261 views

Apply libvirt nwfilter without editing of XML

Is it possible to apply libvirt's network filter to a KVM guest without manually editing the XML (for use in scripts)? Or is there any easy way of pushing the network filter configuration into ...
4
votes
2answers
4k views

Change VNC listen address in Libvirt without restarting VM

Is there a way to to edit the listen address of a Libvirt-Machine on the fly? At the moment it seems like when I want to edit the listen address, I have to shut down the corresponding VM first, then ...
8
votes
3answers
347 views

Technology for short-lived private VMs

I'm trying to build a system that will run short-lived (CI and test builds) of software components, it's mandatory according to my requirements that each live on a private host. I'm taking that ...
2
votes
0answers
549 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
78 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 ...
0
votes
1answer
491 views

Different behavior of ubuntu-cloud image between LXC and libvirt-lxc

I've used ubuntu-cloud template as LXC containers, and they all worked fine. Recently I switched to use libvirt-lxc, and followed instructions in Ubuntu document, but the image initialized differently ...
1
vote
1answer
2k views

Guest system managed by libvirt doesn't start after successful installation

Host system — Ubuntu 12.04. Virtualization — KVM. Disks — LVM. Guest system installation was successful. But after restart: Booting from Hard Disk... Boot failed: could not read the boot disk ...
1
vote
2answers
1k views

Wake-on-lan to trigger virtual-machine with kvm and libvirt

I'm doing virtualization with KVM and managing via the Libvirt daemon. How do I start a virtual machine via wake-on-lan?
1
vote
1answer
367 views

Pacemaker cluster: Xen RA vs libvirt RA

Building a pacemaker cluster to manage Xen domU virtual machines the sysadm can choose between to different resource agents: the dedicated Xen resource agent (ocf:heartbeat:Xen) the libvirt based ...
-1
votes
2answers
668 views

how to upgrade libvirt?

I'm trying to install openstack on RHEL 6.2. Following installation guide from openstack.org, I'm using the command: yum install openstack-nova openstack-glance After resolved many dependencies, I ...
1
vote
1answer
299 views

libvirt : Host - Guest can't get the correct route to make both pingable

I'am runing A Ubuntu server as a Host, and I've a CentOS guest hosting an oracle database. Everything was working just fine, until someone init 6 the server (What a great idea!). So I've to ...
8
votes
1answer
1k views

KVM/Qemu, Ubuntu: Why do more guests CPUs enhance Disk-I/O rapidly?

We have an Heartbeat/DRBD/Pacemaker/KVM/Qemu/libvirt cluster consisting of two nodes. Each node runs Ubuntu 12.04 64 Bit with the following packages/versions: Kernel 3.2.0-32-generic #51-Ubuntu SMP ...
2
votes
2answers
5k views

Any way to release focus on a KVM guest in virt-manager without having to click Ctrl_L + Alt_L?

Is there a way to move my mouse in and out of a KVM guest in virt-manager without having to click to gain focus of the window and release focus by pressing Ctrl_L+ Alt_L? BACKGROUND I typically ...
12
votes
1answer
16k views

KVM and Libvirt - How do I hotplug a new virtio disk?

I am trying to hot-add a file-based disk to a running KVM virtual server. I've created a new disk from scratch using the command dd of=/home/cloud/vps_59/test.img bs=1 seek=5G count=0 and I was ...
2
votes
1answer
686 views

How do I prevent libvirt from adding iptables rules for guest NAT networks?

Similar to this old request on BugZilla for Fedora 8, I'm hoping something has changed since then or someone knows another way. I want to manage the iptables rules by hand—the one-size-fits-all ...
1
vote
1answer
854 views

KVM-qemu libvirt multiple interfaces in vms - how to control?

Running Ubuntu 12.04 we have 12 interfaces on the hypervisor which we want to expose in each vm. When we use only interface elements in the xml, we get the interfaces but we can't predict/control ...
1
vote
1answer
5k views

Adding Virtio block devices at runtime in Libvirt KVM

I'm running Debian Wheezy Beta 4 with KVM based guest systems which run the same operating system. I'm using LibVirt to manage the virtualisation. What I would like to do is to attach an LVM based ...
0
votes
1answer
1k views

libvirt upgrade caused vms to not see drives (boot media not found)

I upgraded to Ubuntu 12.04.1 and now libvirt (via open nebula) successfully runs vms but they aren't finding the 2 drives (specifically, the boot drive). One is "hd" the other is "cdrom". The machine ...
2
votes
3answers
226 views

Invoking a script inside a KVM guest, before networking is available?

With VMware's PowerCLI you can invoke a script inside a guest, even before the guest has network conenctivity, using the Invoke-VMScript Cmdlet (requires vmtools to be installed). Is there a similar ...
0
votes
1answer
195 views

listing of VM's created before libvirt installation or started by any other VM management tool

if my VM's are not created using virt-manager or are created using any other tool, then virsh system list command does not give them in the list of running VM's however they are running perfectly on ...
0
votes
1answer
141 views

lgcrypt not found while compiling libvirt

I am compiling libvirt. while compiling I got to install a lot of libraries which were appeared as dependencies. but I am not able to resolve the following error: linux/bin/ld: cannot find -lgcrypt ...
1
vote
1answer
336 views

KVM hypervisor remote access without libvirt

I am a newbie in the area of Linux KVM virtualization. Can anybody help how to connect to my KVM hypervisor from a remote Linux machine without using LibVirt or any other third party library. I have ...
3
votes
1answer
239 views

2xAMD Opteron 6128 with libvirt, Physical CPU 13 doesn't exist

I need help with libvirt(?) problem. Server specs: ProLiant DL165 G7 2x AMD Opteron(tm) Processor 6128 System: Debian GNU/Linux testing (wheezy) 3.2.0-3-amd64 libvirt 0.9.12-5 kvm ...
1
vote
1answer
124 views

Flexible virtualization infrastructure Design with libvirt

I'm going to install a CentOS6 Server with Virtualization ( libvirtd ) capabilities on a DELL Server with Hardware RAID5 of around 6T of disk space ( It has 4x2T disks in a PERC700 RAID Controller ). ...
0
votes
1answer
367 views

Using virsh to control KVM and openvz

On different servers I'm using virsh to manage openvz containers or KVM guests. No I have a server with both, KVM and openvz installed and would like to controll both with virsh. I can't figure out ...
1
vote
2answers
1k views

Accessing guests on virtual network when connected to host via PPTP

I'm setting up a development machine which runs Ubuntu 12.04 and KVM for virtualization. I have a guest running Ubuntu 12.04 which can be accessed from the host via its IP address which is assigned by ...
1
vote
1answer
30 views

List all files with specified selinux context

How do I list all the files with specific selinux context such as - 'system_u:object_r:svirt_image_t:s0:c332,c575' etc ??
1
vote
2answers
234 views

Measure the migration time

I am using KVM through virt-manager to test the performance in terms of migration speed on different types of network. However, I can't find any documents detailing on measuring the migration time. ...
2
votes
1answer
414 views

xen and libvirt bridge configuration

I have a Centos 5.5 server with Xen 3.2 and libvirt for virt-manager installed. Before installed libvirt I have the bridge configuration just like the documentation on Xen says: xenbr0, eth0 and ...
2
votes
4answers
265 views

Assign KVM VM to a user (KVM user authorization)

I would like to give my friend a VM on my dedicated server, and I want him to be able to restart the VM or change the iso - so basically I would like the same features as a VM hosting provider, e.g. ...
2
votes
3answers
3k views

KVM booting off-image kernel and existing partition

I am in the process of switching from Xen to qemu-kvm. My current Xen installation has a number of LVM volumes each with a partition (rather than a full disk image). In Xen, I start each VM with a ...
2
votes
2answers
4k views

KVM/Libvirt bridged/routed networking not working on newer guest kernels

I have a dedicated server running Debian 6, with Libvirt (0.9.11.3) and Qemu-KVM (qemu-kvm-1.0+dfsg-11, Debian). I am having a problem getting bridged/routed networking to work in KVM guests with ...
0
votes
1answer
1k views

CentOS libvirt reboot

I've noticed the following status message after system update (on SL 6.1 - yum update): # /etc/init.d/libvirtd status libvirtd dead but pid file exists one of the updated packages was "libvirt". ...
1
vote
1answer
2k views

Libvirt: Can't shutdown or reboot virtual guest

I can't reboot or shutdown the guest vm from the host machine virsh -c qemu:///system reboot vm1 Domain vm1 is being rebooted After executing this, nothing happens. The guest vm keeps working. ...
0
votes
1answer
3k views

Libvirt / QEmu Machine Fails and Refuses Restart Because of Memory Allocation Errors

I'm having a problem with libvirt. On a system restart all virtual machines (VMs) are started without a problem and keep running. Then at some point in time a set of machines shuts down according to ...
7
votes
1answer
2k views

How do I make a persistent domain with virsh?

virsh create somefile.xml creates my machine just fine but when I shut the machine down the whole thing disappears. Machines I made with the virt-manager GUI are persistent (stick around after ...
5
votes
2answers
8k views

optimal settings for win7 64 guest on kvm 64 host managed with libvirt

I am using libvirt to control kvm on a fairly new (core i3) host running Debian Squeeze amd64. The Host as well as Linux guests work and feel fast and responsive. Simply installing Win7 with ...
1
vote
1answer
3k views

Where should CentOS users get /usr/share/virtio-win/drivers for virt-v2v?

I need to migrate a number of virtual machines from VMware ESX to CentOS 6 KVM hypervisors. Ultimately, I wrote an RPM spec file that solved my problem at ...
2
votes
4answers
4k views

KVM slow guest i/o

Host: Debian 6.0 (squeeze) with qemu-kvm and libvirt from squeeze-backports ii qemu-kvm 1.0+dfsg-8~bpo60+1 ii libvirt-bin 0.9.8-2~bpo60+2 Has ...
1
vote
3answers
4k views

NAT via iptables and virtual interface

I'm trying to implement the following scenario: One VM-host, multiple guest VMs, each one gets its own IP-address (and domain). Our server has only one physical interface, so the intended use is to ...
2
votes
3answers
439 views

Recovering running KVM guest disk image

I am running several KVM guests on an Ubuntu 10.04 host. Due to carelessness, the qcow2 images of the running hosts have been deleted. They are still running and responding properly as well as ...
1
vote
0answers
271 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 ...
2
votes
1answer
708 views

capping VM IO with cgroups

I'm using cgroups to cap disk IO that a VM does by using libvirt's support for cgroups. So, I'm getting the major/minor number of the device from a 'ls -lL' on the drive where the '.img' file for the ...
8
votes
2answers
7k views

Monitor VM's resources (CPU, RAM etc)

I'm testing Openstack and i'd like to know how can i find out about resource utilization inside instances (Virtual Machines). Openstack uses kvm, qemu and libvirt in my testing environment. Is there ...
0
votes
1answer
538 views

Routing table with two NIC adapters in libvirt/KVM

I created a virtual NAT network (192.168.100.0/24 network) in my libvirt and new guest with two interfaces - one in this network, one as bridged (10.34.1.0/24 network) to the local LAN. The reason for ...
3
votes
1answer
7k views

virt-manager can't open the display

My virt-manager was working just fine and all of a sudden stopped working, throwing in error: RuntimeError: could not open display root@rakcal ~]# echo $DISPLAY localhost:10.0 [root@rakcal ~]# ...
1
vote
3answers
607 views

CLI-Based monitoring tool for KVM

I am developing a scheduler for running VMs on KVM. The scheduling has over-commitment of resources like memory and CPU. For this, I need a CLI-based monitoring tool that keeps me giving information ...
0
votes
1answer
322 views

Slow performance by PHP directory operations on virtual machine (Ubuntu libvirt)

Some days ago I installed an Ubuntu server and two running virtual machines with libvirt. Everything works fine except one performance problem. Everytime when I call a PHP script with directory ...
8
votes
2answers
255 views

Can i pause VM's while power-cycling iscsi storage array

Unfortunately I may have to power-cycle my storage array. In the context of using KVM with libvirt managing the Virtual Machines where i need to power-cycle the storage array, is it possible or even ...