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

virsh slow execution

I'm using libvirt with Xen 4. Every time I use the virsh tool, it takes a long time until it's started. I start virsh on the same machine where the Xen hypervisor resides. Example: root@xen1:~#: time virsh list Id Name …
Daniel
  • 2,877
  • 5
  • 20
  • 24
2
votes
2 answers

Libvirt: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory

Debian 6, all libvirt packages are installed. The /etc/pki/ directory is missing. What package is responsible for it?
artem
  • 596
  • 2
  • 10
  • 28
2
votes
1 answer

freebsd iso install on KVM - timer freezes

Trying to boot freebsd iso on KVM/libvirt [debian host] Timer shows: 10 sometimes is 9 or even 7. and that's it, count down stops.. Found some information that it's a bug with newest qemu and my kernel version. iso used is: amd64. machine has 2cpu…
holms
  • 1,464
  • 7
  • 20
  • 37
2
votes
1 answer

can't ping/ssh new libvirt instance

I have a working virtual host that was Ubuntu-Server Lucid (10.4). I've been using it for a while and has several functional guests created on Lucid. Today I upgraded to Maverick, then to Natty (11.4). Upgrades went fine, all my old guests come up…
jsharpe
  • 131
  • 1
  • 2
2
votes
1 answer

kvm snapshot (libvirt)

Iam managing kvm by libvirt and using qcow2 file format. I can create snapshots of running wm with snapshot-create command, but if I transfer my qcow2 image to another host and define transfered host by virsh define, I cant see snapshots created…
2
votes
4 answers

physical to virtual (kvm) migration with saving IP of guest and reusing it at host

I want to do a physical-to-virtual migration of BSD server, saving the IP address. The destination virtual host is Linux/KVM. The current setup: I had a BSD server with failed Hardware. I have just replaced it with a new server, and its HardWare is…
osgx
  • 583
  • 11
  • 26
2
votes
1 answer

Snapshot/rollback in Kvm using DRBD

I want to use the HA on a virtual machine on two server using KVM/libvirt. I placed the image on a partition using DRBD. I'm using the qcow2 format and i'm taking the snapshot, using virsh snapshot-create vm I think that it saves it in the qcow2…
nevios
  • 120
  • 1
  • 1
  • 7
2
votes
1 answer

How do I create a bridged virtual network for libvirt+KVM+ubuntu-server the easy way?

I see lots of documentation on how to manually set up a network bridge and then manually add vm's tun devices to these bridges and then write a shell script that glues it all together. lots of work, very manual, and not impressive. On the other hand…
Arthur Ulfeldt
  • 3,219
  • 9
  • 31
  • 40
2
votes
1 answer

How do you determine the location of a Vagrantfile from virt-manager?

OS is Debian 10, vagrant provider is libvirt. vagrant global-status is supposed to provide information on all vms on a system, but I can see shutoff and running vms in virt-manager that are not listed by vagrant global-status. I have only used…
cat pants
  • 2,139
  • 10
  • 33
  • 44
2
votes
1 answer

two physical kvm hosts with multiple guests, private network

I have two physical hosts which run debian lenny with kvm. They have one nic which connects to the internet and another nic which is a cross-link to each other, for a faster private net. On this kvm hosts run different guest hosts. Each guest has…
yvess
  • 413
  • 4
  • 14
2
votes
0 answers

How to diagnose and fix issues causing libvirt guests to become unbootable after many reboot cycles?

I have encountered a couple of times that a previously functioning Guest simply starts freezing on boot. (I have now reverted my VM to a previous working snapshot, so I cannot directly start up the broken guest to see what's going on.) I would like…
user9794
  • 21
  • 2
2
votes
1 answer

qemu-kvm guest OS can access host using bridge, but cannot access other devices on same network

I want to run a qemu-kvm guest with Debian 9 as its OS on a Debian 10 host. The host is connected to the local network, and I would like the guest to be "visible" to the local network as if it were a regular device connected directly to the network.…
ngj
  • 123
  • 1
  • 4
2
votes
1 answer

libvirt KVM virtualisation - define some guests to use one NIC, others to use a different NIC?

I am running 30 libvirt-defined KVM VMs on a server with two physical NICs (1Gbps). Currently I'm using NATted virtual networks, defining the VMs' interfaces (as part of a full VM definition, not a separate network definition) like this:
turbonerd
  • 76
  • 5
  • 19
2
votes
0 answers

Virtual machine network issue with host and ping service checks (within Nagios Core and from command line)

I have got a Ubuntu server guest virtual machine (installed via virt-install) which runs Nagios Core monitoring but there is a major issue with the monitoring (i.e. ping packet loss / RTA or connection time outs indicated intermittently in the…
2one
  • 131
  • 5
2
votes
2 answers

Terraform Libvirt - How to use local qcow2 file in the hypervisor instead of cloud images?

It seems like the libvirt provider only takes pre-defined cloud images. I create my own base qcow2 image that is local to the hypervisor and wish to use it as source file with terraform libvirtd. Is this doable? Config using cloud image: resource…
vmx1987
  • 21
  • 2