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

learn more… | top users | synonyms

2
votes
1answer
532 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
2k 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
258 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
365 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
839 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
221 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
5k 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
90 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
3k 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 ...
6
votes
1answer
5k 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
3k 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
150 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
212 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
1k 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
223 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
2answers
3k 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
504 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
401 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
94 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
4
votes
1answer
1k 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
95 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
217 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
7k 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
109 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
997 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
1k 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
343 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
544 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 ...
7
votes
1answer
917 views

kvm killed by oomkiller

kvm version: QEMU emulator version 1.1.2 (qemu-kvm-1.1.2+dfsg-6+deb7u3, Debian), Copyright (c) 2003-2008 Fabrice Bellard libvirtd version: libvirtd (libvirt) 0.9.12.3 debian version: 7.5 I'm running ...
2
votes
1answer
2k views

virt-install cpu0 unhandled rdmsr

I'm trying to install a guest VM using KVM on a partition. I use virt-install. I call the following command: virt-install -n centos --ram=1536 --vcpus=1 ...
0
votes
1answer
1k views

share host folder with Vritual machine guest problem (centos 6.5)

I have centos 6.5 installed kvm. Then I created a virtual machine and tried to share the host folder (e.g. /mnt) with virtual machine using 9p_virtio. (follow this guide: ...
1
vote
0answers
132 views

complete KVM / libvirt breakdown after OS upgrade (openSUSE)

I have upgraded two E-350 systems which have been running VMs (one of the systems only Linux VMs, the other one Windows VMs) to openSUSE 13.1 (i.e kernel 3.11.10, kvm-1.6.0, libvirt-1.1.2). After a ...
2
votes
0answers
55 views

libvirtd (KVM) doesn't reload the kernel when I reboot the machine

I'm using Direct kernel boot with libvirtd and KVM as backend. But, every time I recompiled the kernel, and reboot inside the VM, the changes doesn't reflect until I do a Force off and Power on ...
3
votes
3answers
5k views

virsh, how to list autostart domains?

In virsh how do I see which domains are marked as autostart? virsh list does not show which domains are marked as autostart.
2
votes
2answers
3k views

KVM and Swap space

suppose the following scenario: a host with 2 GiB runs a few guests using KVM. Each guest does usually not need much memory, they are given 256 MiB each and run services that mostly twiddle their ...
3
votes
1answer
354 views

Sharing partitions in qemu

Apart from networking and partition sharing I've made qemu work pretty much like I want it to. I've got a bit of a special setup, I need to pass through /dev/sda, /dev/sda1 and /dev/sda2. (Is it ...
0
votes
2answers
420 views

RHEV cannot start inside Oracle VirtualBox

While installing RHEV Hypervisor 3.3 on Oracle VirtualBox I am getting following message: Failed to open a session for the virtual machine RhevH1 VT-x is used by another hypervisor. ...
0
votes
2answers
758 views

Nested virtualization: run RHEVH inside KVM

I have laptop with 16GB RAM, trying to install Red Hat Enterprise Virtualization Hypervisor 3.3 on Virtual Machine Manager (KVM) based guest, but it gives error "Virtualization Hardware not found". ...
4
votes
1answer
896 views

X and xdotool in LXC instead of KVM

So far I am using various xautomation/xdotool scripts in a KVM virtual machine (linux guest) in order to let them do their work and let me work uninterruptedly. I am using a VirtIO disk, but still the ...
4
votes
1answer
3k views

Cannot Start KVM VM Because Missing BIOS

Whenever I attempt to start a KVM VM on Ubuntu 14.04 with the "kvm" command, I get the following error: qemu: could not load PC BIOS 'bios-256k.bin' I have searched for this file and found it ...
1
vote
3answers
3k views

How to migrate an IDE VM to a virtio VM?

On my KMS host I installed a windows server 2012 guest a few months ago. The VM runs raw using IDE (HDD). I would like to improve the performance by using virtio. I performed these actions: ...
1
vote
1answer
195 views

Capture information of system-call

I have a QEMU-KVM hypervisor (ubuntu) with several VMs. What I want to do is capture all information of VMs system call to hypervisor (without any intervention to VM whatsoever) in real time within a ...
0
votes
1answer
3k views

CentOS 6.5 + KVM (Virtual Machine Manager) create shortcut - Laucher for Guest Machine

How can I create a Launcher on my desktop for guests machines inside of KVM on desktop of CentOS 6.5?
2
votes
3answers
3k views

DHCP server not responding to requests from KVM guest

I've setup a DHCP server on my Debian server (Proxmox) so that I can provision IPs to my KVM guests on the server automatically. For some reason the DHCP server (isc-dhcp-server) isn't responding to ...
0
votes
1answer
1k views

Solaris 10 installation on KVM constantly reboot

Successfully installed Solaris 10 sparc on KVM. However when I restarted the VM it doesn't go to login screen but just constantly reboots. I've read different documents link1 link2 link3 but none of ...