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
377 views

Dual-use guest for LXC and KVM?

Would it be possible to install (and maintain by simple means, such as apt-get dist-upgrade) a "dual-use" setup? I.e. install an guest instance in a way which allows me to run it either as LXC or as ...
1
vote
0answers
103 views

What facets should I consider when deciding which guest to jail in (“full”) KVM and which in LXC?

Currently I am migrating to a new server. The old one ran 10.04 as host system and a few more 10.04 and Debian 6 as KVM guests. This was alright, because the processor had support for virtualization. ...
5
votes
1answer
403 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 \ ...
2
votes
2answers
691 views

KVM - Guest does not recognize second NIC

I have a server running Proxmox (a virtualization platform), and created a KVM virtual machine with Ubuntu Server 12.10. After configuring the network, everything works fine, but if I add a second ...
0
votes
1answer
486 views

Ubuntu Cloud UEC 12.04 amd64 image has an invalid locale

Following the tutorial in https://help.ubuntu.com/community/UEC/Images#DownloadUECImages I was able to execute the Ubuntu 12.04 Cloud Image (amd64) in my computer ...
2
votes
3answers
4k 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!
1
vote
0answers
425 views

KVM performs poorly - Virtualizing Windows 7/XP under Ubuntu 11.04 [closed]

I'm trying to virtualize any Windows OS on my AMD E-350. I enabled the hardware virtualization in the BIOS but it somehow seems to perform very poorly! Win XP install took about 2.5h and seems kind ...
1
vote
1answer
525 views

udev to ignore disk partition mapping?

is it possible to disable partition mapping on specific SATA disk? I'm using ,say "sdb", disk for DRBD replication where KVM VM is installed directly. Because of that, /dev/sdb got partitions and ...
2
votes
1answer
1k views

Kvm: 'kvmvapic.bin': No such file or directory

I'm trying to set up virtual machines with kvm and spice. Every time I start a virtual machine it outputs an error and runs extremely slow. max@TuxServer:~$ kvm-spice -hda vdisk.img -cdrom ...
0
votes
1answer
551 views

VM running across multiple hardware

Is it possible to deploy a single Virtual Machine instance to run across multiple physical hardware using Ubuntu's virtualization solution, namely KVM, MAAS, JUJU, etc? Imagine the following ...
1
vote
1answer
274 views

virt-manager in php

can anybody help me to display details about the VM using PHP code. am using Ubuntu server and used KVM as hypervisor. Am trying to display cores, ram, memory alloted each VM. i have tried all the ...
0
votes
1answer
85 views

Another Error in migration

i got error when vm migration "Unable to migrate guest: operation failed: migration job: unexpectedly failed " Please Help me
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 ...
2
votes
1answer
298 views

How to Trace my Network's Steps

Question (concise version): Where in my log files would I find information regarding the networking steps executed between the time I have left the login screen and the time I have landed comfortably ...
0
votes
2answers
2k views

Startup script sometimes fails - rc.local virtual machine

I've added simple line: python <path-to-my-script> & to /etc/rc.local, but I've noticed that after migration from one host to the other one, the script sometimes fails. I'm using KVM, ...
1
vote
1answer
1k views

FTP won't open a connection to client

I am running Windows server 2008 on Ubuntu server 12.04.1 via devstack and I am trying to download a file from an ftp server using the windows command line ftp client. When I run the ftp get command ...
1
vote
1answer
2k views

Is it possible to execute terminal commands using PHP?

Is it possible to execute terminal commands using PHP? I need to display cores alloted to each VM and some other details of the virtual machine. Am using KVM. can anyone help to do so. Am using Ubuntu ...
5
votes
1answer
581 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 ...
2
votes
1answer
1k views

Setting up a GUI-based libvirt VM

I am attempting to create a virtual machine using libvirt that will have a GNOME GUI and remote accessibility. I have successfully set up the VM to run, but I am unable to access it remotely. The ...
2
votes
2answers
5k views

How to convert qcow2 virtual disk to physical machine and reversely

I have a KVM Server and I am using qcow2 as vm image format I need to convert virtual machines into physical machines Any helpfull idea?
0
votes
1answer
1k views

Added a bridge for VM guest, now the host can't access the internet

I've installed KVM and set up bridged networking as per the instructions in this user guide. The guest on the VM seems to be working fine. I can SSH into it and it can ping the outside world. But now ...
1
vote
2answers
77 views

Booting Windows VM in server asks for OS CD

Using KVM I have installed Windows Virtual machine in Ubuntu server 11.04. Every time if I boot the Windows VM, it asks for OS CD. But other Linux VMs boot properly. I need Windows VM to be booted ...
1
vote
1answer
6k views

virt-manager USB 2.0 problem

I have an Ubuntu 12.04 64bit with QEMU/KVM & virt-manager 0.9.4 (latest compiled from source) installed my problem is that all guest windows machines does not recognize usb2.0 ports: windows xp ...
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
638 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
6k 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
48k 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
752 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
7k 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
420 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
937 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
373 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
2answers
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
2k 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
183 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 ...