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
1
vote
2 answers

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. With libvirt, you basically just execute the…
Andy
  • 111
  • 1
1
vote
1 answer

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". Is it possible that this caused the issue? if I'll…
HTF
  • 3,148
  • 14
  • 52
  • 82
1
vote
1 answer

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 their log. When I try to restart the machine, I'm…
Elmar Weber
  • 492
  • 1
  • 7
  • 18
1
vote
1 answer

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 https://github.com/fasrc/virtio-win/blob/master/virtio-win.spec but I'm not sure if there's…
Philip Durbin
  • 1,591
  • 2
  • 15
  • 24
1
vote
3 answers

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 add virtual interfaces on eth0. To complicate our…
Alex
  • 538
  • 1
  • 4
  • 15
1
vote
0 answers

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 out. This is causing Eucalyptus to think the…
wjimenez5271
  • 729
  • 2
  • 6
  • 16
1
vote
1 answer

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 that is I need to have my own virtual network…
lzap
  • 2,882
  • 2
  • 23
  • 23
1
vote
3 answers

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 about the resource usage of each VM, because it…
1
vote
1 answer

Libvirtd start error

I had to remove libvirt manually using kill. Now when I'm trying to start libvirtd it says error: Unable to initialize network sockets. Check /var/log/messages or run without --daemon for more info. I tried running /usr/sbin/libvirtd and it works…
bonzi
  • 151
  • 1
  • 6
1
vote
1 answer

How to permanently attach USB devices to a KVM vserver?

I run a Server using KVM and virt-manager (over SSH). Currently I have the following devices which I want/need in a KVm virtual machine: +----USB-HUB +- USB Smartcard Reader #1 +- USB Smartcard Reader #2 They have the following entries in…
Peter Meyer
  • 440
  • 1
  • 4
  • 12
1
vote
2 answers

Downloads stuck from a VM run by libvirt (kvm) on Ubuntu 10.04 LTS

I first wrote my problem on stackoverflow thinking it was a Maven proxy software problem. But I realised it was more a problem with my virtualization stack (libvirt 0.7.5-5ubuntu27.19 / kvm 1:84+dfsg-0ubuntu16+0.12.3+noroms+0ubuntu9.16 on Ubuntu…
1
vote
3 answers

Can't connect to remote Xen libvirt with ssh, using virsh or virt-manager

I'm running Xen 4 on a Debian server running Squeeze (stable). I want to connect remotely over ssh using virt-manager or virsh, because I can do that on a Lenny server (oldstable). Xen is installed correctly, booted, I can do # xm list and see…
daks
  • 673
  • 7
  • 25
1
vote
1 answer

Libvirt: create a network bridged to the LAN (eth0)

I have a Xen-enabled host and Libvirtd running on a machine. The LAN (on eth0) is 192.168.1.0/24, and the host has 192.168.1.174 as its main IP address. Now what I want to do is to create a domU instance (using virt-install) and have it on that…
Daniel
  • 3,047
  • 5
  • 22
  • 27
1
vote
3 answers

Unable to connect Xend with virt-manager

I have installed debian 6.0.1a. I have install all XEN stuff. including xen kernel, libvirtd, ... but when i want to connect xend, virt-manager shows me this: Verify that: A Xen host kernel was booted The Xen service has been…
Majid Azimi
  • 547
  • 1
  • 13
  • 29
1
vote
1 answer

KVM and libvirt: How to configure a new disc device to an existing VM?

I've got an Ubuntu 9.04 server running two VM's. In /etc/libvirt/qemu/machine1.xml two disk devices are defined like this: /usr/bin/kvm
initall
  • 2,325
  • 3
  • 18
  • 19