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

How to move KVM image to another directory/partition?

My storage devices are mounted as follows: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/md2 193G 35G 148G 19% / /dev/md4 492G 73M 466G 1% /mnt My KVM image is located at /kvm/vhdd/ which is on partition…
Piduna
  • 501
  • 3
  • 10
  • 23
2
votes
0 answers

Convert VM (redhat virtualization 3.5) to a physical server

I have a virtual machine running on red hat virtualization 3.5, i need to convert that VM to a physical server. (mainly due to a performance issue) my volume groups as follows NAME MAJ:MIN RM SIZE RO TYPE…
2
votes
2 answers

Offline migrating KVM guests using virsh?

I want to offline migrate the KVM guest e-devel to another centos73 host using virsh. So I do # virsh -d 0 migrate --offline --persistent e-devel qemu+ssh://kvm2/system migrate: offline(bool): (none) migrate: persistent(bool): (none) migrate:…
Jasmine Lognnes
  • 2,490
  • 8
  • 31
  • 51
2
votes
1 answer

Shut down windows server 2012R2 KVM VM

Question: Does anyone know how I can get the Windows 2012R2 virtual machines to shutdown when sent the signal by the cluster resource manager? Background: I am running Windows 2012R2 servers as Virtual Machines (VMs) on KVM, using corosync/pacemaker…
DougC
  • 97
  • 1
  • 11
2
votes
1 answer

KVM/qemu/libvirt VM PCI Domain/Bus/Slot/Function assignment using virt-install

I am trying to create a VM using the virt-install utility and while that is easy enough to do what I would like to be able to do is proving quite difficult. I would like to be able to specify the domain/bus/slot/function of the ethernet interfaces…
Shawn  
  • 33
  • 6
2
votes
1 answer

Getting Intel SR-IOV Virtual Function counters

After some research on Intel SR-IOV, I've realized that there is no convenient way to get the VF counters while VF interface is being attached to a VM (for example to a QEMU/KVM VM with a Libvirt manager). Furthermore, I didn't find even an…
2
votes
1 answer

How can I check how much ram available to add to guest OS on libvirt?

I have a server with 32 gb ram and there is libvirt. There are 12 gb of ram is used. When I try to add ram to my guest OS it is not possible to add more than 12gb ram. How can I check how much ram available to add to guest OS on libvirt? I want to…
Gani Rakhmatov
  • 217
  • 3
  • 11
2
votes
1 answer

(KVM on Centos 7) Cannot ping to Guest or vice versa with single NIC Host

I have single NIC Host on Centos 7, which I want to make virtualization using KVM-Qemu. HOST The Host IP is 192.168.1.110 and the interface is enp0s31f6 I have deleted the "default" NAT configuration from libvirt. Then I created 2 interface from…
Rizary
  • 21
  • 2
2
votes
2 answers

Access to Guest VM via additional public IP

I have a CentOS dedicated server (Hetzner): IP: aa.bb.cc.16 Gateway: aa.bb.cc.1 Netmask: 255.255.255.255 and additional IP (guest VM (libvirt) with Debian installed): IP: aa.bb.cc.61 Gateway: aa.bb.cc.1 Netmask: 255.255.255.192 I have setup a…
2
votes
1 answer

OpenStack Juno Live-Migration never completes for instances with high load and size >64GB

I have run into situations where live migrations never seem to complete or error out. Here is how I have been able to reproduce the problem. Here is the instance I am migrating: [root@osc1-mgmt-001 tmp]# nova show…
Red Cricket
  • 462
  • 2
  • 7
  • 20
2
votes
1 answer

kvm snapshot-create-as failed

I have Ubuntu server with qemu/kvm. I'm try to create snapshot (for further backup) using libvirt and get this error: # virsh snapshot-create-as --domain 56 --name copy_snap --no-metadata --disk-only --atomic --diskspec…
ComBin
  • 163
  • 1
  • 1
  • 8
2
votes
1 answer

KVM guest cannot connect to host, but works vice versa

I have debian 7 on my host machine and I run a KVM vm on it. My hosts network configuration is this (the relevant parts): br0 Link encap:Ethernet HWaddr 68:b5:99:ae:8f:11 inet addr:77.244.244.123 Bcast:77.244.245.239…
geruetzel
  • 143
  • 1
  • 1
  • 12
2
votes
2 answers

how to enable L3 cache on kvm guest?

I start a kvm guest(centos6.5) on a Intel machine(centos6.5),use libvirt, the guest's xml as follow test-1
jython.li
  • 84
  • 2
  • 10
2
votes
3 answers

dnsmasq on virbr0 (libvirt) and network manager

I want to run dnsmasq on my local machine in order to configure a wildcard to resolve to 127.0.0.1 for testing purposes. However, when I went to start dnsmasq with systemd I got the following error message: [root@dhcppc4 ~]# systemctl status dnsmasq…
user315915
2
votes
1 answer

libvirt lxc container won't use statically assigned address at startup

I have an LXC OS container (CentOS 7) configured via libvirt (CentOS 7): lxc-test1.example.com 5a715193-55ef-49d7-a4f6-ac5c27bce838 2097152
84104
  • 12,698
  • 6
  • 43
  • 75