Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

4
votes
0answers
69 views

Libvirt LXC leaked processes

I'm trying to run several lxc containers on an ubuntu 16.04 server. (libvirt version is 1.3.1). The nature of my team's use of these containers means that they are constantly booting and then being ...
3
votes
0answers
75 views

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 ...
3
votes
0answers
461 views

OpenVSwitch with Libvirt

Here's my situation: I'm running CentOS 7 with Openvswitch and Libvirt/Qemu. My domains are configured to use the virtualport type openvswitch, so when I start a VM it creates a port in the ovs bridge....
3
votes
0answers
899 views

Libvirt & USB Hub Passthrough

I have a virtual machine which I wish to have a USB Hub and all of its devices allocated to a virtual machine. The Hub in question is a USB hub which itself is plugged into one of the ports on the ...
3
votes
0answers
1k views

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 ...
3
votes
0answers
948 views

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 ...
2
votes
0answers
39 views

XP KVM stuck at “Booting from Hard Disk”

Just to see if it could be done (and if so, move other physical XP machines to VM environments), I took the hard drive out of a decommissioned laptop, captured a WIM of it, and applied it to a QCOW2 ...
2
votes
0answers
226 views

How to provision DRBD to libvirt storage pool?

I want to expose DRBD replicated storage (2 nodes Active/Passive) to libvirt as a storage pool for qcow2 files. However, I have the following error message: virsh pool-create-as qcow2 --type=logical -...
2
votes
0answers
178 views

noVNC console on Openstack Dashboard is rendering garbled UI on RHEL7

I am running nova-compute on RHEL7. Openstack dashboard's noVNC console is rendering garbled UI for any instance having a UI console. Can somebody please help out? This is working just fine on RHEL65
2
votes
0answers
505 views

Force libvirt to pass always the same device number to the guest on USB device reconnection

I have a HP plotter connected with a USB cable to a debian server through a USB hub. On the server there is a virtualized Windows XP. Everytime I reboot the plotter a different device number is ...
2
votes
0answers
971 views

libvirt / kvm guests take very long time to start after host reboot

Host system is CentOS 6.5 x86_64. I have setup an Ubuntu guest by following this wiki. The guest works, but: if I reboot the host, it takes a very long time (about 30 minutes on the last reboot) ...
2
votes
0answers
2k views

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 ...
1
vote
0answers
37 views

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 ...
1
vote
0answers
103 views

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....
1
vote
0answers
160 views

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 ...
1
vote
0answers
163 views

KVM: What is stored in var/lib/libvirt/qemu

My Question is "What is stored in the /var/lib/libvirt/qemu folder?" Is this used as somekind of backup folder ? Backgroundinformation: I have a Debian Server with a running KVM installation(+libvirt)...
1
vote
0answers
44 views

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 <network ipv6='yes'> <name>libvirt</name> <uuid></uuid> <...
1
vote
0answers
392 views

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 ...
1
vote
0answers
676 views

KVM virtual machines won't work in bridge network mode anymore

Something broke on my KVM host (Ubuntu 16.04). I have some virtual machines configured to use br0 so they appear as separate machines on the LAN with their own IP. They get their IP from the router, ...
1
vote
0answers
163 views

Unable to access vm guest running apache using macvtap behind router

Setup Host OS is Centos7 running libvirt. I have multiple guests running using macvtap as an interface to a bridged bonded interface (br0). br0 is a bridge of bond0, which includes two ethernet ...
1
vote
0answers
935 views

Ubuntu 16 KVM create bridge for multiple guests

RESOLVED IT, SEE EDIT AT BOTTOM I am running Ubuntu server 16.04.1 on a bare metal with multiple NIC's. At the Ubuntu I am running KVM and on it I have some VM's running Ubuntu server 16. I wish to ...
1
vote
0answers
301 views

KVM/libvirt: NAT forwarding virtual bridge to host bridge

I currently have a VM setup where only a few 'special' VMs are allowed to have outward facing IP addresses and the rest aren't. All of them are configured with two interfaces attached to a virtual ...
1
vote
0answers
227 views

Gentoo virt-manager IO throttling

I have a problem with virt-manager (or qemu/libvirt) installed on gentoo. Here is My virt-manager installed on Debian Jessie: There I have IO throttling but not on my Gentoo: I tried to search in ...
1
vote
0answers
481 views

VNC not working on XEN/libvirt domU - debian jessie

Hi recently configured a brand new server for testing purpose: debian jessie (8.3) xen 4.4 (xl toolstack) virtinst I created and started a new domU through virt-install: virt-install \ --...
1
vote
0answers
298 views

How does Qemu handle memory?

I'm having a real hard time understanding something and I was wondering if anybody has any experience with this and is able to help. I have two KVM VMHosts, one running qemu 2.4.1 and the other ...
1
vote
0answers
270 views

libvirt hook qemu suse12

we have this qemu hook. In suse 11 was working well but in suse 12 it is not working. The hook is setting the ports in openvswitch native-untagged. Do you know if there is some libvirt missing ...
1
vote
0answers
241 views

kvm guest routing with 2 default gateways

I have a kvm guest with two virtual NIC. NIC with internal IP III.III.III.III (eth0) NIC with external IP EEE.EEE.EEE.EEE(eth1) I'm using macvtap. The host has his own external IP. I can ping both ...
1
vote
0answers
152 views

Access to equally defined VM in different VLANs

I have a working libvirt cluster and in order to perform some paralellization I have duplicated it. At the moment my scenario looks like this: two clusters whose VM definitions are exactly the same, i....
1
vote
0answers
99 views

