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

19
votes
4answers
43k 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 ...
15
votes
2answers
8k 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 ...
12
votes
3answers
43k 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 : ...
11
votes
4answers
23k 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.
11
votes
5answers
8k 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 ...
10
votes
3answers
57k 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 ...
10
votes
1answer
8k 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 ...
10
votes
2answers
4k 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 ...
9
votes
3answers
18k views

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

I'm using Ubuntu 14.04 ...recently install the android studio I run a hello world program there will be a error: /home/praveen/Android/Sdk/tools/emulator -avd Nexus_6_API_21 -netspeed full -netdelay ...
9
votes
2answers
3k 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
1k 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
2answers
2k 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 ...
8
votes
4answers
8k 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
198 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
3answers
12k 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 ...
7
votes
1answer
13k 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. ...
7
votes
1answer
4k 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
3answers
5k 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
1k 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
3k 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 ...
6
votes
1answer
7k 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
7k 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
2answers
27k 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 ...
6
votes
1answer
17k 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 ...
6
votes
1answer
205 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
976 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 ...
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 ...
5
votes
2answers
7k 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, ...
5
votes
4answers
4k 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
491 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
203 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 ...
5
votes
1answer
381 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 \ ...
4
votes
2answers
6k 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\ ...
4
votes
3answers
13k 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 ...
4
votes
2answers
2k 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
8k 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
588 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
799 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 ...
4
votes
2answers
3k views

KVM NVidia Passthrough

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 ...
4
votes
1answer
2k 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? ...
4
votes
1answer
11k 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 ...
4
votes
1answer
789 views

Anyone using KVM with Spice protocol?

I have a few KVM machines running in a Ubuntu 10.04 64bits host (all Windows xp Guest). I want to give a better desktop experience for the users (now they're using remote desktop to them) and run the ...
4
votes
1answer
995 views

KVM or QEMU_KVM or QEMU_SYSTEM_x86_64 on Ubuntu 13.04

I have a clean fresh updated install of 13.04 server with no graphical display just CLI. I want to run a couple of Windows and Linux guests so did some research and it looked like KVM was the way to ...
3
votes
2answers
510 views

Is it possible to install Landscape openstack in virtual machine?

I tried to install ubuntu landscape openstack in virtual machine for test purposes and to undrestand how does it work, but it does not work. I followed the official ubuntu tutorial ...
3
votes
3answers
2k views

Best way to access a Windows-XP virtual machine

I have set up a virtual machine running windows XP (as guest) on an Ubuntu 11.04/64bit machine. The virtual host is using qemu-kvm. Accessing the virtual windows using virt-manager is possible, but ...
3
votes
3answers
2k views

VirtualBox and KVM beside each other

I have a KVM virtual run on my machine. I tried a while ago to install VirtualBox..Anyway i did it and install bu when i tried to start the machine i got the error: VERR_VMX_IN_VMX_ROOT_MODE I ...
3
votes
3answers
425 views

TestDrive equivalent for Ubuntu Server

Every now and then I'd like to play with a fresh minimal install of Ubuntu (to test sysadminish scripts, application install instructions, package dependency lists etc.). I'd like to have a tool as ...
3
votes
1answer
72 views

How to connect from home PC to Virtualbox/KVM that hosted on Ubuntu server?

I have an Ubuntu server, it's 3TB HDD space total and 24GB RAM, I want to take 1 little bit of space and RAM to make VPS Windows using VirtualBox or KVM. I want to install Windows Server 2008 on ...