libvirt is an API and toolkit for developing applications which manage virtual machine hypervisors, the virtual machines running under them, and virtual machine storage.

learn more… | top users | synonyms

0
votes
0answers
27 views

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

Any suggestions on setting a vswitch to allow a kvm guest to pxe install from an external boot server?

Any suggestions on setting a vSwitch to allow a kvm guest to pxe install from an external boot server? I'm trying to configure a vSwitch, in Fedora 20, so that I would be able to do a net-install, of ...
1
vote
2answers
57 views

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 ...
0
votes
1answer
45 views

KVM Ubuntu Guest cannot connect to the internet on bridged networking

I have Ubuntu 14.04 (64 bits) + KVM Host with 2 NICs: - eth0 connected to the "public" network - eth1 connected to the br0 bridge with a private ip address range From Host I can access internet, ...
2
votes
1answer
113 views

Poor network performance with KVM (virtio drivers) - Update: with vhost_net

I've set up several KVM based networks before, and never encountered this issue, can't for the life of me think what I'd have set up differently previously. Setup Basically, Ive got and entirely ...
2
votes
1answer
23 views

Linux virtual bridge not transparent

I'm attempting to set up the Openstack tutorial demo using libvirt VMs on my desktop but I'm having some problems with the virtual bridge on the host desktop. While debugging this, I noticed that the ...
-1
votes
1answer
30 views

KVM unix socket file permission for VNC

I'm using kvm-qemu/libvirtd for a bunch of kvms. I'm using vnc for the graphical interface. By default, it listens on a tcp socket. I want to have it listen on a unix socket instead. Looking at some ...
0
votes
0answers
53 views

CentOS Host KVM Virtual Machine running a Windows VM - No internet access

I've installed a KVM virtual machine on a CentOS host using libvirt. I've also set up a bridged connection from the interface en0:4 running on IP x.x.x.15 to br0. (The IP is a public one). Running ...
0
votes
1answer
38 views

EL6/KVM guest dies with “pthread_create failed: Resource temporarily unavailable”

I've got a CentOS 6.5 x86-64 KVM server with a bunch of guest VMs of different breeds, mostly EL5 and EL6. However one and only one of them keeps crashing every couple of days with: pthread_create ...
0
votes
0answers
38 views

Importing an ARM qemu machine using libvirt

Context: I'm trying to virtualise a raspbian disk image using qemu so that I can easily use it with vagrant/puppet. The steps I've figured out so far are create a VM using qemu import this VM into ...
0
votes
1answer
105 views

How can I make Windows Server 2012 running on KVM boot with virtio rather than IDE?

I have Windows Server 2012 Essentials running on KVM in Ubuntu 14.04. I've had some problems detailed here Windows Server 2012 on KVM on Ubuntu 14.04. Runs well for a while and then slows down I ...
2
votes
0answers
31 views

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

Change sender-IP for VM in libvirt behind NAT

I have a server with my own public /28 IPv4 Network. On this server I have some vServers, done with KVM/libvirt. These vServers are connected with a virtual network, NATed to the internet. Every ...
2
votes
1answer
149 views

Virsh domain has space in it, can not remove

I'm having trouble starting, or destroying a domain: virsh # list --all Id Name State ---------------------------------------------------- 1 pxe ...
0
votes
1answer
132 views

Accessing VirtualBox with libvirt from a guest

I have installed libvirt on OSX, and from outside a virtualbox I can access it using virsh no problem. However, I want to access it from inside a guest, and this is giving me the hopelessly useless ...
0
votes
1answer
39 views

virsh XML interface allocation

I am trying to launch VM using a XML. This VM will be having 5 interfaces each connected to certain bridge. Issue here is allocation of these interfaces is random. My XML <interface ...
0
votes
2answers
137 views

Force an LXC container to use its own IP address

Sorry if this question has already been asked. I could not find it, I have this setup : +---------------------------------------------------------------------------------------------+ |HOST ...
0
votes
1answer
51 views

How to start a new instance of QEMU based on the same image and snapshot?

