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
1
vote
2 answers

libvirtd bridged networking, what iface is right to set IP?

Accodring to the documentation assigning of the IP addr it not mandatory for the BR interfaces. I have 2 netwok configuration set on libvirtd hadware node. Possibility one: 1. eth0 172.16.33.55/24 (plain interface) 2. br0 NO_IP_HERE with…
iNio
  • 45
  • 1
  • 4
1
vote
0 answers

KVM guest gets into paused state shortly after being started

I have two very similar x86_64 machines running the same kernel (4.7.8), and the same version of libvirt. The only difference between the two machines is the amount of memory they have, machine A has 8G while machine B has 32G, and the BIOS version…
igalvez
  • 29
  • 3
1
vote
1 answer

How I increase GPU video RAM in virt-manager?

I have this text in my XML
1
vote
0 answers

libvirt connection as non-root user

I'm trying to configure a libvirt compute resource in Foreman and have both KVM and Foreman installed on the same Centos 7 host. Adding the compute resource with qemu+ssh://root@hypervisor.example.com/system works but not…
nibs
  • 35
  • 1
  • 9
1
vote
2 answers

Do not start guest after virt-install

I like to set up a new guest but do not want to start it immediately. I use virt-install with these options: virt-install \ --connect qemu:///system \ --import \ --virt-type kvm \ --name somevm \ --os-variant win7 \ --memory…
reox
  • 165
  • 2
  • 10
1
vote
1 answer

libvirt / KVM: forwarding ssl to VM breaks internet on VM

My qemu hook script looks like this: #!/bin/bash # IMPORTANT: Change the "VM NAME" string to match your actual VM Name. # In order to create rules to other VMs, just duplicate the below block and configure # it accordingly. if [ "${1}" = "win2k16"…
1
vote
0 answers

Setup routing in nested virtualization cluster on vagrant / hyper-v / libvirt

I'm trying to setup a specific VMs cluster using vagrant on my local notebook. I have a Win10 Pro with HyperV as a host. Unfortunately I cannot change it thus I want to create a Linux VM on HyperV (I called it 'nested') with nested virtualization…
rgonciarz
  • 111
  • 2
1
vote
0 answers

Network data/bandwidth accounting on a VM's network from the host/hypervisor side (libvirt/KVM, bridged networking)

On a server a few KVM/libvirt virtual machines are running. Sometimes these use lots of GB in network bandwidth. I would like to do statistics on network transfers (bandwidth usage, ideally by IP address) in order to rule out foul play (e.g. data…
Ned64
  • 283
  • 1
  • 3
  • 10
1
vote
1 answer

Convert between hypervisor types

My company needs to automate the creation of new VM's with our proprietary solution, for this we would like to ship the product either on a a standardized format (OVA seems to be the only "standard" out there) or to be able to convert from the same…
Onitlikesonic
  • 1,161
  • 4
  • 15
  • 24
1
vote
0 answers

Docker on CoreOS VM behind Corp proxy

I have Docker on a CoreOS VM which runs on top of KVM. VM Networking: $ virsh net-edit libvirt libvirt
hossein
  • 181
  • 1
  • 1
  • 8
1
vote
1 answer

Using virt-builder to create image

I'm trying to automatically create cloud images using virt-builder. I am using the following command in Centos 7 and it keeps failing. Any idea behind the issue ? # virt-builder debian-9 -o /var/lib/libvirt/images/DB9-20G.qcow2 --format qcow2 …
codingfreak
  • 551
  • 1
  • 7
  • 15
1
vote
1 answer

No traffic to the VM

TL;DR (1) Only the first 2 VFs are transferred to the VM and (2) No traffic to the VM. Setup Host is Ubuntu 16.04 Intel 82599 (supports SR-IOV) attached via PCIe Driver ixgbe Guest VM is Ubuntu 16.10 Using Libvirt on KVM as…
1
vote
2 answers

Why doesn't libvirt "Usermode Networking" start on boot?

Running Ubuntu 16.04, the default virbr0 interface is not started by default for me on boot, meaning I have to start it manually using the command, $ sudo virsh net-start default Not a big deal perhaps, and I'm aware of ways to workaround this, but…
1
vote
0 answers

Centos 7 with libvirt, Kvm and balloon consumes 100% cpu on all versions of windows

Windows works perfectly, but the balloon does not work, after setting the min and max memory and activating the BLNSVR service, windows starts to consume 100% CPU. If put Min and max memory equal the CPU consumption returns to normal and if keep…
1
vote
2 answers

Is there anyway to do a live qcow2 backup without pausing vm's?

I'm trying to setup a KVM backup solution for our servers that would take live backups without stopping the system. I Found several ready scripts which i have tested, but they all either stop or "freeze" the VM for a little while, to save memory…
Nanoni
  • 123
  • 6