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

learn more… | top users | synonyms

2
votes
3answers
837 views

How to access a KVM virtual-machine?

I've created a KVM VM using virt-install. There is an image file in the directory /ssd/kvms. How do I access the virtual machine and turn it on? Do I need to assign an IP address, and if so, how do I ...
2
votes
0answers
247 views

How to setup KVM partitions?

I'm trying to install SolusVM/KVM on a server with one 500 GB HD and one 256 SSD. I am a complete beginner at Linux. SolusVM has a script on the site to download and install automatically, but how do ...
3
votes
0answers
215 views

Setup Cloudmin on Centos installed in LVM

I installed CentOS 6 with default LVM partition pattern. according to this pattern Can I use Cloudmin and store KVM Disks in LVM as Logical Volume? I think Cloudmin requires creating new logical ...
3
votes
1answer
5k views

What is the difference between virbr# and vnet#?

I am running KVM on RHEL6, and I have created several virtual machines in it. Issuing ifconfig command to the host system command line shows a list of virbr0, virbr1... and vnet0, vnet2... Are they ...
1
vote
2answers
2k views

Why doesn't eth0 get an ip address when set up in a bridge?

I'm trying to understand how dhcp for IPv4 is used with bridging. eth0 is configured to be in br0. This is working just fine but only br0 gets a dhcp lease, while eth0 doesn't. Both are configured ...
1
vote
1answer
390 views

How to get the cloned guest connected to the Internet?

I made a clone of a VM(running a version of Centos 6) on KVM, but the clone wouldn't connect to the Internet. Issuing ifconfig shows no interfaces but the lo. Interestingly, the original system can ...
2
votes
1answer
212 views

can't start default network, is there a way to run dnsmasq for both local and kvm?

I can't start KVM since I use dnsmasq on my laptop as a DNS cache server, So, I'm wondering if this can be merged to the server I'm running.
4
votes
3answers
756 views

Error when try to install KVM on CentOS

I am trying to install KVM from Installation doc. When I run the command modprobe kvm-intel I get the error FATAL: Error inserting kvm_intel ...
4
votes
1answer
1k views

kvm doesn't load Windows 8

I'm launching kvm with the following parameter: kvm -m 2g -smp ncores=2 -hda disk.img -cdrom win8.iso My CPU has VT support and enabled, EDIT I seems to have limited emulate type: pc ...
1
vote
5answers
12k views

How to improve Windows perfomance when running inside KVM

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 ...
4
votes
0answers
196 views

Socksifying a qemu-kvm using tsocks

I'm trying to socksify a qemu-kvm using tsocks, but I have no success. I don't know if qemu access directly the hardware, skipping the OS or something like that, but I wasn't able to do this feat. ...
4
votes
2answers
1k views

How to use a 64-bit CPU in KVM?

According to tests the Mac Mini 3,1 CPU is 64-bit (grep -q "^flags.*\blm\b" /proc/cpuinfo) and supports Intel virtualization extensions (grep -q "^flags.*\bvmx\b" /proc/cpuinfo). However, after ...
0
votes
1answer
611 views

How to compile kernel for KVM guest (without paravirtualization)?

So I have a KVM machine, where I run an Ubuntu 12.04 (server edition). I want to compile a minimalistic kernel for the KVM guest, but I only found the howto for hosts, and guests with ...
1
vote
0answers
683 views

KVM network bridge and public static IP for both host and guests [closed]

I have a Debian Server with 4 public static addresses. There is a KVM guest (also Debian) installed and running. What I want is to give the guest an IP of the host, so that both machines have public ...
1
vote
1answer
2k views

Bridging ethernet interface

I have a server with 4 public IP's. I have it with this configuration and I want to bridge the interface eth0 for using it with KVM: So, I have 3 IP's (A.B.C.144, A.B.C.145, A.B.C.146) and another ...
2
votes
4answers
2k views

Run if statement on remote machine

I'm trying to run a set of commands on a remote machine, that includes an if statement. I'm using this to shutdown a list of kvm instances. The first line should be fine, but could be prettier, rest ...
4
votes
2answers
2k views

How to know if a process is attached to a tap interface?

