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

1
vote
1answer
2k views

How to make sysctl network bridge settings persist after a reboot?

I am setting up a notebook for software demo purpose. The machine has 8GB RAM, a Core i7 Intel CPU, a 128GB SSD, and runs Ubuntu 12.04 LTS 64bit. The notebook is used as a KVM host and runs a few KVM ...
7
votes
3answers
6k 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 ...
11
votes
5answers
9k 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 ...
2
votes
2answers
586 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)' ...
4
votes
1answer
3k 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? ...
1
vote
2answers
5k views

KVM guest disk performance

My KVM guest does max. 200MB/s although the host does easily > 700MB/s (Raid 0 with 4 SSDs). Configuration: File-based storage (raw), cache none. Host 24 cores, 96GB ram, Ubuntu 12.04.1 LTS and ...
1
vote
2answers
2k views

Very slow KVM in Ubuntu 12.04

I use Ubuntu 12.04 64-bit and KVM, my CPU is Core i5 3.3 GHz and I have 8 GB of DDR3 RAM. I run Windows 7 in KVM and it's extremely slow. My co-worker use Debian on the same PC configuration and can ...
2
votes
1answer
49 views

Is it possible to lose some directories when upgrading from 11.10 to 12.04?

Last day I upgraded my Ubuntu 11.10 desktop to Ubuntu 12.04. I was running a KVM virtual about 7 machines and managed by virt-manage software. Anyway when I finished upgrading I found that ...
13
votes
3answers
45k 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 : ...
2
votes
1answer
2k 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
3k views

KVM with VT-x and 64-bit machine

I recently got my hands on a new laptop with an i3-2310M which supports the VT-x extension. I want to guest install Windows 7. How do I use VT-x on KVM? How will the guest OS benefit/what more can ...
2
votes
3answers
731 views

Sharing IPv6 from SixXS to local KVM guests

I have a couple of tunnels and a subnet from SixXS. One tunnel is for my laptop, the other is for my desktop. On my desktop, I run kvm and have a few guests that I really would like to have IPv6 ...
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\ ...
3
votes
1answer
3k 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 ^] ...
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 ...
1
vote
1answer
2k views

kvm in ubuntu desktop

It's possible install kvm in ubuntu desktop version, or it only could be installed in server version. Forums always explain over server version, I'm wandering if desktop version could do the same. ...
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 ...
1
vote
1answer
395 views

KVM Image file portability

I have created some KVM Virtual Machines, each running Ubuntu 11.10 and using 1 CPU and 1024MB of RAM. I wonder how portables are those images. I mean if I copy the Image files to another computer ...
1
vote
2answers
907 views

Can I install to a raw logical volume, or must I partition the space first?

I would like to install a KVM-based Ubuntu guest to an LVM-based logical volume, without creating a partition table on the space first. There doesn't seem to be a way within the installer to mount my ...
0
votes
1answer
361 views

vmbuilder fails on chroot

I am trying to install virtual machine with this command, but have no success: vmbuilder kvm ubuntu --verbose --suite precise --flavour virtual \ --part partitions.txt --ip 192.168.1.3 --hostname ...
0
votes
1answer
2k views

Bridged Networking with 64 bit Ubuntu 12.04 server as host to a KVM virtualized setup

I saw two other similar posts on this topic but my situation is slightly different. Basically, I need to set up bridged networking that uses static ip (not dhcp) on an Ubuntu 12.04 host running KVM. ...
4
votes
1answer
12k 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
2answers
3k 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?
1
vote
3answers
1k views

Bridged networking in KVM

I'm using ubuntu 10.04 with qemu-kvm installed. I bridged my eth0 to br0. My problem is that The host OS loses connection. Here is my interfaces file auto lo iface lo inet loopback auto eth0 ...
6
votes
2answers
8k 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 ...
0
votes
2answers
1k views

Failure to boot after upgrade from 10.10 to 12.04

After upgrade from 10.10 -> 11.04 -> 11.10 -> 12.04 I got this error: How can I solve this?
2
votes
2answers
182 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 ...
0
votes
1answer
370 views

Virt-Manager loses connection sometimes

I've been having an odd issue with virt-manager on 12.04. Generally speaking it works flawlessly, however sometimes it appears to lose connection. I've noticed that this will only occur if I 'reopen' ...
2
votes
1answer
5k views

How do I boot Ubuntu Cloud images in KVM?

I'm trying to get an Ubuntu Cloud image running on my local KVM installation. I am downloading the qcow2 image from here: http://cloud-images.ubuntu.com/releases/precise/beta-2/ And using the ...
1
vote
0answers
148 views

