home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] running QEMU without KVM, a newbie question

On Fri, 15 Jun 2012, Bart Trojanowski wrote:

> Your understanding is correct.  KVM provides an acceleration path
> for QEMU. KVM used QEMU as a base because the hard part of
> virtualization is to emulate hardware devices, and QEMU already did
> this well when KVM started.
>
> Unfortunately, I don't know of a good writeup on how to disable
> acceleration since most people want the acceleration.  I am sure you
> can google as well as I can, so I will assume that one doesn't
> exist... :-)
>
> You could unload the kvm modules, blacklist the kvm module and then
> get no acceleration.

  one of the things i just tripped across was that if you create a
QEMU image with the yocto build system, and run it with yocto's
bundled "runqemu" script, it will run *without* KVM acceleration
unless you explicitly add the "kvm" runtime argument.  i was entirely
unaware of that until i read the script carefully.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================