I sometimes come upon machine with tap interfaces (eg, when KVM is running). How can i know which process is attached to the tap interface ?
1
vote
1answer
700 views

Partitioning scheme for a virtual machine host

I am planning to use an Ubuntu Server 12.04 with KVM to create 2 virtual machines. Reading some docs on the net, I have found that a good approach is to use LVM based VM, so my idea is to have: 1 ...
2
votes
1answer
1k views

What is a framebuffer device and is it required to obtain a higher resolution?

I am running a gentoo guest OS on qemu-kvm. I can only get resolution of 800x600 in it. I want to be able to get a higher screen resolution. xrandr gives the following output : xrandr: Failed too ...
1
vote
0answers
457 views

qemu-kvm savevm very slow

I have up to date gentoo system with kvm images located on 500 gb partition with 200 gb of free space and defragmented, running machine with Windows XP and 2gb ram, I have problem with making snapshot ...
1
vote
1answer
996 views

Photoshop CS5 in Fedora 15

I'm working on a project, which implies that I use photoshop design files. So far I haven't figured out the best way to deal with it in Fedora 15. I installed GIMP, but layers don't look as they do ...
5
votes
1answer
5k views

QEMU-KVM and internal DHCP server

I have set up a few soon-to-be production VMs running on QEMU-KVM on Ubuntu 10.04 LTS. As for networking, I chose the "NAT" option in Virt-Manager and each VM now gets an IP address 192.168.122.x ...
2
votes
2answers
2k views

Poor network performance from KVM virtual machine

I am running a 32-bit Linux virtual machine on KVM. The host machine is a 64-bit Linux machine connected to a LAN. Attempting to transfer files with scp from the KVM machine to a server on the LAN ...
1
vote
3answers
2k views

Qemu terminating on signal x from pid xxxx

I've been all over google and back and I cannot locate any information on this particular error. qemu: terminating on signal 15 from pid 3111 I'm using Virtualizor to launch new KVM VPS on my ...
5
votes
2answers
6k views

How to copy qemu raw images?

I want to backup kvm virtual machines and copy machine's images another path or usb disk? How to copy " qemu raw images"?
11
votes
7answers
10k views

Should LVM partitions be used in virtual machine images?

Should LVM be used for the partitions when creating VM images (e.g., KVM images)? It seems like it adds complexity if you want to, say, mount a qcow2 image in the host if the image has LVM partitions. ...
8
votes
4answers
15k views

How to find the IP address of a KVM Virtual Machine, that I can SSH into it?

I have follow this guide (Virtualization With KVM On Ubuntu 11.10) to setup my KVM (Virtual Machines Software) on my Ubuntu 11.10 Server. However, I didn't setup my VM's IP address when creating the ...
3
votes
1answer
591 views

What happens if you add a vlan-device to an interface that already is a vlan device?

When configuring an application that creates vlans by using vconfig add, I discovered that it was adding a vlan device to something that was already a vlan device. Effectively, what happened was: # ...
2
votes
1answer
449 views

How to extend an ext3 partition over LVM inside a file (virtual machine)?

I need to extend the root partition of a virtual machine (VM) using LVM (Logical Volume Manager). I can afford a few minutes of downtime so a VM shutdown/reboot is fine. The virtual hard disk is in ...
2
votes
2answers
1k views

How to make new KVM with existing hard drive

I've been looking through the options of the QEMU binary, and I can't work this one out: Is it possible to make a new KVM machine with an existing hard drive image with an OS (XP Pro in this case) ...
2
votes
1answer
576 views

Do I need hardware support for KVM for virtio paravirtualisation

Unfortunately I need to run virtual system on the machine without hardware support for visualisation. From kvm page I read that kvm is needed however it is not mentioned whether they mean the kernel ...
11
votes
2answers
4k views

Faster graphics in KVM guest

Is there any way to improve the graphics performance of a KVM guest? I suspect that the question is too general, so I will give my setup and requirements. My ultimate goal is to use an Ubuntu guest ...
3
votes
2answers
3k 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
2k 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
407 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
236 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
270 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
2answers
702 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
3k 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 ...
12
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
1k 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
480 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
566 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
5k 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
643 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
5k 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 ...
6
votes
3answers
10k 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
3k 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 ...