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

Bandwidth monitoring on KVM

Is it possible to monitor/limit bandwidth for KVM guests? I'd like to give people VMs on my server but I want to be careful not to go over my monthly bandwidth limit. The only places I can find that support this are 'cloud' frameworks, I'm guessing…
6
votes
3 answers

Routing networking on kvm

There are a lot of configuration used for Kvm-networking. But i'm not able to get to the guest from the host or outside. I'm working on Ubuntu 11.04. On the guest i've a WindowsXp with dhcp. I want the guest to be in the same network of the host.…
nevios
  • 120
  • 1
  • 1
  • 7
5
votes
0 answers

KVM: What is stored in var/lib/libvirt/qemu

My Question is "What is stored in the /var/lib/libvirt/qemu folder?" Is this used as somekind of backup folder ? Backgroundinformation: I have a Debian Server with a running KVM installation(+libvirt) and ~ 15 running VMs. And i want to understand…
KVMUser123
  • 51
  • 1
5
votes
4 answers

custom dnsmasq (or custom options) with libvrt?

Currently only two options related to network boot are available in libvirt via bootp options: server and file So for config like this: this code gets generated: dhcp-boot=test.ipx,,10.10.10.2 1) How…
gerasalus
  • 231
  • 1
  • 2
  • 5
5
votes
4 answers

How to create a environment where each user's vm is isolated

I want to know if it is possible to create a multi user environment using KVM libvirt that is each user can create there own vm but that must not be accessible by others saw this Multiuser use of virt-manager seems like its not working EDIT1: I want…
Dravigon
  • 81
  • 9
5
votes
5 answers

Web-Based Virtual Machine Manager

I am looking for a web-based virtual machine manager, which will work on our Ubuntu server. Ideally, I need something that our team can use to create a VM, test builds and packaging and then either restore to the original state or delete. libvirt…
5
votes
1 answer

Libvirt guest destroyed after shutdown

I have created a VM withLibvirt and when I shut it down whether forcefully or with ACPI, it gets deleted. I create it: deneme2 2097152 1 hvm
Mustafa
  • 205
  • 3
  • 9
5
votes
2 answers

State of VM after 'virsh save'

virsh save vm_name memdump and then virsh restore memdump restores a (running) VM all right. However, a VM is shut off after virsh save. I'm writing a "live" backup and restore script for KVM VMs, so in the backup part I obviously need a VM running…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
5
votes
1 answer

How to configure and use qemu-guest-agent in Ubuntu 12.04? My main aim is to get the IP address of guest VM from Host machine

In the documentation it is not very clear that how to install and use qemu-guest-agent in Ubuntu 12.04. So can anyone help me out ? http://wiki.libvirt.org/page/Qemu_guest_agent It is a daemon program running inside the domain which is supposed to…
A-B
  • 573
  • 2
  • 7
  • 17
5
votes
3 answers

How do I disable the metadata lookup at cirros boot?

I am booting cirros VMs outside of an Openstack environment using libvirt. At boot, the VM checks for metadata twenty times, which adds a lot of latency to the boot time. cirros-ds 'net' up at 6.14 checking…
Jeff Loughridge
  • 1,074
  • 2
  • 7
  • 18
5
votes
2 answers

Remote automated provisioning to a XenServer Hypervisor

I'm currently working on a project where I use Vagrant with Ansible provisioning to create local environments in VirtualBox. I'm currently working with a University and we have a XenServer Hypervisor (free edition). I can't access the hypervisor…
djsumdog
  • 1,100
  • 2
  • 16
  • 29
5
votes
1 answer

Poor network performance with KVM (virtio drivers) - Update: with vhost_net

I've set up several KVM based networks before, and never encountered this issue, can't for the life of me think what I'd have set up differently previously. Setup Basically, Ive got and entirely Dell Stack: 2x Dell N2024's (stacked gigabit…
kwiksand
  • 463
  • 1
  • 8
  • 17
5
votes
5 answers

Why I can't save network changes with virsh?

I am trying to add fixed address to specific virtual host, therefor I closed virtual machine and used sudo virsh net-edit somenet. After adding line I saved and quit.…
wk.
  • 281
  • 1
  • 2
  • 14
5
votes
1 answer

KVM: Run a script when a guest is shutdown from within?

I am running KVM as virtualization engine. Is there a way to make QEMU/libvirt run a script on the host when a guest is shutdown from within (shutdown -h now)? I want to be able to run some custom clean-up tasks when a guest is stopped.
Daniele Testa
  • 661
  • 4
  • 10
  • 18
5
votes
4 answers

Wake-on-lan to trigger virtual-machine with kvm and libvirt

I'm doing virtualization with KVM and managing it via the Libvirt daemon. How do I configure Libvirt or KVM to listen for Wake-On-Lan packets sent the the Virtual Machine's NIC's MAC address and to start the Virtual Machine when such a packet is…