Questions about the Kernel-based Virtual Machine, an open source virtualization infrastructure to use the Linux kernel as a hypervisor.

learn more… | top users | synonyms

25
votes
4answers
64k views

KVM is not installed on this machine (/dev/kvm is missing)

I'm using Ubuntu 14.04. I recently installed Android Studio, but whenever I try to run a Hello World app, I get this error: /home/praveen/Android/Sdk/tools/emulator -avd Nexus_6_API_21 -netspeed full ...
23
votes
3answers
80k views

What is the virbr0 interface used for?

virbr0 Link encap:Ethernet HWaddr a2:17:ea:e3:47:7e inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 ...
22
votes
4answers
56k views

get rid of kvm: disabled by bios

I'm getting a message: kvm:disabled by bios after upgrading my kernel to 3.8.x. I've never installed kvm package.neither I can enable virtualization from my bios, because of a bios bug. I wish I ...
18
votes
5answers
46k views

How to resize virtual machine disk?

Is there anyway to resize a virtual machine's disk? Say increasing the disk size from 32GB to 64GB. I am running KVM/Qemu on Ubuntu server 11.10 64bit. Thanks.
15
votes
2answers
14k views

How to configure MAAS to be able to boot virtual machines

I am running a virtual (kvm) MAAS/juju setup where most of the MAAS nodes (including MAAS master) are virtual, but some are also physical nodes. The physical Dell 1950 nodes configures automatically ...
14
votes
3answers
66k views

KVM Bridged Network Not Working

I just installed KVM on my Ubuntu Server according to this guide : https://help.ubuntu.com/community/KVM/Installation Then prepared a bridged network as shown in here : https://help.ubuntu.com/...
13
votes
3answers
86k views

How to resize / enlarge / grow a non-LVM ext4 partition

I have already searched the forums, but couldnt find a good suitable answer: I have an Ubuntu Server 10.04 as KVM Host and a guest system, that also runs 10.04. The host system uses LVM and there are ...
13
votes
2answers
6k views

How do I set up a KVM/NVidia Passthrough virtual machine for gaming?

I've seen a guide or two that seems to be replicated around on the internet on setting up KVM to use passthrough for Nvidia. It seems to require 2 video cards. Is it possible to do it with 1 video ...
13
votes
2answers
8k views

Will `sudo reboot` on KVM host gracefully poweroff guest VMs?

Currently I manually poweroff each KVM guest before rebooting the host. However, this is getting old and now I am up to about 20 guest machines. Can I trust Ubuntu Server 12.04 to do the Right Thing ...
12
votes
1answer
10k views

How do I use “virsh shutdown” on KVM domains to shut down Ubuntu guests?

I am using various KVM domains on a Ubuntu server. Both the host and guests run 10.04.1, 2.6.32-24 kernel, virsh reports version 0.7.5, KVM 0.12.3. The guests boot automatically when the host boots ...
11
votes
5answers
12k views

How do I disable unwanted iPXE boot attempt in Libvirt/qemu-kvm?

Somehow after upgrading to 12.04, my virtual machines always boot with an attempt to boot from the network first. See this: while I don't have any PXE configuration set: I've tried: to disable ...
11
votes
1answer
33k views

How to share a folder between KVM host and guest using virt-manager?

For some time now, I've been using virt-manager to manage my virtual machines. When I want to copy a file from the host to the vm, I have been using scp to copy via ssh over the network. This is kind ...
10
votes
4answers
30k views

virt-manager can't connect to libvirt

I'm running Ubuntu 12.04.2 32 bits. The error doesn't show up if I start gksudo virt-manager. libvirt-bin is installed. I don't know how to check for the daemon. I am a member of libvirtd. Output ...
9
votes
2answers
4k views

Is my VM using KVM or QEMU?

After installing Ubuntu 11.10 and copying my KVM images which were created on Ubuntu 11.04 over to the new system, I notice that Virt-manager says it's using QEMU and not KVM. Also when running virsh ...
9
votes
4answers
37k views

How can KVM be located by Android Studio on Ubuntu 14.04 LTS