Ubuntu 11.04 Server randomly hanging [closed]

I'm running an Ubuntu 11.04 server release with kernel version 2.6.38.13-server, and for as long as I've had the system it has hung randomly. I'm starting to look into the LSI MegaRaid controller, ...
2
votes
1answer
3k views

PCI Passthrough on KVM

I am running KVM on Ubuntu 11.10 on an Intel-based machine, with G33 chipset and Q6600 processor (Supports VT-d). I am having problems when I want to add my PCI TV Card to my virtual machine. I get ...
0
votes
1answer
680 views

Ubuntu KVM Networking

I have two VMs ( linux based VM ) running on a UBUNTU/QEMU KVM. I am looking at a simple networking model, where in the VMs have public address and need to talk to the outside world and the outside ...
1
vote
1answer
2k views

Reset a USB Modem without physical access (KVM virtual machine)

ubuntu community, im using a usb-modem to connect a virtual machine with the internet. So host and guest do not share the same ip/network. I emulate by qemu-kvm, device forwarding works great with ...
10
votes
3answers
61k 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 ...
1
vote
1answer
455 views

Connect to kvm instance via VNC and view X session

I've launched an Ubuntu 11.10 instance (oneiric-server-cloudimg-amd64-disk1.img downloaded from here) inside of KVM, with VNC enabled. I can connect to the instance using VNC, and I see a login ...
12
votes
4answers
26k 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
13k 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 ...
2
votes
1answer
472 views

How to configure the virtual machine settings in VMware's VSphere Client?

I probably got a uncommon problem/question regarding virtualisation. I want to evaluate certain things of OpenStack framework. I got an esx-server where I have setup a ubuntu server 64 bit. I need ...
3
votes
1answer
15k views

QEMU / KVM: Unable to pass multiple cores / CPUs to guests

it seems that I am unable to pass multiple cores / CPUs to KVM guests. Whatever I do, the guests only report one CPU / core. Host hardware: Xeon E5620 on a Supermicro mainboard Host software: Ubuntu ...
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 ...
0
votes
1answer
2k views

Unable to install 64-bit VM using KVM

I'm trying to install a 64-bit VM on a 64-bit host Ubuntu 11.04 server. I am using the 64-bit iso (ubuntu-11.10-desktop-amd64.iso) and I set the architecture to x86_64 but when I install the VM it ...
4
votes
3answers
9k 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 ...
1
vote
2answers
7k views

How to enable RDP on KVM

I installed KVM on a ubuntu natty server. I created a Windows XP Pro virtual machine that works perfectly and catch up with VNC, follow the setup string: <graphics type='vnc' port='5900' ...
1
vote
4answers
2k views

Backing up a VM server to an external USB drive

I have an ubuntu 10.04 server running my VMs on kvm/qemu. I've been manually pausing my VMs (using virt-manager gui) and then copying the /var/lib/libvirt folder to an external usb drive at ...
0
votes
2answers
1k views

Working with remote dekstop?

I am running a Ubuntu 11.10 virtual machine under KVM hypervisor, bridged and connected to the local network. I installed VNCServer in the virtual machine and tried remote desktop, What happens is ...
0
votes
2answers
10k views

How do you get sound working on a Windows 7 guest OS in KVM on Ubuntu 11.10?

I have Ubuntu 11.10 installed on my work laptop. I have a Windows 7 (32 bit) guest OS installed using Virt-Manager. Everything works fine, EXCEPT sound. AC97 hardware is configured in the guest OS ...
1
vote
1answer
213 views

Could not start vanilla kernel on virtual machine

I have a Dell laptop with Ubuntu 11.10 installed. It is the host for 3 virtual machines (also running Ubuntu 11.10) installed using KVM. I need to recompile the kernel of each virtual machine for ...
1
vote
2answers
908 views

How to prevent installation from ejecting cd-rom?

I'm installing ubuntu server 10.04 over kvm switch. I have no physical access to the server. The server has ubuntu installation cd inserted. How to prevent setup from ejecting it after completion?
1
vote
1answer
1k views

Can't ssh or console to the guest using ubuntu-vm-builder

I'm running Oneric as the host, would like to create several virtual machines. Both the host and the guests will be headless - there is no display connected, and I'd like to connect to them via ssh. ...
1
vote
1answer
3k views

Loading KVM AMD module fails

I want to use QEMU+KVM on Ubuntu 11.10 Oneiric but virt-manager warns that KVM is not loaded and performance will suffer. The problem may depend on the fact that sudo modprobe kvm-amd fails with ...