KVM is the Kernel Virtual Machine, a virtualization hypervisor built into the Linux kernel.

learn more… | top users | synonyms

1
vote
1answer
330 views

Why Linux inside KVM gets busy after I put the host to suspend-to-ram?

I run another Linux instance inside KVM on my laptop. When I suspend-to-ram the laptop and wake it up again, the guest Linux starts consuming 100% CPU for some time (maybe proportional to the sleep ...
0
votes
0answers
576 views

unable to start vm on kvm

I'm not able to start a vm on kvm with the following error [root@dev1 RHEL5-7]# virsh start demo-57-test error: Failed to start domain demo-57-test error: Unable to add port vnet0 to OVS bridge br0: ...
1
vote
1answer
1k views

Qcow2 snapshots - snapshot for disk vda unsupported for storage type raw

I am running a KVM server (Ubuntu 14.04) and would like to take snapshots of my guests. I was reading how about how to do that in this article. It seemed as if I should be able to take a snapshot of a ...
0
votes
1answer
232 views

Network setup of KVM hypervisor?

I would like to install a KVM type-1 hypervisor. This hypervisor should run two guest operating-systems. Both guest operating-systems need one IPv4 address from 192.168.11.0/24 network and I guess ...
0
votes
0answers
140 views

kvm console not working at login [centos on centos]

When I run the following $su $virsh console myvm I keep getting login incorrect , even though I'm typing the correct password. In fact, it does work if I use virt-viewer. What could it be?
1
vote
1answer
49 views

Virtulisation IPTables Rules

I haven't been able to find a solution this as of yet. I'm not very experienced in IPTables so any support you can provide will be appreciated. I have a server with a few VMs on there. The main node ...
2
votes
1answer
529 views

How to access KVM guest console without password?

How can I configure a KVM guest running CentOS to allow passwordless console access from the hypervisor? I want to be able to use the following command to log straight in to the VM from the hypervisor ...
1
vote
1answer
72 views

libvirtd and filtered ports

I am new to virt-manager. After having configured a virtual network (new interface virbr0) with 2 VMs that should be able to communicate, I discovered that most ports are filtered. For example, the ...
3
votes
1answer
604 views

virt-manager: is it possible to assign specific IP addresses to certains VMs via the virtual DHCP?

using virt-manager quite successfully. I am wondering if it's possible to specify in the virtual DHCP server, that some virtual machines will have a specific IP address (maybe via MAC address ...
1
vote
0answers
167 views

Proxmox server VM growing than what i have assigned for VM disk space

I have only 2 VM's in one of the SSD hard disk server, Hard disk size was just 120 GB. I have assigned 32 GB for each VM's but now there is only 1 GB space left in /var/lib/vz. While listing the size ...
-1
votes
1answer
128 views

acedemic projects related to linux virtualization and security [closed]

I am B.tech student iam totally confused with the topic virtualization. but i selected linux virtualization security as a project in my college. please guide me. i tried in google but i found so many ...
2
votes
1answer
143 views

Linux with VM Windows guests in kiosk mode

We have a bunch of computers in our school, which are used by many students and some of them are really having fun in messing around with the system. However it's not possible to restrict access to ...
3
votes
0answers
301 views

Why does saving a KVM-QEMU VM requires additional memory?

I have three VMs running on Red Hat Enterprise Linux with 8 GB RAM, each of the VMs has 3 GB allocated, and I also run a 512 MB VM. If we also consider the guest OS's memory usage (usually 1.5 GB due ...
1
vote
2answers
94 views

How to install KVM to use existing installed OS's?

I have four partitions on 2 HD's, sda and sdb, each having Debian installed in different configurations. My general purpose OS is on sda1, and I want to be able to run VM's of the other OS's while ...
-1
votes
1answer
90 views

will libvirt don't create vnetX tun device?

When I create the vm instance using libvirt, it will create a TUN device named vnetX. I wonder would libvirt don't create the vnet device, instead, I use other method to create it.
8
votes
2answers
1k views

Does QEMU/KVM use Intel AES instructions for encrypted qcow2 images if the host CPU has them?

The qcow2 image file format for KVM can use AES encryption. The encryption is applied at the cluster level: Each sector within each cluster is independently encrypted using AES Cipher Block ...
0
votes
0answers
344 views

How to bridge a VM to public IP

I wish to to assign the IP from my eth1:2 to a VM; I also have no use of this IP for the host, it would be desirable to be exclusive to the VM. I've ended up with a setup just like this (eth1:1, ...
2
votes
1answer
474 views

Getting an already installed Android x86 partition to run on KVM

(Originally posted on SuperUser here, but posted here due to lack of responses.) I have Android installed on sda3, and it boots fine when loaded from Grub with the following commands: set ...
3
votes
2answers
1k views

Disable KVM Kernel Module while its still in use

In order to run a virtual machine, VirtualBox tells me to disable the KVM kernel module. I googled around and found out that KVM is included in the qemu-*-packages, but none of them is/was installed ...
2
votes
0answers
228 views

USB ethernet device not working in VM

I'm having trouble getting a USB ethernet device working in a qemu-kvm/libvirt VM. The problem is that even though the guest OS sees the USB device just fine it can't mount it. lsusb on the guest ...
1
vote
1answer
300 views

can't get 16:9 ratio on kvm, only 16:10 or 4:3

I am running a Windows 7 KVM on CentOS 7. The Windows 7 guest resolutions are all 4:3 or 16:10 My monitor is 1920x1080, but KVM/Spice/Whatever is only offering me 1920x1200. I don't know what part ...
1
vote
1answer
678 views

Allow multicast packages from the bridge to wire in KVM

On a CentOS 6.5 host, I have a couple of guests - Ubuntu 12.04 and CentOS 6.5. The Ubuntu guest is generating mcast traffic that is visible via a tcpdump on the br3 interface. It is also visible on ...
0
votes
1answer
139 views

What are the diffence between virsh, virt-install, and virt-manager?

I know all of virsh, virt-install, and virt-manager can manage the virtual machines. However, what are the difference between the three?
3
votes
2answers
4k views

libvirt error when enabling hugepages for guest

I'm trying to set up a VM using libvirt and KVM through virt-manager (and virsh command line) with hugepages support and I get an error when enabling the option in the domain XML. Don't know where the ...
0
votes
1answer
87 views

How to write shell script on VMDK to derive configuration

I have several VMDK files and I would like to write a shell scripts to derive configuration (i.e. No. of CPUs, RAM, NIC, HDDs Size, No of HDDs, etc.). How can I do this, or where do I start?
2
votes
2answers
2k views

kvm guest OS not accessible after system reboot

I was configuring kvm on my laptop which has ubuntu 14.04 as the host OS. I added a Fedora guest OS using the virt-manager and it worked fine. However, after I rebooted the virtual machine, the guest ...
5
votes
1answer
3k views

setup kvm on a wireless interface on a laptop machine

I am trying to setup KVM in ubuntu 14.04 host machine. I use a wireless interface to access the internet in my machine. I have setup the wireless interface in my /etc/networks/interfaces as below. ...
1
vote
2answers
2k views

how can I create a KVM guest 100% as a non root user?

In a debian host with many users, I want to allow different users to create their own VMs, completely independent of each other. The closest relevant (non-root) way I have seen in guides is by ...
0
votes
2answers
2k views

no internet connection for a kvm guest. what could be wrong?

I have setup a kvm win7 guest on a debian host. It's been up and running for a while now, but I had not done much with it. What I had done (for sure) was to download putty. Today I wanted to try and ...
2
votes
0answers
126 views

How to find IP of the KVM Virtual Machine from Host system?

My KVM VMs are connected using MaCVTAP connection VM network Interfaces. I have to manually go into the VM to find the IP address. The VM interface doesn't ping to the host interface as the source ...
2
votes
1answer
201 views

KVM bridge network requirement

I am following the following guide on installing my first KVM HV. http://wiki.centos.org/HowTos/KVM I thing I do not understand is the bit about bridge network setup. It states its optional, but what ...
2
votes
1answer
647 views

How to test Disk IO on VMs with iozone?

I want to test the disk IO performance like read, write, random read, random write and so on both in physical machine and VMs (with aufs file system). Also I want to test the throughput performance in ...
1
vote
1answer
2k views

Setting up VGA Passthrough on Ubuntu with KVM : error no iommu_group for device qemu-system-x86_64

I'm trying to configure the VGA Passthrough on the Debian SID because I want to use Debian on the first monitor and Windows 7/8 on the other one. I have tried with XEN and with KVM but in both case I ...
0
votes
0answers
193 views

Nested KVM - KVM-Guest unable to get DHCP address

Morning all I'm currently trying to set-up a Nested CentOS 7.0 KVM host inside a vSphere ESX 5.1.0 hypervisor. I've been following ...
1
vote
1answer
2k views

How to migrate from Proxmox to VMWare?

I am wondering how it is possible to migrate a full hardware VM in Proxmox (qemu) to a full hardware VM in VMWare (vmdk). I have been searching all over the place, and it seems almost impossible to ...
2
votes
0answers
435 views

persistent network interface naming and kvm

I wonder why my network interface is still named eth0 in my kvm guests. udevadm just outputs # udevadm test-builtin net_id /sys/class/net/eth0 2> /dev/null ID_NET_NAME_MAC=enxc2184ae7ab3f I ...
2
votes
0answers
353 views

KVM guest as default gateway for bridged network

I currently have two vm's both on kvm (virt-manager), both running on separate virtual interfaces (virbr0 and virbr1). The IP of virbr0 is 192.168.122.0; the IP of virbr1 is 192.168.123.0. Both VMs ...
0
votes
0answers
76 views

Error Restoring Virtual Machine

I've gotten an error restoring a virtual machine. How should I resolve / troubleshoot this error: Error restoring domain: internal error Device 001:004 is already in use
3
votes
1answer
870 views

Run AVD and VirtualBox at the same time

I'm developing for Android so I have the Android SDK installed and in it the program that runs virtual machine. Also, from the same reason, I'm running a oracle virtual box to host myself a redmine ...
0
votes
1answer
79 views

How to get pass a localisation issue when setting up a maven project?

I'm trying to install ovirt on my mint laptop. Installing oVirt on a debian distribution is expirimental and there is little knowledge about troubleshooting on the web. However, I have found the ...
1
vote
2answers
191 views

how to access the running VMs?

A colleague of a friend of mine established a voluntary project for a gaming union. But the problem now is, that the person is unavailable and I don´t know how I should access the running VMs. I spent ...
4
votes
1answer
5k views

How to create KVM guest with SPICE graphics but TLS disabled using virt-install?

I am using virt-install (see below) to create a guest. All seems fine up to the point where it complains about auto-allocation of the SPICE TLS port. Here's what I am running and the full output: # ...
1
vote
1answer
89 views

Need help setting up networking for KVM on Gentoo with exit to wifi adaṕter

I am running Gentoo Linux on an AMD64 laptop, and I am having an extremely hard time setting up host networking on KVM. I alreay have KVM, libvirtd, virt-manager, the kernel modules required to get ...
1
vote
1answer
1k views

Gentoo virt-manager on system without GNOME cannot connect to libvirtd due to polkit throwing a missing file error

I am running Gentoo Linux for AMD64 using kernel 3.12.21 AMD64 on an HP Pavilion Touch 14-N009LA with an AMD A8-4555M CPU. My desktop environment is KDE 4.12.5. I have installed KVM, libvirtd, polkit ...
2
votes
1answer
807 views

How to check if virtio storage access is in use?

How to check if virtio storage access virtio_blk really is in use or an eventually existing fallback driver? Existing documentation doesn't answer it: ...
1
vote
0answers
1k views

How to fix “cannot retrieve repository metadata” when installing CentOS 6.5 from Kickstart over FTP?

I am pulling my hair out trying to fix this. I am attempting to install CentOS 6.5 over an FTP server on KVM from the physical host. I have vsftpd installed, selinux set to permissive, and iptables ...
7
votes
1answer
931 views

Poorly performing java application vs poorly performing server

This is a very generic question, but it has been coming up more and more often for me. I would like to try and determine an appropriate course of action for this generic case, as I think it could ...
7
votes
1answer
321 views

KVM reports strange CPU usage peaks (bash infinite recursion)

On a KVM machine running Fedora 20 I ran ulimit -s unlimited (this removes limit on stack size) and an experimental torturing testing script. All this script does is just infinite recursion: ...
1
vote
2answers
476 views

get CPU usage of a VM (linux) using java

Is there an API for Java in getting the CPU usage of a VM in KVM? I want to know how I could get the CPU usage of a guest (from the host's perspective) using Java. Also, does anybody know where I ...
2
votes
1answer
2k views

How not to write kernel warnings into /var/log/messages?

I keep getting these log warnings due to a bug in kvm. Jun 30 19:12:31 server kernel: kvm: 28882: cpu0 ignored rdmsr: 0x345 Jun 30 21:12:31 server kernel: kvm: 31191: cpu0 ignored rdmsr: 0x345 Jun ...