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

Technology for short-lived private VMs

I'm trying to build a system that will run short-lived (CI and test builds) of software components, it's mandatory according to my requirements that each live on a private host. I'm taking that definition to include paravirtualsation options as…
Lee Hambley
  • 340
  • 3
  • 12
8
votes
2 answers

Can i pause VM's while power-cycling iscsi storage array

Unfortunately I may have to power-cycle my storage array. In the context of using KVM with libvirt managing the Virtual Machines where i need to power-cycle the storage array, is it possible or even advisable to : pause the VM's flush and turn…
8
votes
4 answers

Using virt-install and http preseed to do unattended ubuntu 10.04 install

The virt-install command line I used is below sudo virt-install kvm ubuntu -v sudo virt-install -v -n golden-egg -r 256 --disk path=/var/lib/libvirt/images/golden-egg.qcow2,size=5 --os-type linux --os-variant ubuntulucid --force…
bradgonesurfing
  • 261
  • 1
  • 4
  • 6
7
votes
6 answers

How to detect hypervisor host name/IP from inside a KVM virtual machine?

We have a small fleet of KVM/libvirt hosts with a few hundred virtual machines on it, managed by a group of sysadmins in disparate locations. I've run into a problem where I am connected to a virtual machine by SSH, but I can't figure out the name…
Patrick
  • 425
  • 1
  • 4
  • 9
7
votes
2 answers

Monitor VM's resources (CPU, RAM etc)

I'm testing Openstack and i'd like to know how can i find out about resource utilization inside instances (Virtual Machines). Openstack uses kvm, qemu and libvirt in my testing environment. Is there any way to get those stats without logging in…
Simon
  • 213
  • 1
  • 2
  • 4
6
votes
1 answer

How to set keyboard layout with a VNC client to KVM (libvirt)

I have both kvm guests and hosts installed on a Debian 9.9 with kde on an AMD Machine qemu-kvm 1:2.8+dfsg-6+deb9u7 amd64 When connecting with a virt-viewer, my keyboard layout is working (fr-ch) actually, I don't know where…
Philippe Gachoud
  • 1,517
  • 15
  • 20
6
votes
2 answers

How to Restart Centos 7 KVM Host safely without corrupting guest VMs/data?

I want to have a KVM virtualized server with few VMs (with different Guest OSs) in production. Now when I want to install kernel/package updates for the host machine, how to restart the hypervisor without corrupting any VM data? (when there are some…
Tonmoy
  • 235
  • 2
  • 7
6
votes
1 answer

host port forward with qemu through libvirt in user-mode networking

I'm having trouble editing my libvirt's host-xml to make qemu forward TCP connections to the guest. This questions linked to a blog post which recommended adding -redir to the Qemu command line. But that stopped working as of recently. error:…
6
votes
1 answer

Prevent hijacking IPs in KVM/libvirt

How can I prevent a VM user/client from accessing IP addresses he doesn't own but are routed over the same bridge on KVM/Libvirt? IP addresses are routed to a cisco switch vLan consisting of a /24 254 usable addresses eg. 105.100.1.0/24. Here is an…
6
votes
1 answer

Access libvirt+KVM virtual machines with DNS

I have an Ubuntu Trusty machine running KVM + Libvirt to manage small virtual machines, and using the standard NetworkManager to connect to regular networks. I want to be able to access the virtual machines via DNS from the host. Libvirt uses a…
6
votes
2 answers

optimal settings for win7 64 guest on kvm 64 host managed with libvirt

I am using libvirt to control kvm on a fairly new (core i3) host running Debian Squeeze amd64. The Host as well as Linux guests work and feel fast and responsive. Simply installing Win7 with virt-manager standard profile for windows7 takes forever.…
AndreasT
  • 807
  • 2
  • 10
  • 16
6
votes
2 answers

kvm low io performance

performance of my setup is quite good (geekbench, how it 'feels', ...) even disc throughput (libvirt on raw lvm-partition) is very close to the raw performance on the server) but IOP/s are as low as 100-200 guestside (compared to ~1000 hostside) on…
phhe
  • 321
  • 1
  • 3
  • 6
6
votes
2 answers

qemu-kvm/virsh: No network connectivity whilst using bridged networking

I'm having an issue with performing virtualisation via libvirt/qemu-kvm, in which my set up for bridged networking doesn't appear to be working correctly. I've followed every tutorial I can find and spent hours and hours going through forums, but…
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
1 answer

KVM/libvirt: how to migrate between 2 hosts with different CPUs

I tried to migrate my KVM host from a host with AMD cpu to a host with Intel CPU but when I run virsh start guest_name I got error: unsupported configuration: CPU model ... is not supported by hypervisor. I know that KVM supports such a migration…
ndemou
  • 1,215
  • 2
  • 16
  • 27
1 2
3
40 41