Live migration without stopping source VM after migration

Is there any possible way to perform live migration using KVM/QEMU/libvirt without stopping source VM after migration? I want to make full consistent backup of VM under KVM hypervisor without stopping of this VM. So idea is to perform live migration without stopping source VM, than after successful migration stop VM on destination host using … Read more

VM running perfectly when its disk image is deleted? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 8 years ago. Improve this question Does anyone has such experience that you accidentally delete the used disk image when virtual machine is running? I would … Read more

how to upgrade libvirt?

I’m trying to install openstack on RHEL 6.2. Following installation guide from openstack.org, I’m using the command: yum install openstack-nova openstack-glance After resolved many dependencies, I got the final error: Error: Package: openstack-nova-compute-2012.2.2-1.el6.noarch (epel) Requires: libvirt >= 0.9.6 Installed: libvirt-0.9.4-23.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2) libvirt = 0.9.4-23.el6 I installed libvirt 0.9.4 from the RHEL 6.2 DVD, but it … Read more

KVM unix socket file permission for VNC

I’m using kvm-qemu/libvirtd for a bunch of kvms. I’m using vnc for the graphical interface. By default, it listens on a tcp socket. I want to have it listen on a unix socket instead. Looking at some docs (http://libvirt.org/formatdomain.html) I see: “Rather than using listen/port, QEMU supports a socket attribute for listening on a unix … Read more

KVM/libvirt: Guest monopolizes bridge

I’m having a problem in which the first guest started on a VM host can send traffic through both of its assigned interfaces, but subsequent guests can only send traffic through one interface. My VM host setup: CentOS 6.7 (kernel 2.6.32-573.7.1.el6.x86_64) libvirt-0.10.2-54.el6.x86_64 qemu-kvm-0.12.1.2-2.479.el6_7.2.x86_64 The host has 4 interfaces: em1, em2, em3 and em4 I bonded … Read more

Usage of libvirt rpc protocol

Where libvirt rpc protocol is used? Is it used inside remote connection communication? I have read that it used between libvirt library and libvirt daemon. Answer The libvirt RPC protocol is a private communications protocol allowing the libvirt.so library to talk to libvirtd daemon. It is not intended for end users to directly access the … Read more

KVM guest cant fetch packages thus it’s reachable from ssh

I am a bit lost regarding my kvm setup. I rented a root server at hetzner.de and now wanted to setup virtualization using libvirt & kvm. I created a bridge br0 which now holds the static server ip (instead of the default interface enp2s0). Linking a /29 subnet to the bridge and assigning a static … Read more