|
From: | Gareth |
Subject: | Re: [Qemu-devel] about -enable-kvm options |
Date: | Wed, 6 Aug 2014 12:59:49 +0800 |
On Fri, Aug 01, 2014 at 11:15:29AM +0800, Gareth wrote:It's a shortcut for:
> Hi all
>
> What does '-enable-kvm' option mean? I have heard two versions of answers:
$qemu -machine accel=kvm
That's nested KVM, which is enabled as a module option in the kernel
> a) guest OS would have /dev/kvm device and which could help vm in guest OS
> (nested vm)
module (on the host), eg:
# modprobe kvm_intel nested=1
On AMD it's enabled by default.
Nearly. It uses /dev/kvm on the host, which may or may not be
> b) use /dev/kvm and intel-vt on host OS which could help vm run more fast
> than pure emulator.
implemented using Intel VT, or a variety of other techniques.
You can also have fallbacks to software emulation (TCG):
$qemu -machine accel=kvm:tcg
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
[Prev in Thread] | Current Thread | [Next in Thread] |