I have a QEMU image (qcow2) with a snapshot stored in it. Right now I'm using libvirt to start it. However, I want to be able to run more than one instance of the same image+snapshot. I guess I can ...
0
votes
1answer
238 views

dnsmasq(as DHCP server) isn't working in KVM+libvirt envirmont

I'm using dnsmasq as DHCP server in VM environment. But It didn't working. I disabled basic DHCP feature in libvirt. <network> <name>default</name> ...
11
votes
2answers
2k views

Linux containers (LXC) on Red Hat/CentOS EL6 - lxc-create versus libvirt?

It's tricky trying to stay within the good graces of Red Hat and still plan for system longevity... I've been a proponent of Linux Containers (LXC) for over a year. My initial installations were ...
2
votes
1answer
70 views

Any way to increase the libvirt guest network response time?

We are running a number of Debian Wheezy VMs on top of Ubuntu Servers 12.04.4 / Libvirt 0.9.8-2ubuntu17.17 The host is connected to the network through a trunk. It then split the VLANs and create a ...
0
votes
1answer
101 views

check a vps guest memory usage and CPU usage

I have vps guests that are managed by KVM and libvirt. Using virt-df, I am able to check the real disk usage of each vps guest. #virt-df [--options] -d domname Is there a similar utility tool to ...
0
votes
0answers
71 views

Cannot add any virtio discs in virt-manager, how to fix?

I’ve just freshly installed virt-manager and libvirt-bin (and related packages) on a Debian sid system, and have a strange problem I’ve not yet seen on another similar installation: When creating a ...
2
votes
1answer
201 views

Persistent Network Configuration using KVM and libvirt