When running the emulator, Android Studio reports the following message: Please ensure KVM is properly installed and usable. CPU acceleration status: KVM is not installed on this machine (/...
9
votes
3answers
15k views

3d acceleration under kvm

Hey guys I'm new to kvm and virt-manager. Recently I've been trying testing the new ubuntu 12.04 alpha 2 and found unity3d in a unacceptable speed. After some googleing, I found it may be the kvm-...
9
votes
2answers
47k views

How do I manually boot from the grub prompt after do-release-upgrade?

I read a couple of other questions on this topic and they both pointed to the Grub2 community documentation and installing grub configs from an install disk. I had some trouble with the documentation,...
9
votes
2answers
7k views

How do I configure spice with KVM?

I'm running Ubuntu 12.10 and I have installed KVM. Trying to install / configure spice but not having any luck finding sources that work. Has anyone done this yet?
9
votes
1answer
2k views

How do I deploy a virtualized server on a headless machine running 12.04 Server?

There is so much different information out there about setting up a virtual machine but I'm at a lost where to start. My fundamental question is: How do I virtually deploy a web server (complete with ...
8
votes
4answers
13k views

What reason could prevent console output from “virsh -c qemu:///system console guest1”?

I'm running KVM on a Ubuntu 10.04 host. The guest OS is also Ubuntu 10.04 . I am attempting to connect to the guest using the 'console' command. It appears I can establish a connection, but I get no ...
8
votes
1answer
256 views

It is possible to create two graphic terminals in one computer?

I have a computer with two screens, and I want to share it with my daugther. If I attach two mice and two keyboard, can the computer be configured so each screen is like an independent computer? I ...
7
votes
2answers
4k views

Ubuntu inside virtual machine: ntpd or ntpdate or ??? to avoid clock drift

Problem: ntpd, when installed on a virtual machine running Ubuntu (I've had this on hosts with a variety of hypervisors such as KVM and VMware ESX) seem to be prone to severe clock drift. I haven't ...
7
votes
3answers
7k views

How should I configure TRIM Support for LVM logical volumes?

I am setting up a notebook for software demo purpose. The machine has a Intel Core i7 CPU, 8GB RAM, a 128GB SSD, and runs Ubuntu 12.04 LTS 64bit desktop. As it is, the SSD is configured to have a ...
7
votes
1answer
6k views

How to configure automatic reboot after kernel panic?

Now, it's the first time I encountered a kernel panic on a system that I can only access remotely (i.e. not physical access). The kernel panic I encountered is basically the one described here, only ...
7
votes
2answers
12k views

Qemu KVM VNC Support

Do I need to install a special package to get the VNC support ? I installed: sudo apt-get install kvm qemu-kvm qemu-kvm-extras Everything works fine, I only get no VNC server up and running, ...
7
votes
1answer
2k views

Bridge interfaces and KVM

I have an Ubuntu server with and a VM using KVM. The plan is that the server and the VM have a static IP address. I tried to change /etc/network/interfaces combining some of the examples available to ...
7
votes
2answers
2k views

Virtualization of Windows on Ubuntu 11.10 64 bit

Which is better and more efficient? KVM or virtual box for using windows on ubuntu 64 bit? I dont know much about KVM and I have used XP on Ubuntu 10.10 32 bit using virtual box,and it is very easy ...
6
votes
2answers
9k views

virt-install says name is in use, but virsh list --all is empty. Where is virt-install finding this name?

virt-install says name is in use, but virsh list --all says there is nothing. jrwren@delays:{%22}~ $ virt-install -d -n android -r 512 --disk android.qcow2 -s 4 -c /d/cd\ images/android-x86-2.2-...
6
votes
2answers
11k views

Why do we need an IP address for a bridge?

A bridge is a layer 2 network device. On physical bridges we only have an IP address for operation and maintenance. I'm a little bit confused why we need in KVM an IP address for the bridge. I ...
6
votes
1answer
8k views

Kernel Update : Kvm disabled by bios

I read a text about kernel stable and I updated my kernel to 3.6.1. And I solved problems like WIFI and resolution but I cant solve kvm disabled by BIOS. Before update I didn't see this KVM : Disabled ...
6
votes
2answers
11k views

KVM kernel module error

I just installed qemu and ran qemu-system-i386 -hda ubuntu32 -cdrom ~/Downloads/ubuntu-12.04-desktop-i386.iso -m 1024 -boot d and got some errors Could not access KVM kernel module: No such file ...
6
votes
1answer
4k views

how to disable kvm for installing VMware player

when i was going to install VMware player a massage has shown You can not install a system with KVM enable. My processor is amd phenom ii x6 1100t. so how can i disable KVM on my system. I am ...
6
votes
2answers
18k views

Add physical disk to KVM virtual machine

I'm setting up a file server (nas4free) as a KVM virtual machine on a Ubuntu Server 12.04 system. How do I add physical hard drives directly to the VM so they can be used by the guest (nas4free), but ...
6
votes
1answer
525 views

How to configure networking for KVM

Ok, my situation is as follows. I have: -host (Ubuntu server 14.04) on which I want to have multiple VMs (KVM). This host has 2 NICs (eth0, eth1) -home router (dhcp, network 192.168.1.0) -PC with ...
6
votes
1answer
549 views

KVM guest performance impacted by very long virtblk disk wait times

I have several KVM guests running on Ubuntu 14.04 using libvirt. Their performance is very poor. The intermittent nature of the poor performance with an order of magnitude variability in simple ...
6
votes
1answer
1k views

Is it possible to make OpenStack work with MaaS without involving Juju?

I have to machines, {machine-A: will be used as my Master MAAS server with OpenStack} and {machine-B [Quad Core/16GB RAM/8x HDD]: will be running a KVM where all my nodes will run on} Purpose I want ...
6
votes
2answers
1k views

Creating multiple interfaces on OpenStack Instances

I'm able to have OpenStack up and running with no issues and I'm loving it, however, I'm trying to create extra interfaces on one of my instances and I read under openstack documentation that is ...
6
votes
2answers
4k views

Why qemu-system-x86 takes 100% of my CPU?

I've changed my old laptop with a new one but I don't understand why using on both virt-manager the qemu-system-x86 on new one takes 100% of CPU when run a vm, while on old one not. The command: ...
5
votes
1answer
1k views

How to install KVM in Ubuntu 10.04?

I am trying to install Ubuntu 12.04 on a USB flash disk and found this askubuntu question. However I am stuck at the part of the KVM. I am supposed to type this command at the terminal sudo kvm /dev/...
5
votes
4answers
5k views

How to use SPICE?

I tried to use SPICE with qemu to use with a Windows XP virtual machine on Ubuntu 11.04/64 bit. I followed these instructions: http://docs.cslabs.clarkson.edu/wiki/SPICE I ended with these Problems: ...
5
votes
1answer
1k views

How do I scroll-back in a virt-manager virtual machine console?

I have been using virt-manager to manage a few KVM guests fruitfully on my computer so far. It's simple and quite viable. Nevertheless, up to now, I haven't found a way to scroll back lines ...
5
votes
1answer
4k views

Can't automate user creation with preseeding

I'm creating KVM guest with following virt-install options and preseed.cfg, and always user creation dialog "[!!] Set up users and passwords" is shown. How do I automate that section with preseeding? ...
5
votes
3answers
7k views

does KVM has the same tool like vmware tools?

VMWARE has vmtools to enhance VM performance. Does KVM has the same tool to enhance its VM? If so, how to install such tools? thanks for any input!
5
votes
1answer
491 views

How to create and export a vmware image using vmbuilder

I've been using vmbuilder to build kvm images as such: vmbuilder kvm ubuntu \ -v \ --suite=precise \ --libvirt=qemu:///system \ --arch=amd64 \ --cpus=2 \ --mem=1024 \ --...
5
votes
2answers
1k views

Add armhf as a suppoted architecture for guest KVM VMs (on a amd64 host)

I have an Ubuntu Server 12.04 setup with about 6 KVM VMs running. Guests are all x86 or amd64, host is a 2-socket Westmere Xeon box. Now I want to create a new guest VM but this time the guest VM ...
4
votes
2answers
4k views

How do I create Ubuntu Virtual Machines using KVM?

I would like to create several Ubuntu Server Virtual Machines using KVM to test and use. How do I create Virtual Machines using KVM?
4
votes
3answers
13k views

Unable to use virt-manager

On Ubuntu server 11.10 I am trying to install a virtual machine using virt-manager. I believe that I have everything right, but when I go and run the command virt-manager I get the following error ...
4
votes
1answer
2k views

virsh snapshot-create-as gives “unable to execute QEMU command `transaction`”

I have an Ubuntu 12.04 Server that hosts several virtual machines. I want to make backups of these VM's using the snapshot mechanism. The purpose of these snapshots is to have a backup on an external ...
4
votes
1answer
638 views

How to create LAN of Virtual machine?

I have 2 virtual machines in the same physical machine [using libvirt/KVM]. How can I create a lan with these 2 machines? Host and the guests are running ubuntu.
4
votes
1answer
12k views

How to correctly install and use QEMU-KVM on Ubuntu 14.04?

In general, I prefer to install Linux software packages (not already installed by the default Ubuntu installer) via the distro-specific mechanism provided by that distro. In my case, I am using Ubuntu ...