KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, ...

learn more… | top users | synonyms (3)

1
vote
0answers
30 views

Routing private IPv4 addresses internally

I have the following set-up involving two KVM hosts and numerous virtual machine guests on each. The guests communicate to each other on both hosts via [192.168.216.0/24]. [192.168.216.42] is ...
0
votes
1answer
38 views

libvirt management is slow under ubuntu

I've just done a fresh install of KVM/Qemu under Ubuntu 14.04.2 on an older (C2D gen) server with dual quad core xeons and 24 gb of ram. I'm finding that I'm waiting for operations in virsh for around ...
0
votes
0answers
100 views

KVM GPU passthrough working only with cirruslogic vga added, VM goes in paused state if remove cirruslogic and boot with passed-through gpu only

It seems I had this working once but maybe that was when my kernel wasn't trying to load the fglrx kernel module. (I think before it was loading 'radeon' module) Not sure if this was the issue/change ...
0
votes
0answers
367 views

Have GPU Passthrough working both Windows and Linux guests but libGL SDL error linux couldn't find matching glx visual NX x2go freenx

I have GPU Pass-through working with KVM qemu with both Windows 7 and CentOS guest but with Windows I can easily RDP with Remote Desktop mstsc and even run 3D accelerated apps that will make use of ...
0
votes
0answers
28 views

CentOS wrong outgoing IP address on forward

I have a rather strange behaviour for me in here. I am trying to forward traffic between two interfaces (one being a bridge) but will not work as intended. Here is the setup: Kvm host has br0 ...
0
votes
2answers
131 views

KVM - Sharing A Physical Hard Drive Between VMs

Installed Ubuntu 14.04 and will be ditching VirtualBox to go to KVM per some recommendations. With that in mind, I have a full physical SATA disk that I would like to share between a few VMs. Is ...
1
vote
1answer
100 views

iptables KVM prerouting SMTP

I have a host machine that has to manage traffic on port 25 and route to port 25 on the KVM machine for postfix deamon like this scheme: WAN --> (25) HOST_MACHINE --> (25) ...
0
votes
1answer
50 views

KVM bridged network cannot connect to the server

I installed KVM on my Ubuntu Server 14.04 LTS on OVH dedicated server. I cannot connect to my virtual host over ssh. My server IP: AAA.AAA.AAA.AAA My Failover IP: BBB.BBB.BBB.BBB My config on the ...
0
votes
1answer
39 views

Mount VM filesystem on host

I'm using Proxmox for virtualization and I need to mount my KVM VM filesystem inside the hypervisor. Is this possible without shutting down my VM? Basically, I need a script that could do following ...
0
votes
0answers
120 views

live-migration failure and unable to launch an instance

I am having a trouble enabling live-migration in Openstack. I followed these steps such as setting vnc_listen = 0.0.0.0 etc. However, I get the following errors: 2015-03-27 17:43:42.336+0000: ...
0
votes
2answers
1k views

Windows Server 2012 R2 doesn't find virtio drivers when installing on KVM

I'm trying to install Windows Server 2012 R2 on a Debian KVM host, but it does not seem to find the drivers. The guest has two drives attached: an install disk and the latest Windows virtio drivers ...
0
votes
1answer
329 views

How can I configure multiple tap interfaces for a single KVM virtual machine

I am trying to setup a VM using Linux KVM for a F5 BIG-IP VE deployment (used in a lab) ...
0
votes
0answers
45 views

RHEL KVM HA rgmanager

I have a RHEL HA 2 node cluster which is run with rgmanager, cman (corosync), clvmd, gfs2 and storage replication using drbd I let drbd, clvmd and gfs2 be managed by rgmanager, but i have 8 ...
3
votes
1answer
2k views

Which is better image format, raw or qcow2, to use as a baseimage for other VMs?

I am using a baseimage and based on that creating many VMs. And now I want to know which is better, qcow2 or raw to use for a baseimage. Moreover, can you please tell me if there is any advantage of ...
0
votes
2answers
174 views

State of VM after 'virsh save'

virsh save vm_name memdump and then virsh restore memdump restores a (running) VM all right. However, a VM is shut off after virsh save. I'm writing a "live" backup and restore script for KVM VMs, so ...
0
votes
1answer
80 views

Revert libvirt external snapshot

