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

18
votes
4answers
37k 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 ...
13
votes
2answers
5k 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 ...
10
votes
1answer
7k 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
5answers
6k 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
2answers
3k 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
28k 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 : ...
9
votes
3answers
42k 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 ...
8
votes
2answers
2k 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?
8
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 ...
7
votes
4answers
12k 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.
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
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
3answers
9k 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 ...
6
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 ...
6
votes
4answers
6k 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 ...
6
votes
2answers
19k 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
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 ...
6
votes
1answer
842 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
701 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
6k 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. ...
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
290 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
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 ...
4
votes
2answers
2k 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 ...
4
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 ...
4
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 ...
4
votes
1answer
305 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 ...
4
votes
2answers
6k 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 ...
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? ...
3
votes
2answers
5k 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, ...
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
421 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
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?
3
votes
2answers
6k 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 ...
3
votes
1answer
554 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.
3
votes
1answer
8k 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 ...
3
votes
1answer
393 views

How can I use vmbuilder to install the dev ubuntu release?

I'd like to try some packaging for oneric and vmbuilder seems like the easiest way to install it in kvm, but when I tell vmbuilder to install oneric it says it only knows through natty. ...
3
votes
1answer
769 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 ...
3
votes
2answers
166 views

MAAS: Unable to start “Commisioned” nodes

I am having problems while trying to start my first node using KVM (QEMU 2.0.0) and MAAS. Automatic detection worked fine, and during the commission (virtual machine window) I get errors such as: ...
3
votes
1answer
795 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
1answer
711 views

Installing Ubuntu on a USB stick from live CD session

I'm going by the instructions here: How do I install Ubuntu to a USB key? Everything is ok except I keep getting the error: open /dev/kvm: no such file or directory could not initialize kvm, will ...
3
votes
0answers
453 views

KVM-Guest only boots single user mode

We have a Vserver Host running on Ubuntu 12.04 with KVM/QEMU and so far guests been running fine with various OS's (Ubuntu 10.04, 12.10, Debian 6,7, CentOS 5,6). After the installation of Ubuntu ...
3
votes
0answers
59 views

How do I run a PXE server?

I'm going to run several virtual machines with KVM virtualization. In order to install guest systems over PXE protocol, I am going to run a PXE server on my host machine (I'm not doing it wrong, am ...
3
votes
2answers
136 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 ...
3
votes
1answer
9k 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 ...
2
votes
2answers
4k 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\ ...
2
votes
2answers
3k views

Virtualization on Ubuntu 12.04 LTS

We plan to introduce virtualization on our 64bit Ubuntu 12.04 LTS server so that we can run, in different VMs, a file server for our staff and some development machines for our IT team (code ...
2
votes
2answers
70 views

Can Juju connect services that are in different environments?

Background: I'm trying to get Openstack working with Juju. I'm testing it, so I either have to use KVM virtualization or LXC because I only have one (powerful) machine. I would prefer to use LXC ...
2
votes
2answers
9k views

Networking stop/waiting error

I wanted to set up a bridge connection for my VMs (I am using KVM). I modified my etc/network/interfaces file and its contents are: auto lo iface lo inet loopback auto br0 iface br0 inet dhcp ...
2
votes
2answers
386 views

how can I disable ssh prompt from kvm remote

when I upgraded my KVM virtual machine manager to the latest version I got a question prompt every time I try to connect remotely to my machines: The authenticity of host 'kvm.local (ip address)' ...