All of lore.kernel.org
 help / color / mirror / Atom feed
* running my qemu images with kvm
@ 2012-06-14 18:05 Robert P. J. Day
  2012-06-14 20:07 ` Scott Garman
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2012-06-14 18:05 UTC (permalink / raw)
  To: Yocto discussion list


  embarrassingly, i only just noticed that if i want my
yocto-generated qemu images to take advantage of kvm, i should add the
arg "kvm" to my "runqemu" invocation, is that correct?

  if that's the case, might it be worth adding that note to the
standard oe-init-build-env output at the bottom?  or perhaps referring
the user to the output of "runqemu -h" for available run-time options?

  at the moment, it seems awfully easy to run your qemu image without
realizing you're not taking advantage of kvm.  or am i misreading
something?

rday

-- 

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

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: running my qemu images with kvm
  2012-06-14 18:05 running my qemu images with kvm Robert P. J. Day
@ 2012-06-14 20:07 ` Scott Garman
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Garman @ 2012-06-14 20:07 UTC (permalink / raw)
  To: yocto

On 06/14/2012 11:05 AM, Robert P. J. Day wrote:
>
>    embarrassingly, i only just noticed that if i want my
> yocto-generated qemu images to take advantage of kvm, i should add the
> arg "kvm" to my "runqemu" invocation, is that correct?

Correct.

>    if that's the case, might it be worth adding that note to the
> standard oe-init-build-env output at the bottom?  or perhaps referring
> the user to the output of "runqemu -h" for available run-time options?

Since the oe-init-build-env script gets invoked for many scenarios that 
don't involve running runqemu, I'm not convinced that the info is needed 
- it might be nice to have, but we don't want to clutter the output with 
too much info.

>    at the moment, it seems awfully easy to run your qemu image without
> realizing you're not taking advantage of kvm.  or am i misreading
> something?

I've been running my QEMU sessions without kvm and it hasn't been a big 
deal. Since we do mention its use in the runqemu usage help, IMHO it's 
appropriately documented.

I'm not sure what the status is of kvm support in the various 
environments that Yocto is run in, so enabling kvm by default may not be 
safe. Please correct me if I'm wrong.

Thanks for the feedback,

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-14 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14 18:05 running my qemu images with kvm Robert P. J. Day
2012-06-14 20:07 ` Scott Garman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.