Our environment will have a KVM host setup dynamically using kickstart (easy enough). The hard part is dealing with network configuration and keeping VLAN configuration (and possibly bridge/host ...
0
votes
1answer
62 views

Live migration: is it possible to store image disks on a single iscsi target?

From redhat documentation: A guest virtual machine installed on shared storage using one of the following protocols: Fibre Channel-based LUNs iSCSI FCoE NFS SCSI RDMA protocols (SCSI RCP): the ...
1
vote
2answers
189 views

How do I configure bridged networking for VMs

I'm setting up a KVM virtualization server in CentOS 6. How do I configure bridged networking? (I think I need network interface eth0 to be accessible to VMs) I have tried to follow this guide: How ...
0
votes
1answer
60 views

How to mount a URL as a CD-ROM on QEMU?

I'm wondering if it's possible to specify a URL for the cdrom option on QEMU, and if so how would I go about doing that? Normally I'd mount an iso like this: <disk type='file' device='cdrom'> ...
0
votes
0answers
87 views

Fail to install libvirt from source code

I am trying to install libvirt from source codes, my workflow is shown below, #!/bin/sh apt-get install gnutls-bin libgnutls-dev -y apt-get install libxml++2.6-2 libxml++2.6-dev -y apt-get install ...
-1
votes
1answer
47 views

Live migration (kvm) not working if any I/O operation is in progress [closed]

I did this experiment: on VM I started watching a video on youtube. While video was in progress I started migration. Migration did not complete until video was not finished. I did another experiment: ...
0
votes
1answer
74 views

Is there any complete tutorial for setting up a full QEMU-KVM from hypervisor to host through command line ? [closed]

I've found parts about how to use virt-install from scratch or almost like http://virt-tools.org/learning/install-with-command-line/ However I'm stuck at connecting to the VM through virsh once the ...
2
votes
1answer
283 views

Ubuntu/KVM Bridge Interface IP Assignment

I have a Ubuntu 12.04 LTS machine running KVM/libvirt. It has two physical ethernet interfaces. I have dedicated eth0 as the primary interface and configured bridging on eth1 for my VMs. The KVM host ...
0
votes
1answer
218 views

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 ...
0
votes
1answer
77 views

<virtualport type='openvswitch'/> is NOT recognized

In order to make my vm use the openvswitch interface I have to add the following lines to a vm xml config file: <source bridge='ovsbr'/> <virtualport type='openvswitch'/> I edit the ...
0
votes
1answer
40 views

cpu cache size in KVM vm differs from real cpu cache size

Although I'm running KVM/qemu with the <cpu mode='host-passthrough'/> option, the guest machine has only 4096 KB of cpu cache, while the host cpu has 8192 KB (i just verified the output of ...
0
votes
3answers
521 views

Why I can't save network changes with virsh?

I am trying to add fixed address to specific virtual host, therefor I closed virtual machine and used sudo virsh net-edit somenet. After adding line <host mac='52:54:00:26:61:22' ...
1
vote
2answers
74 views

KVM Disk Formats: Portability

I have recently begun experimenting with the KVM virtualization infrastructure. After deployment, I used virt-manager running on a management computer to build my first guest. I notice that, by ...
0
votes
1answer
127 views

assign public IPs to vm guests

I have a set of public IPs for virtual machines. Each unique public IP is to be assigned to a unique guest. With bridged networking I share eth0 with KVM machines. The ifcfg-eth0 file has ...
1
vote
0answers
65 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
183 views

Libvirt providing bootp options without being configured to do so

I have a virtual network configured in libvirt and configured to provide DHCP (via dnsmasq) but not configured to provide bootp information (see below), but when I boot an iPXE ISO and look at the ...
1
vote
1answer
284 views

Why can't I shutdown running kvm instance?

I have running kvm instance: =# virsh list --all Id Name State ---------------------------------------------------- 2 debian-test running When ...
1
vote
1answer
200 views

virt-install ignoring vnc port/listen?

I'm trying to create kvm machine on remote host. The host is running debian testing. Did use this command: virt-install --name debian-test \ --os-type=linux \ --os-variant=debianwheezy \ ...
3
votes
1answer
664 views

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: ...
2
votes
1answer
745 views

libvirt and network filtering with nat - iptables overrides

At first, I want to say: I know, it was done initially wrong and I want to avoid doing everything again from the scratch because of general downtime. I am running libvirt/KVM on RHEL. I've got VM ...
1
vote
1answer
100 views

libvirt Storage Backend

libvirt supports several storage backends[1] for hosting the image on a different server. We have 6 servers running about 40 VMs. Up to now we use local storage, but to minimize the downtime we want ...
0
votes
1answer
238 views

OpenNebula can't start vm after reboot

I installed a fresh install of Debian-7-opennebula-4.4.0-1.tar.gz on a fresh Debian and got a VM to start via sunstone. The output of libvirt was: 2013-12-26 12:48:12.919+0000: starting up LC_ALL=C ...
1
vote
1answer
915 views

Libvirt: ERROR No domains available for virt type 'hvm', arch 'x86_64', domain type 'kvm'

Installed virt-man like this $ apt-get install virt-manager $ modprobe kvm $ modprobe vhost-net Launching libvirt guest $ virt-install --virt-type kvm \ --name centos-6.5 --ram 1024 \ ...
0
votes
1answer
96 views

libvirt on amazon linux?

I'm trying to setup LXC on Amazon Linux based ec2-instance. Libvirt is missing on amzn1 if I install with "yum install libvirt". However to compile them seems non trivial work. but before that, have I ...
0
votes
3answers
171 views

Interface for accessing to guest OS via libvirt

Is there any possible (not necessary native) ways to get access (e.g., terminal usage is the main purpose for me) to guest OS with *nix using libvirt/LXC(not as libvirt module) capabilities? And I ...
0
votes
0answers
93 views

LIBVIRT Bridge using VLAN basics

hello I read many posts but all are assuming single NIC, in my case my guest has 2 nic, eth1 is getting IP from libvirt default NAT 192.168.122.x range I want eth0 192.168.0.x subnet, I have created ...
1
vote
1answer
71 views

Prevent hijacking IPs in a bridged network (KVM/libvirt)

Is there a solution to prevent a VM user assign/use IP addresses he doesn't own but are routed over the same bridge like his own addresses? The current setup looks like this with libvirt and KVM: ...