Having some issues understanding how to revert snapshots on ubuntu 14.04 using KVM... Until now i have been using internal snapshots, however due to space issues (space not being re-allocated after ...
0
votes
0answers
51 views

Vlan trunk between three switches and KVM Guests

I'am trying to find information regarding the appropriate configuration between three switches and KVM. More depth as per diagram. I need to create a tunnel for traffic created on sw1-port5 to be ...
0
votes
1answer
72 views

KVM guest broken after taking snapshot

I needed to do some work on a KVM guest. To be able to go back to it's previous state, I took a snapshot: virsh snapshot-create vph-share After this, I tried to SSH into the VM: ssh ...
2
votes
2answers
577 views

Extremely slow qemu storage performance with qcow2 images

I'm running some images using libvirt on a small Openstack cluster. Storage performance on these machines is extremely poor: my monitoring tool shows 100% utilisation (usually on writes but sometimes ...
0
votes
0answers
84 views

CSR1000v image in Openstack as a VM

I have an esxi host. Under that I have created a Ubuntu 14.04 machine running Openstack(devstack single node)Juno release. I am trying to spin CSR1000v image as a VM inside Openstack. I followed the ...
0
votes
1answer
111 views

Newbie to KVM/oVirt/ovs looking for clarity

I have some experience with vSphere, but am looking to get up and running with KVM. I've been looking at using oVirt as a VCenter type manager but, being new to all things ...
1
vote
0answers
129 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, ...
0
votes
1answer
40 views

libvirt external snapshots: snapshot chain linked through filenames or inodes

If I have the following chain (it was created using external snapshots through virsh): base.qcow2 --> snap1 --> snap2[current] Now if I copy "base.qcow2" to a remote location, del the original ...
0
votes
0answers
274 views

Backup KVM running machine safely

I read some solutions to make backups of running VMs, but all take offline snapshots that seems difficult that will work if the VM has high I/O load. I have tested but i have doubts about the process ...
0
votes
0answers
30 views

KVM guest stuck connecting

EDIT: Disabling firewalld solved this for me I'm trying to set up a KVM host for a few small virtual machines. This is not production, just internal IT dept. stuff. My host OS is CentOS 7 with a ...
1
vote
1answer
259 views

How to backup running KVM guest qcow2 disk without LVM?

How to backup running KVM guests, when using qcow2 disks and host system does not use a LVM? Is it even possible without guest shutdown?
0
votes
2answers
247 views

KVM virt-clone while the VM is running

Is it possible to clone a running kvm machine without tools like virt-clone? They already have the original vm in production, I cannot shut it down. If I don't care about temporary data corruption ...
0
votes
1answer
222 views

How to configure and use qemu-guest-agent in Ubuntu 12.04? My main aim is to get the IP address of guest VM from Host machine

In the documentation it is not very clear that how to install and use qemu-guest-agent in Ubuntu 12.04. So can anyone help me out ? http://wiki.libvirt.org/page/Qemu_guest_agent It is a daemon ...
2
votes
2answers
133 views

How to measure boot time of a VM from host machine?

On both Guest machine and host machine, I am using Ubuntu 12.04. As a hypervisor I am using KVM. I want to perform some experiments related to boot-storm and I have created all other scripts to ...
0
votes
0answers
65 views

netcat not listening on desired port

When I want to listen on desired port on one server, I use netcat ie: nc -l 8888 Then I can verify the server is actually listening on that port: netstat -tlnp | grep 8888 tcp 0 0 ...
0
votes
3answers
105 views

Networking in Linux KVM

I want to know if there is any way other than using linux bridges to interconnect interfaces from two virtual machines ? Since I am trying to run private spanning tree implementation in virtual ...
0
votes
0answers
41 views

ISCSI drives suddenly lost partitions

We have a VM host, and each VM is given an ISCSI volume to boot off of. These ISCSI volumes are stored on a second server. Today, we had to reboot the VM host because ISCSI hosts kept going into ...
0
votes
0answers
88 views

kvm guest wont power off after network kickstart installation finishes

I'd like to be able full automate the creation a KVM guest, so I need the KVM guest to power off, so that the virt-install command returns. Unfortunately the guest doesn't power down, but end with: ...
0
votes
1answer
90 views

Using a pfSense guest to firewall/route traffic for other guests

I was curious if this falls into the "why..." category or not. I have a dedicated, hardware UTM (Untangle) that's serving as an edge device with two hosts and a dozen guests behind it. Right now, I ...
0
votes
0answers
87 views

KVM Aggregate Throughput Limited at 1Gb - Virtio Queues Limiting Factor?

I have a KVM host with three NICs and can't get traffic between guests (in same subnet) above 1gbps aggregate. Is this by design and the only way to achieve >1gbps to use multiqueue support? So far, ...
1
vote
1answer
377 views

Pass an USB hub from a KVM host to a guest with libvirt

I have the following USB devices on a Linux server: # lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/2p, 480M |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M ...
2
votes
3answers
116 views

KVM guest is unable to access the internet

I have a Debian host that has several allocated IPs and KVM with a Debian guest using a bridged network. The guest is completely unable to reach the network, including the LAN or even the host. ...
0
votes
0answers
97 views

How do I configure KVM guest to have Internet access?

I am trying to get KVM working on my Debian server and I am having a slight problem with networking with my guest OS (also Debian). The virtual machine is using the "default" network (without a ...
0
votes
1answer
70 views

routing a second public IP to multiple VM's

myself and a friend have rented a dedicated server and have used KVM and libvirt to create virtual machines for us to use. (we are using debian jessie on the host) we purchased two additional IP ...
0
votes
1answer
43 views

Iptables overridden after reboot in Ubuntu server

On my Ubuntu server (installed KVM and Kimchi), I noticed that the iptables are changed after a reboot. Unfortunately I did not find out which script is responsible for these changes. I tried to ...
1
vote
2answers
132 views

Enabling bridged connections with a single network card with multiple IP addresses

I have a server with one network card in it (eth1). My server is assigned 5 public IP addresses and it is currently configured like this (/etc/network/interfaces): # The primary network interface ...
3
votes
3answers
458 views

attaching usb dongle to KVM VM

I'm struggling to connect a usb device, that gets detected correctly by the host, to a kvm vm. I have a freshly installed Ubuntu Server 14.10 as KVM/QEMU host. I set up an Ubuntu vm using this ...
0
votes
0answers
148 views

QEMU/KVM port forwarding issues

I'm trying to access websites hosted on a QEMU/KVM debian virtual machine from a Ubuntu host machine and other PCs/devices on the host machine's network. Later, I'd like to access this from the ...
1
vote
1answer
999 views

Set up network interfaces in Ubuntu for KVM virtual machine

I am currently renting an Ubuntu server. On this machine I would like to run virtual machines using KVM. For some web access I have installed Kimchi, a very simple html5-based KVM management tool. ...
3
votes
1answer
162 views

What is fastest way to copy a sparse file? What method results in the smallest file?

BACKGROUND: I'm copying a sparse qcow2 VM image that is 200GB in size, but has 16GB of allocated blocks. I've tried various methods to copy this sparse file within the same server and have some ...
0
votes
1answer
776 views

Installing a Windows guest with virtio in a single step (Debian)

I am trying to create a Windows 7 (32bits) with virtio disk and network in a single step using virt-manager. I've been trying to follow the step-by-step procedure here. However there is no such ...
0
votes
1answer
267 views

Extremely slow disk IO in qemu-kvm VM

I have a VM running Debian Woody (kernel 2.4.18). Qemu-2.1.2, 2 CPU cores, 512M RAM, qcow2 image connected as IDE, ext3. The issue is that disk IO is slow. Here is a result of dd "benchmark" right ...
0
votes
1answer
325 views

Running Vagrant/libvirt: trying to establish public/private networks

I'm running Vagrant 1.7 (from their official 1.7 packages) on Ubuntu 14.04 LTS and I'm trying to provision several private VMs and one public one. My Ansible provisioning scripts change all the ...
0
votes
2answers
132 views

How do I make KVM images with LVM partitioning be thinly provisioned with a max growth size?

BACKGROUND: Up to now, I have been provisioning VMs as follows: Create template/gold VM: Create new CentOS 6.6 VM with raw 200GB disk (1 .xml file, 1 .img file) LVM partitioning with: /boot, swap, ...
1
vote
2answers
131 views

Need to restart iptables after server shutdown

I have a server acting as host (KVM), proxy and firewall. In order to access the services provided by the virtual machines in this host, iptables must work in order to redirect the packets properly to ...