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
2
votes
1 answer

virt-install ignoring vnc port/listen?

I'm trying to create kvm machine on remote host. The host is running debian testing. Did use this command: virt-install --name debian-test \ --os-type=linux \ --os-variant=debianwheezy \ --cdrom…
user195086
  • 79
  • 1
  • 1
  • 8
2
votes
1 answer

virt-viewer slower than virt-manager when viewing

I've got a thin client server in which I have a few VM's for users under KVM which I manage through virt-manager. What I've noticed is if I start a VM guest on a thin client using the command 'virt-viewer ' then the guest is painfully slow to move…
map7
  • 59
  • 1
  • 2
  • 15
2
votes
2 answers

libvirt (KVM) inventory application?

I've got a bunch of LibVirt-managed (locally using virsh) KVM VMs on standalone Linux hosts (local KVM, local storage). Is there any web-based application out there that will track the inventory - i.e. what VMs are on what hypervisor hosts, and are…
Jason Antman
  • 1,546
  • 1
  • 12
  • 23
2
votes
0 answers

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: 160G (171798692352 bytes) disk size:…
user160910
2
votes
0 answers

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 Label MBR Size Parent /dev/sda1 …
tungns
  • 113
  • 1
  • 1
  • 5
2
votes
2 answers

How to create multiple clones of a VM in KVM/libvirt?

I (will) have a VM in libvirt (using QEMU/KVM) that I will set up and consider the "gold master". I would then like to be able to clone it 'n' times to create multiple systems. What is the best way to do this, and how best to "individualize" the…
Will Dennis
  • 304
  • 4
  • 16
2
votes
1 answer

Snapshot a KVM guest with non-file storage

I am preparing at least one Windows 7 guest on a KVM Linux (ubuntu) host. I have made an LVM-based storage pool which I would like to use. My main concern is snapshots. The disk-image will be created on a logical volume, without all of qcow2's…
2
votes
1 answer

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 resource agent (ocf:heartbeat:VirtualDomain) Both…
Luke404
  • 5,708
  • 3
  • 44
  • 58
2
votes
2 answers

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 block device to a running guest system through…
aef
  • 1,705
  • 4
  • 24
  • 41
2
votes
3 answers

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 mechanism available for invoking scripts inside…
BlackBeret
  • 123
  • 2
  • 10
2
votes
1 answer

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 peth0 interfaces. After installed libvirt my…
mongaru
  • 161
  • 3
2
votes
4 answers

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 3TB sata drives with software raid and lvm. It has a…
Akarot
  • 143
  • 1
  • 2
  • 10
2
votes
3 answers

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 reading/writing, etc. If you stop a guest, it will…
roktechie
  • 83
  • 1
  • 2
  • 9
2
votes
1 answer

error: internal error process exited while connecting to monitor: Supported machines are:

I'm moving Ubuntu Server guest machines from an Ubuntu Server Host to a CentOS 6 Host machine. My intent is to keep the guests as Ubuntu Servers and just change the OS of the Host. I've moved the logical volume and virsh XML definitions to the new…
Nick
  • 4,433
  • 29
  • 67
  • 95
2
votes
3 answers

Convert libvirt Xen configuration to native

I've configured some virtual machine under Xen on Debian Squeeze using libvirt with virsh. Now I want to get rid of the libvirt layer, because I need to configure some specific parameters on the DomUs that are not supported by libvirt. How can I…
GabrieleV
  • 1,629
  • 1
  • 12
  • 13