Questions tagged [kvm-virtualization]

KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko. KVM also requires a modified QEMU although work is underway to get the required changes upstream.

Introduction

Kernel-based Virtual Machine (KVM) is a virtualization infrastructure for the Linux kernel. KVM supports native virtualization on processors with hardware virtualization extensions. KVM originally supported x86 and x86-64 processors and has been ported to S/390, PowerPC, and IA-64. An ARM port is in progress.

A wide variety of guest operating systems work with KVM, including many flavours of Linux, BSD, Solaris, Windows, Haiku, ReactOS, Plan 9, and AROS Research Operating System. A modified version of QEMU can use KVM to run Mac OS X.

Limited paravirtualization support is available for Linux and Windows guests using the VirtIO framework. This supports a paravirtual Ethernet card, a paravirtual disk I/O controller, a balloon device for adjusting guest memory usage, and a VGA graphics interface using SPICE or VMware drivers. KVM uses SeaBIOS.

Design

By itself, KVM does not perform any emulation. Instead, a user space program uses the /dev/kvm interface to set up the guest VM's address space, feeds it simulated I/O and maps its video display back onto the host's. QEMU versions 0.10.1 and later make use of this.

Features

  • QMP - QEMU Monitor Protocol
  • KSM - Kernel Samepage Merging
  • Kvm Paravirtual Clock - A Paravirtual timesource for KVM
  • CPU Hotplug support - Adding CPUs on the fly
  • PCI Hotplug support - Adding PCI devices on the fly
  • vmchannel - Communication channel between the host and guests
  • migration - Migrating virtual machines
  • vhost -
  • SCSI disk emulation -
  • Virtio Devices -
  • CPU clustering -
  • hpet -
  • device assignment -
  • PXE boot -
  • iSCSI boot -
  • x2apic -
  • Floppy -
  • CD-ROM -
  • USB -
  • USB host device passthrough -
  • Sound -
  • Userspace Irqchip emulation -
  • Userspace Pit emulation -
  • Balloon memory driver -
  • Large pages support -
  • Stable Guest ABI -

Links

Official Website

2405 questions
1
vote
2 answers

KVM - Problem installing Windows 2003 guest on Debian Lenny 64bit Host

I have a Debian Lenny 64bit host and had kvm installed with a windows 2003 working just fine but i noticed how old the kvm version in the standard packages was so I decided to update using debian backports to get more upto date packages. So i…
Brandon
  • 161
  • 1
  • 6
1
vote
2 answers

Migration from Xen to KVM

I have Xen domU virtual machines running Windows. Each of them are installed in their own LVM logical volumes. I want to migrate them to another server with KVM on lvm to. How can I do this faster and better with low downtime.
Biriukov
  • 407
  • 2
  • 8
1
vote
3 answers

Remote desktops with RedHat "Server" package?

I'm investigating options for a small corporate virtualisation setup. We specialise in scientific computing and would like to consolidate our resources. We are keen on KVM, since it looks like it performs well with multiple vCPU per VM. I'm…
1
vote
3 answers

Enable Intel-VT inside of VMware Workstation

I'm testing Nova Compute from OpenStack project inside of a VMware Workstation v7 virtual machine, and I get this error: libvirtError: internal error no supported architecture for os type 'hvm' This is because the VM can't run hardware accelerated…
1
vote
1 answer

Run a KVM machine with qemu

I'm facing a strange problem. I thought that kvm was just a modified version of qemu for hardware acceleration. Now I'm trying to run a VM on different computers using qemu without acceleration. This is not for production, simply for hacking a…
ixio
  • 53
  • 7
1
vote
3 answers

slow network in centos5 VM with centos5 host running KVM

I setup KVM following the guide here: http://www.cyberciti.biz/faq/centos-rhel-linux-kvm-virtulization-tutorial/ I setup a bridged network and it worked fine except that the transfer speed is 200KB/s instead of the gigabit speed that I get on the…
dan
  • 323
  • 1
  • 5
  • 16
1
vote
2 answers

Best practice with huge VM disks, NFS mount or huge image file?

I am looking into a backup solution, it will run on a virtual machine located at our KVM-host. The question is wether it is best to use a LVM-volume on the host and mount that with NFS into the guest backup machine or wether to use a big disk image.…
1
vote
1 answer

Mount partition on KVM guest and host at the same time

Is there a way to mount a partition on the kvm host and one guest at the same time? (on linux / ubuntu, no samba suggestions, please)
user45551
1
vote
3 answers

Software raid mdadm not adding spare

I just discovered the same problem on two brand new and identical servers installed only about 9 months ago. I was unable to write to the disk on both of them, because the system had marked it read-only. Logs indicated there was some sort of disk…
Tauren
  • 739
  • 4
  • 14
  • 24
1
vote
1 answer

Difference between VCPU and -smp for KVM Guests?

What is the difference between die the VCPU setting in the XML config files and the -smp switch for the kvm command line? We have a i7-920 with 4 Cores and HT (which results in 8 visible/virtual cores) and want to assign each guest one real core and…
dermatthias
  • 113
  • 5
1
vote
1 answer

Create bridged networking in KVM without libvirt

I've created a bridge on the host with a method similar to the one here: http://wiki.libvirt.org/page/FAQ#Why_doesn.27t_libvirt_just_auto_configure_a_regular_network_bridge.3F However, to link the guest machine to the bridge, the doc suggests…
1
vote
1 answer

VPS environment, how secure am I?

I have a VPS with sensitive data on it. The host runs KVM and I have a guest with Ubuntu on it. The people running the host, how easy is it for them to extract data from my guest while it's running live? I have encrypted the sensitive data so they…
grandnasty
  • 141
  • 1
  • 4
1
vote
3 answers

I don't see the running guest in virsh

Using CentOS 5 with KVM. I have downloaded this KVM applicance, and when unzipped it is just a .img file. No xml file supplied. I can start the guest with /usr/libexec/qemu-kvm -hda /data/kvm/slash.img -m 512 and it works. Now I would like to make…
Louise Hoffman
  • 476
  • 2
  • 6
  • 12
1
vote
3 answers

Single machine & KVM-only Eucalyptus installation?

I was wondering if there's an easy way to install Eucalyptus on a single VT-enabled machine (all Front End, CC, NC..), without installing XEN along with it's specific kernel and dependencies: kernel-xen x86_64 …
None
1
vote
3 answers

Big MTUs under some VM system

I'm pretty sure we aren't the only site using jumbo frames (~9k), right? Well, for those of you that are doing it as well, what are you doing about virtualization? Namely: Xen doesn't support packets over 1500 bytes on bridged interfaces. …