Kernel-based Virtual Machine

learn more… | top users | synonyms

17
votes
4answers
33k 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 ...
12
votes
2answers
2k 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
5answers
5k 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
2k 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
21k 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 : ...
8
votes
3answers
33k 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
1answer
6k 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 ...
8
votes
1answer
864 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
3answers
4k 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 ...
7
votes
2answers
1k 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?
6
votes
1answer
3k 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
5k 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
3answers
8k 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.
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
759 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 ...
5
votes
3answers
8k 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 ...
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
2answers
13k 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 ...
5
votes
1answer
254 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
1answer
527 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 ...
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
2answers
1k 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
3k 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. ...
4
votes
1answer
237 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
5k 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 ...
3
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 ...
3
votes
2answers
3k 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
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 ...
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
409 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
5k 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
514 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
7k 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
383 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
752 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
1answer
750 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
1k 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
1answer
685 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
31 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 ...
2
votes
2answers
3k 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
56 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
318 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)' ...
2
votes
1answer
1k views

How do I remotely shut down a virtual machine (over SSH)?

I have some KVM virtual machines running Ubuntu 11.10. Using the GUI of the Virtual Machines I can turn them off as you would normally do it on Ubuntu. However, I prefer to work on the VMs using SSH ...
2
votes
2answers
176 views

What is the process to get a winXP or win7 from its original harddrive into a virtualbox VM?

I've got a crying student in the hallway. It is submission date for an assignment paper, and his laptop died as it fell out of his backpack doing 30mph on the way in. The solid-state-disk seems ok, so ...
2
votes
1answer
2k views

Update Qemu on Ubuntu 12.04

Currently Ubuntu 12.04 comes with Qemu 1.0, I would like to update this to a newer version (1.5/1.6) to achieve maximum performance. However there doesn't seem to be an apt package for versions > 1.0 ...
2
votes
1answer
1k views

Specifying a local iso to vmbuilder for KVM

I am trying to specify a local .iso image of the Ubuntu OS I would like to use to create a virtual machine of. According to vmbuilder kvm ubuntu --help, (and this post) you are allowed to specify an ...
2
votes
1answer
2k views

How do I connect to my running VM via virsh?

My VM has already been started via virsh start chameleon.ootbdev. When I do a virsh console chameleon.ootbdev I get the following output: Connected to domain chameleon.ootbdev Escape character is ^] ...