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
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

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
  • 61
  • 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
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,159
  • 2
  • 14
  • 29
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
  • 563
  • 2
  • 6
  • 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,060
  • 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
  • 16
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
  • 631
  • 4
  • 10
  • 18
5
votes
2 answers

Change VNC listen address in Libvirt without restarting VM

Is there a way to to edit the listen address of a Libvirt-Machine on the fly? At the moment it seems like when I want to edit the listen address, I have to shut down the corresponding VM first, then edit the xml and redefine the domain. I'm…
user1320304
  • 115
  • 1
  • 1
  • 4
5
votes
3 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…
5
votes
3 answers

KVM booting off-image kernel and existing partition

I am in the process of switching from Xen to qemu-kvm. My current Xen installation has a number of LVM volumes each with a partition (rather than a full disk image). In Xen, I start each VM with a configuration like so: kernel =…
Bittrance
  • 2,970
  • 2
  • 21
  • 27
5
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…
5
votes
2 answers

Network freezes with KVM/libvirt and ip_forward = 1

I'm using KVM and libvirt and experience small network freezes on the host and the guests every 2-3 minutes or so. The freezes last 1-2 seconds. The used OS is Ubuntu 10 LTS server edition. I'm using a standard bridge setup with the host…
Tobias G.
5
votes
2 answers

Why doesn't libvirt cooperate with iptables on fedora 32

I'm trying to use pretty much the default installation of libvirt / kvm on Fedora 32. After installing libvirt, I'm trying to start up the default network: virsh net-start default. But for some reason, there's a number of chains which are missing,…
viraptor
  • 1,264
  • 6
  • 21
  • 40