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.

610 questions
3
votes
1 answer

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 Booting from Floppy... Boot failed: could not read the…
3
votes
1 answer

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:1.1.2+dfsg-2 $ grep processor /proc/cpuinfo | wc -l 16 $ virsh…
3
votes
4 answers

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. Linode. I guess the easiest solution would be to…
user1320304
  • 115
  • 1
  • 1
  • 4
3
votes
2 answers

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 newer kernels (>2.6.38). NATted networking works…
SharkWipf
  • 341
  • 1
  • 3
  • 11
3
votes
1 answer

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 VM is located. However, when I try to cap the IO,…
vineet
  • 31
  • 2
3
votes
2 answers

Undefine all inactive domains

I have multiple inactive domains in libvirt and I want to delete them all: # virsh list --inactive Id Name State ---------------------------------- - instance-0000000c shut off - instance-0000000f shut off -…
Lorin Hochstein
  • 4,868
  • 15
  • 54
  • 72
3
votes
1 answer

Virt-manager: unable to open a connection to the libvirt management daemon

I'm having a bit of trouble connecting to my virtual machine host, which is an Ubuntu server running KVM/Libvirt. I can connect to the server using an Ubuntu client and I can connect via virsh on a Fedora 16 client. Unfortunately, connecting via…
bshacklett
  • 1,378
  • 4
  • 19
  • 37
3
votes
1 answer

how to install a CentOS 6.0 KVM guest on a CentOS 6.0 host server with virt-install and PXE

The host server (running CentOS 6.0) only has one public IP address and will be hosting many KVM guests so it needs to use a virtual network switch configuration in NAT mode. I have previously used pxelinux for automated installation of physical…
Erik Sjölund
  • 1,965
  • 5
  • 21
  • 26
3
votes
3 answers

libvirt + ESX (HTTP response code 400 for call to 'Login')

I'm trying to connect to a vSphere cluster using the information from the libvirt documentation. $ virsh -c "vpx://root@10.51.4.11/dc1/dc1-cluster-e01/dc1-vsphere-e04/?no_verify=1" Enter root's password for 10.51.4.11: error: internal error HTTP…
Coops
  • 5,967
  • 1
  • 31
  • 52
3
votes
2 answers

LibVirt: Disk image has wrong size inside guest

I'm creating a new virtual disk using the following command*: $ virsh vol-create-as --format=qcow2 guest-disks disk_instid.24_diskid.30 8192M Vol disk_instid.24_diskid.30 created The "guest-disks" pool is a simple "dir"-Type pool. As you see, the…
Dave Vogt
  • 257
  • 2
  • 12
3
votes
4 answers

KVM-Guest does not boot: qemudParsePCIDeviceStrs

I have a Server running Ubuntu 10.10 Server-Edition kvm, and libvirt (both ubuntu-native packages) HDD-Partitioning was done with LVM. Then I created some VMs with Virt-Manager and assigned LVM-Volumes to the VMs. Now the VMs do not boot.…
markus
  • 185
  • 5
  • 10
3
votes
1 answer

libvirt, qemu, reboot hook

Is it possible to detect that the guest VM has rebooted and perform an action using libvirt / qemu? The hooks here only support the "start" and "stop" events. I would like to detect if my VM has rebooted. HOST is running ubuntu 10.04 GUEST is…
bradgonesurfing
  • 261
  • 1
  • 4
  • 6
3
votes
2 answers

How do I run a stable Windows XP kvm guest on Ubuntu 10.04?

I have three Windows XP guests running on a recently upgraded 64-bit Ubuntu 10.04 system. Occasionally (on the order of once every few days), one of the guests will become non-responsive and the kvm process on the host which is running that guest…
3
votes
1 answer

Any non-custom way to manage iptables with fail2ban and libvirt+kvm?

I have an Ubuntu 9.04 server running libvirt/kvm and fail2ban (for SSH attacks). Both libvirt and fail2ban integrate with iptables in different ways. Libvirt uses (I think) some XML config and during startup (?) configures forwarding to the VM…
Peter Hansen
  • 156
  • 10
3
votes
3 answers

KVM "live migration finished" detection

I'm using KVM (through libvirt actually) for a research project. We're live-migrating a virtual machine between different subnets, so after the migration the IP address and routing tables have to be updated, else the VM is unreachable in it's new…