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

Debian Squeeze KVM - No Matter How I Setup Bridge, No Connectivity on Guest

I'm attempting to setup libvirt KVM guests on my server, and I've been messing around for two days now trying to get the guest networking working. So far, I haven't gotten anywhere. My network is DHCP, but I have my server setup to pull a static…
0
votes
1 answer

KVM how to determine which virtual disk files are in use by VMs

I tried lsof|grep *.qcow2 and got no results back (why is that? I definitely have VMs running using that disk format). I also considered grepping qcow2 on *.xml within the config directory, but this wouldn't tell me which were in use necessarily. Is…
user160910
0
votes
1 answer

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 from LXC: Tried to connect to AWS's meta-data…
snowmantw
  • 111
  • 4
0
votes
1 answer

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 boots but fails and displays something like "boot…
bias
  • 225
  • 3
  • 13
0
votes
1 answer

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 my KVM server. Is there a way to list these VM's…
0
votes
1 answer

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 collect2: ld returned 1 exit status I have…
Dr. Death
  • 45
  • 11
0
votes
1 answer

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 how to 'switch' between openvz and KVM. Currently…
Jens
  • 362
  • 2
  • 4
  • 14
0
votes
1 answer

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 operations the operations are very slow and not…
thonixx
  • 211
  • 3
  • 11
0
votes
1 answer

apt-get update can not connect

i run a dedicated ubuntu 10.04 server. i use kvm/libvirt/virsh to run a virtual machine that's also ubuntu 10.04. i bridged the network (1 of 2 IPs is routed via NAT to the LAN, where my VM (192.168.1.111) picks it up. i can locally connect to the…
itsatony
  • 1
  • 1
  • 2
0
votes
2 answers

libvirtError: operation failed: could not query memory balloon allocation

Trying to install kvm vm with virt-manager and I've got this error. This machine has 16gb of memory and I entered 4096MB. What's the problem in here? Unable to complete install ' operation failed: could not query…
holms
  • 1,524
  • 7
  • 20
  • 37
0
votes
1 answer

Sporadic routing(?) issues

We are running several virtual machines using KVM with libvirtd with a routed network (the host systems routes an extra subnet for the virtual machines). Host and Guest OS is Gentoo (host on amd64, guests on x86). The VMs are multi-homed with an…
ercpe
  • 576
  • 3
  • 15
0
votes
1 answer

Libvirt command line arguments using xml config file

I am trying something similar to http://wiki.libvirt.org/page/QEMUSwitchToLibvirt#-s . This is my xml file : rubis_ws
sethu
  • 371
  • 3
  • 16
0
votes
1 answer

Using qemu-kvm images with Mac OS X?

i am a big fan of qemu-kvm, i've several instances running on servers running ubuntu linux. I now wonder if it's anyhow possible to use a virtual server image on an Mac OS X machine. Either by running qemu on OSX or by running any other virtual…
harald
  • 403
  • 2
  • 6
  • 19
0
votes
1 answer

Setting up libvirt with remote access on gentoo: not listening tls port

I'm trying to set up libvirtd on my headless gentoo server. I'd like to have remote control via tls. I've followed libvirt remote access guide, but it don't work for me: client virt-manager shows following error: unable to connect to libvirtd at…
rvs
  • 4,125
  • 1
  • 27
  • 31
0
votes
2 answers

Strange libvirt/KVM issue, destroying instances?

I have a libvirt/KVM server running on Ubuntu 9.04 with a variety of instances I use for testing. I was destroying instances via virsh and occassionally, destroying one instance would take out another. Is this normal? Because it's certainly not…
jtimberman
  • 7,587
  • 2
  • 34
  • 42