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

learn more… | top users | synonyms

1
vote
1answer
68 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
805 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
534 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 ...
6
votes
1answer
692 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
232 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
398 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
1k 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 ...
6
votes
1answer
568 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
1k 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
805 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
109 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
43 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 ...
2
votes
2answers
3k 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
2k 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
224 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
285 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
605 views

Nested virtualization: run RHEVH inside KVM

I have laptop with 16GB RAM, trying to install Red Hat Enterprise Virtualization Hypervizor 3.3 on Virtual Machine Manager (KVM) based Guest, but it gives error "Virtualization Hardware not found" ? ...
4
votes
1answer
765 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 ...
2
votes
0answers
2k 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
1k 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
117 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
2k 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
2k 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
784 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 ...
1
vote
0answers
281 views

iptables server behind NAT accessible from outside as well as inside the nat

I have 2 machines with a KVM running on each machine - so two kvms with the below networking Host 1: 192.168.10.100 (eth2) 10.10.100.1 (virbr1) KVM 1 (NAT with Host 1): 10.10.100.128 (eth0 ...
1
vote
1answer
147 views

Using KSM in OpenVZ

I am setting up an OpenVZ node and while everything looks good so far, I am confused as to whether or not KSM works in OpenVZ. The majority of this thread seems to note that KSM has been disabled due ...
1
vote
0answers
104 views

Error mounting shared folder for KVM Solaris guest

Followed this guide on how to set up a shared folder between a KVM Host(Ubuntu 12.04) and Guest (Solaris 10 Sparc). On the last part of the it requires you to mount the shared folder and typed in this ...
3
votes
1answer
623 views

CPU Placement in KVM

I have a configuration of KVM guests where the cpu placement is configured as follows: <vcpu placement='static'>1</vcpu> Now since I don't have a cpuset specified I was reading libvirt ...
0
votes
1answer
112 views

Secondary bridge only working at random in debian wheezy

We are currently migrating from vmware server to kvm. So far everything works smooth, with the exception of the secondary bridge. Our network layout is as follows: Firewall with 3 ports eth0 Public ...
2
votes
1answer
846 views

Qemu Backing Files Question

If I'm creating a new.qcow2 qcow2 image based on a backing file (called base.qcow2) and the backing file is located on an nfs share. What happens if someone tries to modify, replace, or delete the ...
3
votes
0answers
191 views

Migrate a qcow2 image between storage pools

I have 2 storage pools. host_images (directory storage pool) remote_images (nfs storage pool) How do I copy qcow images from remote_images to host_images using libvirt APIs? I've tried using the ...
1
vote
1answer
4k views

KVM can't access iso o raw images outside /var/lib/libvirt/images

I'm using Linux Mint Debian Edition (Up. 8) when tryng to start a virtual machine from libvirt (either from commandline or using virt-manager to local qemu-kvm) I get this error when I use an image ...
0
votes
1answer
938 views

KVM Guest installation

After ran below command virt-install --name=vm01 --disk path=/var/lib/libvirt/images/vm01.img,size=10 --ram=512 --os-type=linux --os-variant=rhel6 --network bridge:br0 --nographics ...
1
vote
1answer
207 views

virt-resize complains: “virt-resize: error: You cannot use --expand when there is no surplus space to expand into.”

I am resizing an installed KVM domain # resize the partitions virt-resize --expand /dev/vda2 --LV-expand /dev/vg_main/lv_root $VMFILE $VMFILE.tmp and virt-resize throws an error: virt-resize: ...
2
votes
0answers
318 views

What is the structure of Libvirt Qemu VM dump/save files?

I need to do some exploration of Qemu-KVM virtual machines physical memory (particularly I need to check the fact of the physical memory intersection). In order to do that I'm trying to save VM's ...
0
votes
1answer
2k views

KVM Domain not creating

While I am trying to create a new KVM Machine , I am getting the following error , Unable to complete install: 'Domain has not existed. You should be able to find more information in the logs' ...
4
votes
2answers
4k views

Wireless bridged networking in KVM. Why is it so complicated?

I've been using VirtualBox (and sometimes VMWare) for years and I've never had any problem with the virtual network adapters, no matter if the physical ones were wired or not. I also played some time ...
2
votes
2answers
543 views

KVM linux guest, 2nd HDD, LVM partition or whole disk

I've got a RAID 10 arrays on a couple of KVM host machines. The RAID 10 array is one big VG. I usually create a small LV for guest disk image storage then the rest of the VG I carve out as LVs to add ...
2
votes
1answer
225 views

How do I know that my virtual guest is using VT-x?

I know my cpu supports VT-x, but how can I check that the KVM guest machine uses it? My Desktop is CentOS running a Windows 7 guest. I'm asking because.. the virtual Windows 7 says I'm using a XEON ...
3
votes
1answer
1k views

Proxmox Master Node crashes

I've inadvertently discovered a Proxmox bug. I run a personal cluster of 4 nodes (a technology lab for giggles and gags). Each node has a Dell Perc 5i and 4 HDDs in RAID 10. The standard Proxmox ...
1
vote
1answer
1k views

CentOS 6 KVM host with CentOS 6 guests kvm-clock enabled major time drift

I have a CentOS 6 KVM host with CentOS 6 guests, all 64bit. The host syncs time from NTP and has remained bang on. All the guests have kvm-clock listed as current_clocksource but over the last 3 ...
0
votes
3answers
2k views

Mageia - how do I setup a KVM for Windows gaming?

Okay so I setup a KVM using Virt-Manager, Iset it to 7443 out of 8GB RAM, Got it to emulate my CPU fully, everything worked fine, but I cant get my GPU to unbind from the host to the guest, So is ...
0
votes
2answers
2k views

Enable 9p filesystem type in Centos 6 virtual guest?

My question is linked to this one : http://stackoverflow.com/questions/17880460/mounting-shared-folder-in-kvm-vm-error-mount-unknown-filesystem-type-9p (but can't comment it) I have apparently the ...
4
votes
1answer
1k views

VGA passthrough - Code 43 with KVM and libvirt on all AMD hardware

I've set up a system with an R9-270 and an ATI Rage (PCI graphics card, doesn't use radeon driver) on an FX-8320 and an ASRock 970 Extreme3 R2.0 motherboard with the intention of running Debian Wheezy ...
1
vote
1answer
576 views

kvm usb modem passthrough

I'm trying to set up a USB modem passthrough in kvm virt-manager. The host is Fedora 20. The guest is Centos 6 $ ifconfig wlp0s29u1u6: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether ...
0
votes
1answer
225 views

Install a basic CentOS VM on Fedora 19 with libvirt

I would like to install a CentOS 6.5 virtual machine on my machine, only with command line tools and basic networking capabilities, i.e a way to have http and ssh connections between the host (Fedora ...
0
votes
1answer
204 views

How to start a virtual machine filled with qemu-nbd?

I migrated a Windows OS (entire disk) to a virtual machine on another host (Debian with qemu and kvm). I used Selfimage to export the disk. On the host, first of all, I created an empty virtual ...
5
votes
1answer
6k views

How do I get my mouse back from qemu/kvm?

I'm running qemu/kvm on Debian testing x64 with this command: kvm -m 1024 -hda win7.img -cdrom win7x86.iso -boot d -net user but when I click inside the virtual machine, qemu captures my mouse and ...
1
vote
0answers
218 views

ssh local tunnel to VM

So, can anyone explain why this doesn't work? Everything from remote host (192.168.1.3): ssh -L 9000:192.168.1.2:80 login@192.168.1.2 elinks http:127.0.0.1:9000 and I can see a web page. other ...