Why won't my libvirt VM communicate with apt repositories when wget and ping work?

I'm trying to use Vagrant and Puppet to make it easier to duplicate a multi-server setup for our websites. The recommended workflow is to vagrant up the puppetmaster server specifically first, and ...
1
vote
0answers
1k views

Live migrate a libvirt/kvm virtual machine with both local and shared storage

I want to use both local (for better performance where it matters) and shared (for big slow disks) storage for a VM. Is it possible to live migrate such a VM? If the storage was pure local, the ...
1
vote
0answers
157 views

how to design network for virtual machines with just one nic

for the past week or so i've been recovering from the shock that i have literally no idea how my isp's network works, by getting a new box and trying to do a sensible design from scratch. our design ...
1
vote
0answers
105 views

Bridging Adapter in Ubuntu 12.04 LTS for KVM

Fresh install of Ubuntu 12.04 LTS with libvert/KVM installed. I have 2 virtual machines that I need need to be on the same LAN as the host. The host has two physical interfaces eth0 and eth1. eth1 is ...
1
vote
0answers
1k views

qcow2 Disk size much bigger than virtual size

What would cause this? ls shows the qcow2 to be 241G, in the VM it only has ~ 160 GB drive, no unpartitioned space. Win 7 VM, Host = EXT4 2.6 Kernel virsh 0.9.10 file format: qcow2 virtual size: ...
1
vote
0answers
843 views

nwfilter: Generated firewall rules don't make any sense

I'm trying to configure nwfilter for KVM, but so far I haven't managed to figure out a working configuration. Network setup: The dom0 (Debian 7.1, kernel 3.2.46-1, libvirt 0.9.12) is connected via ...
1
vote
0answers
206 views

KVM .img can not boot after resized by virt-resize

I have a CentOS 6.4 image install by KVM on Ubuntu 12.04 amd64 host. Here is the disk layout of centos.img # virt-filesystems --long -h --all -a centos.img Name Type VFS ...
1
vote
0answers
110 views

Domus Memory Used Issue With Xen On CentOS

Anyone know why I'm receiving this error? I compiled latest libvirt from source, I also tried with various rpm. I would like to get memory used by domus and it looks like it's not working with Xen 3 ...
1
vote
0answers
316 views

libvirt timing out. parted blocked messages in kern.log

I'm using Ubuntu 10.04.4 LTS to host KVM virtual machines. I'm using eucalyptus to manage them and having a lot of issues with libvirt not being able to interface with the KVM components and timing ...
0
votes
0answers
23 views

Mount a disk image as mmc flash in libvirt

I'm trying to run the OS of my x64 NAS in a VM with kvm and libvirt. I made an image of the internal flash with dd. The image has a few partitions, starting with an EFI partition. virt-install -n ...
0
votes
0answers
26 views

redirect all web trafic from network through proxy server to a specific URL

I have a network env, which has outgoing traffic using proxy only. I want to create some sort of "unproxying GW" for my specific internal network. I am okey to use any Linux based solution for this, ...
0
votes
0answers
24 views

No write permissions in shared folders KVM

I shared a folder from my host to guest using this guide https://www.linux-kvm.org/page/9p_virtio In example they are using old GUI version and now you cant set Type Passthrough and Squash. You need ...
0
votes
0answers
41 views

Configure public ipv6 address to kvm guest in macvtap network mode

Host(ubuntu16.04) has /64 ipv6 assigned to it and one ipv4 address. Trying to create a ubuntu virtual machine in macvtap network mode and assign a public ipv6. So I Created 'macvtap' network using ...
0
votes
0answers
24 views

cannot shutdown virtual domain until connected to it

I have a rather weird problem. I'm going to try and present facts but the truth is that my problem seems so awkward that I don't really know what is happening. I run a Debian 8.11 host with libvirt-1....
0
votes
0answers
36 views

How to list iptables/ebtables rules corresponding to a libvirt network filter?

libvirt network filter webpages says, The network filtering subsystem is currently only available on Linux hosts and only works for QEMU and KVM type of virtual machines. On Linux it builds ...
0
votes
0answers
132 views

Delayed start for Guests KVM/libvirt

Looking for any pointers anyone may have to introduce a delayed start for KVM guests i.e. 30 seconds between starting each virtual server rather than starting them all at once which thrashes the disks ...
0
votes
0answers
25 views

Connect a physical interface to a linux bridge through libvirt

I am trying to create two VMs with libvirt which are connected to a linux bridge (my_bridge). I also want that linux bridge to be connected to the physical interface eth0 of the host. Can I do that? ...
0
votes
0answers
49 views

How to clone a KVM guest which is RBD back-end?

I was using KVM with libvirt(virsh) & file back-end,I can easily clone a guest with ''virt-clone -o vm01 -n vm02 -f /tmp/vm02.img''. Now I move to ceph's rbd back-end,here comes the question,...
0
votes
0answers
86 views

virsh: Cannot restore snapshot in VirtualBox

I establish the connection to Virtual Box locally using the command: virsh -c vbox:///session The connection is established successfully and allows me to execute some commands without problems. But ...
0
votes
0answers
94 views

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 ...
0
votes
0answers
39 views

qemu error while restoring snapshot

I made a snapshot of a Windows 10 VM and now if I try to restore it with virt-manager or with this command virsh snapshot-revert win10 "bef kg" I get this error: error: internal error: qemu ...
0
votes
0answers
121 views

Host loses internet connection after libvirt VM starts

Recently libvirt networking has caused me headaches - host loses connection once libvirt sets up a route in the kernel routing table. What I found was a strange default entry (interface vnet0, which ...