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
3
votes
2 answers

Qemu+libvirt+kvm significant performance lag in VM's

I am troubleshooting poor performance on our new VM host machine which is a Dell PowerEdge R415 with hardware RAID. We've got about 20 VM's running like this: qemu-system-x86_64 \ -enable-kvm \ -name rc.stb.mezzanine -S \ -machine…
3
votes
5 answers

KVM virt-clone while the VM is running

Is it possible to clone a running kvm machine without tools like virt-clone? They already have the original vm in production, I cannot shut it down. If I don't care about temporary data corruption (what an initial fsck can fix) on the clone, can I…
zino
  • 61
  • 1
  • 5
3
votes
2 answers

Installing a Windows guest with virtio in a single step (Debian)

I am trying to create a Windows 7 (32bits) with virtio disk and network in a single step using virt-manager. I've been trying to follow the step-by-step procedure here. However there is no such thing as the following on Debian: # yum install…
malat
  • 186
  • 2
  • 11
3
votes
1 answer

How to disable lbvirt network DNS

Is there a way to disable DNS in libvirt network? I want to have custom configured dnsmasq for local DNS caching but libvirt's dnsmasq holds 53 port.
insider
  • 201
  • 1
  • 7
3
votes
1 answer

Restarting the networking on the HOST makes GUEST lose connection

I am probably missing something but have a KVM virtualized HOST/GUEST setup. The GUEST is using a bridge (br0) on the HOST for internet connectivity. When I make a "/etc/init.d/networking stop ; sleep 5 ; /etc/init.d/networking start" on the HOST…
Onitlikesonic
  • 1,161
  • 4
  • 15
  • 24
3
votes
2 answers

Cut'n'paste between X11 Desktop and the virt-manager VNC graphical console of a Win7 VM guest on a Server

I have a licensed copy of MicroSoft Windows 7 professional installed and running as guest on my Linux server running qemu-kvm. This works just fine. But I was unable to figure out how to Cut'n'paste text selections from a window of the Win7 VM…
pefu
  • 629
  • 6
  • 20
3
votes
1 answer

Windows guest on KVM/Qemu suffers horrible key lag

Host OS is Arch Linux with the following versions:- qemu 2.1.0-2 libvirt 1.2.7-1 linux 3.15.8-1 Guest OS is Windows 7 64-bit. This problem did not exist when I first created this VM and started using it, but rather appeared at some point. I can't…
JohnCC
  • 292
  • 1
  • 6
  • 14
3
votes
3 answers

How to setup IPTables on KVM host - iptables-persistent is being ignored

I'm trying to setup some specific IPTables rules on an ubuntu 14.04.1 host that runs some KVM guests. The box has multiple NICs with multiple IP addresses and the guests use different addresses based on their function. I normally use…
Anonymouslemming
  • 801
  • 2
  • 14
  • 25
3
votes
1 answer

LibVirt (QEMU) Shutting down from inside guest

I am currently running LibVirt with Qemu on Debian Wheezy: Versions: libvirtd (libvirt) 1.2.4 qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's all working perfectly, including ACPI: virsh…
md_5
  • 376
  • 2
  • 11
3
votes
1 answer

How to make my linux vm attach to an openvswitch bridge?

I am following this tutorial: http://networkstatic.net/wp-content/uploads/2012/04/openvswitch.openflow.gre_.tutorial1.pdf In brief: br0 is connected to the actual net, br1 is an isolated bridge to whom I attach multiple vms. Now I want to greate a…
Phate
  • 155
  • 1
  • 8
3
votes
1 answer

How to replace QEMU binary with newer version for libvirt live snapshots

This is my first post, so please be gentle. :) My CentOS 6.5 box has a QEMU binary that does not support live external snapshots. This is the command I attempt on the virsh CLI, and its output: virsh # snapshot-create-as myvm snapshot1 "snapshot1…
billyw
  • 1,552
  • 15
  • 25
3
votes
0 answers

How to config libvirt network setting about disabling dnsmasq "except-interface=lo"?

Here is the thing. My VMs run with libvirt and use default network libvirt-provide, and I've mad each VM registers its hostname to dnsmasq set by libvirt. so I want to look up its hostname for reachable. But the libvirt always enables…
3
votes
1 answer

Allowed cgroup devices for libvirt/lxc container

I want to allow my libvirt/lxc containers to use tun/tap device. In order to do so I for a running container I can add it to the allowed devices by: # echo "c 10:200 rwm" > /sys/fs/cgroup/devices/libvirt/lxc/client-1/devices.allow resulting in: #…
Zabuzzman
  • 733
  • 10
  • 25
3
votes
0 answers

virtualbox to qemu but results in no bootable device qemu

I use vagrant to create my development vm. I exported the vmdk to vdi, and then convert the vdi to img. cd virtualbox_dir/test_vm VBoxManage clonehd test_vm.vmdk raw.vdi 0% ..... 100% qemu-img convert raw.vdi raw.img virsh create testvm.xml But I…
Daniel Huger
  • 213
  • 3
  • 10
3
votes
0 answers

Debian Squeeze Preseed Installation “The current kernel doesn't support the Logical Volume Manager. You may need to load the lvm-mod module.”

I'm attempting to install Debian Squeeze via an instalinux.com image pre-seeded with more or less default settings. (Only notable addition is the openssh server, which is a clickable option in the Instalinux interface) It is however raising the…
Lee Hambley
  • 340
  • 3
  • 12