Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
11 views

Adding QEMU/KVM option to virsh VM starting script

I use libvirt to manage a QEMU/KVM system. Starting a VM only by using virsh start vmname What I want to know is how to add an option to virsh starting script, in my case I want to add QEMU ...
0
votes
0answers
21 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
39 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 ...
1
vote
1answer
32 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
49 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
25 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
33 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
24 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?
2
votes
2answers
95 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
43 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?
1
vote
2answers
78 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 ...
4
votes
1answer
167 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
56 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
112 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
40 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 ...
1
vote
1answer
58 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 ...
0
votes
0answers
58 views

Debian, Dibbler, IPv6 and Bridging Woes

I'm currently trying to setup my Dedibox LT as a virtualisation (KVM) server. I've elected to use Debian instead of Proxmox or ESXi for various reasons. Currently I'm having problems with getting ...
0
votes
0answers
25 views

KVM based RHEL 6.3 VM OS installation - lvm based partition feature not availble

I am installing RHEL VM OS on KVM by virtual manager tool. While installing the OS, I want to do lvm based partition. For example: Filesystem Size Used Avail Use% Mounted on ...
0
votes
0answers
67 views

PCI Pass through for gaming, Arch Linux

Okay, so I have attempted PCI pass through before, and failed, so I'm trying again but I'm looking for some tips, allow me to explain. I'm looking to use QEMU/KVM to build a W7 VM, this will be a ...
0
votes
0answers
186 views

GeForce GTX 660 as passthough device with KVM : error no iommu_group for device qemu-system-x86_64

I'm tryng to use my GeForce GTX 660 as passthough device with KVM. I'm reading this guide : http://www.pugetsystems.com/labs/articles/Multiheaded-NVIDIA-Gaming-using-Ubuntu-14-04-KVM-585/ I'm ...
2
votes
1answer
87 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
0answers
694 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
50 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
177 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
93 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
97 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
33 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
124 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
29 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
67 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 ...
3
votes
1answer
750 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: # ...
0
votes
0answers
27 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
236 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
129 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: ...
0
votes
0answers
434 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 ...
0
votes
0answers
24 views

Need commands to fetch Guest VM OS version from Xen and KVM

I m looking for the commands that can be executed to fetch the OS Version of the VMs running on the below Hypervisors. Xen (Not the citrix Xen server, but the Xen Sever hosted on a ubuntu Machine) ...
4
votes
1answer
205 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 ...
6
votes
1answer
125 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
144 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 ...
0
votes
0answers
42 views

Pxe Insallation

I Want Document For pxe boot server install in kvm on ubuntu 12.04. I am configuration but got that error: Jul 4 15:36:57 ubuntu dhclient: No DHCPOFFERS received. Jul 4 15:36:57 ubuntu dhclient: ...
2
votes
1answer
149 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
185 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
355 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
414 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
68 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
20 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
490 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.
1
vote
2answers
282 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
76 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
130 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. ...