KVM is the Kernel Virtual Machine, a virtualization hypervisor built into the Linux kernel.

learn more… | top users | synonyms

3
votes
2answers
2k views

Mouting a kvm qemu disk image with multiple partitions

I am trying to mount a KVM-qemu disk image with this command: sudo mount -o loop,offset=32256 centos6.img /mnt/centos6. But it shows this error: you must specify filesystem type. As I have more ...
3
votes
3answers
2k views

Installing centos and freebsd with serial console

I am trying to install Centos 5.7 and FreeBSD 8.2 on KVM with serial console access. This is what I used: sudo virt-install -n freebsd -r 1024 --vcpus=2 --os-type unix --accelerate -v --disk ...
2
votes
2answers
1k views

Installing Freebsd as guest OS on kvm without using VNC

I want to run Freebsd as a guest OS on kVM running on Ubuntu server 10.04. All howtos mention VNC as a necessity to start and finish the installation process. Can I install freebsd on kVM without ...
2
votes
1answer
271 views

KVM: network partially lost for the host, guests are fine

I got KVM working fine on a Linux system, for quite some weeks. Then today something weird happened: suddenly the host (and the host only) lost some of its Internet access: it can still access the ...
2
votes
3answers
198 views

Open running KVM in separate session

I have a KVM session running on my host. If I login as someone else on my host machine, is it possible to access that running KVM session (not through the network)? I am not using the virtual ...
3
votes
1answer
6k views

How to install KVM on CentOS 6

I can't install kvm on CentOS. I got these errors: [root@localhost etc]# yum groupinstall kvm -y Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: ...
1
vote
1answer
201 views

KVM guest machine graphics problem

I'm new to KVM. I use the following way to create and start a guest KVM machine. qemu-img create -f raw centos.img 100G /usr/libexec/qemu-kvm -hda ./centos.img -cdrom /usr/local/CentOS_5.6_Final.iso ...
3
votes
1answer
384 views

Which user group can use the 'tap' net device?

I use the 'tap' net device with KVM to get my vm connect to the Internet. But I have to be root, or use 'sudo', which is inconvenient. I think I can put my user account into some group so I can access ...
6
votes
1answer
2k views

Linux - LXC; deploying images with tiniest possible X11

is it currently possible to setup LXC containers with X11 capabilities? I'm looking forward for the lightest available X11 container (memory-wise), hardware acceleration a plus but not essential. If ...
11
votes
2answers
1k views

Weight-based block IO control for VMs

I use KVM to manage my virtual machines. I am trying to limit the resources provided for VMs. I am able to limit the CPU and memory allocated for VMs using libvirt/cgroups. Now I want to control the ...
2
votes
2answers
921 views

Using mplayer inside kvm/qemu

Is it possible to use mplayer inside kvm/qemu configuration? What video driver should I use? The only driver that worked was sdl and it was super slow. EDIT: I just found out that VirtualBox works ...
5
votes
1answer
428 views

Linux process scheduling - Cap/Weight based?

I am just trying to understand the basics of Linux scheduler. Is Linux scheduler a Cap based or weight based scheduler? I was previously using Xen. Now I am moving from Xen to KVM. I read VMs are ...
2
votes
1answer
483 views

KVM with directory rootfs

I'm currently working on an embedded system design and my test development machine is currently a VM running in KVM. Is it possible to have KVM mount a directory (like a chroot) and use that as the ...
5
votes
2answers
4k views

GPGPU/CUDA in KVM or Xen

We would like to enable direct access to CUDA-enabled GPUs within either KVM or Xen (or Citrix Xenserver). Specifically, we want to use PCI passthrough to access an NVIDIA Tesla S2050 unit, which is ...
2
votes
2answers
413 views

How do I add a KVM guest VM to virsh

I followed this guide to create a KVM guest but I didn't pay attention to this line Note: if you want to use Virsh to manage your virtual machines as detailed below, you must add this parameter:1 ...
4
votes
2answers
4k views

bridged networking with kvm

I'm trying to get a guest virtual machine connected to my network using bridging. I've come across a couple of resources online, but they seem to be out of date, deal with xen or Ubuntu or don't seem ...
3
votes
3answers
6k views

How to create a dupe of a KVM/libvirt/virt-manager VM?

I'm a bit lost with virt-manager / libvirt / KVM. I've got a working KVM VM (Windows XP) which works nicely. The VM is backed by a 4GB file or so (a .img). Now I want to do something very simple: I ...
4
votes
1answer
2k views

How to connect a KVM guest to the internet with wireless

Because my wireless network adapter does not support bridging, it is really difficult to get the guest VM to connect to the open internet and have an IP address in the same network as the host. I am ...
5
votes
3answers
608 views

Is it possible to run KVM over a qemu emulated powerpc architecture

I understand that qemu uses binary translation to emulate machines, so irrespective of the underlying architecture, it can provide emulation. And, KVM uses Hardware Virtualization technique to make ...
3
votes
2answers
1k views

How to install kvm in Debian (Lenny) over powerpc

I am emulating powerpc using qemu-system-ppc on top of x86, and running debian-lenny-ppc with it. I want to install kvm inside that debian. I have learned that the kvm and qemu-kvm packages are not ...
10
votes
3answers
3k views

Sharing an X server (session) across computers

I have 2 computers (both running linux) and I'm currently using synergy to use them. This is great, but now I'm wondering, is there any way (is it possible? being worked on? tried and failed? ...
2
votes
1answer
1k views

Connect to KVM instance using virsh when image launched through Eucalyptus?

I'm using Eucalyptus on Ubuntu 10.04 to set up a private cloud. Sometimes I'm not able to ssh into the VM instances, and I'd like to be able to connect directly to the console of the VM instance. ...
5
votes
2answers
692 views

Good tutorial for setting up a KVM/Xen box and advice on which would be better

I've got a dual xeon, 2GB, 75GB hd server that I'd like to turn into my dedicated virtual environment. Currently I'm using VirtualBox locally to run a mock cluster for Cassandra and Nginx/Haproxy, ...
6
votes
3answers
5k views

How do I connect a serial terminal to a KVM instance?

Perhaps I'm misunderstanding what KVM is capable of, but the ability to add/remove hardware on the VM seems to imply I can add a serial port that then acts as a terminal. So, my questions are: ...