From: Avi Kivity <avi@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: "Martin Kejík" <kejda@centrum.cz>, kvm@vger.kernel.org
Subject: Re: kvm + kqemu enabled at the same time
Date: Wed, 29 Oct 2008 09:21:24 +0200 [thread overview]
Message-ID: <49080EF4.4090307@redhat.com> (raw)
In-Reply-To: <49078CF8.9070704@codemonkey.ws>
Anthony Liguori wrote:
> Martin Kejík wrote:
>> Hello,
>> I've compiled the KVM enabled QEMU with support for both KVM and
>> KQEMU. Both modules loaded and
>> QEMU running saying "kvm: enabled" and "kqemu: enabled for user code".
>>
>> How does this work?? What does QEMU really do in this situation when
>> we look closer to CPU??
>>
>
> You're using both accelerators at the same time and getting 2x
> acceleration. It will actually go faster than native now :-)
>
> Seriously, it's working based on sheer luck. If you look at the
> cpu_exec() loop (which is the core execution loop in QEMU, you'll see):
Is cpu_exec() actually executed with kvm? I think we fork vcpu threads
and jump to our own little main loop before that.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
prev parent reply other threads:[~2008-10-29 7:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 21:20 kvm + kqemu enabled at the same time Martin Kejík
2008-10-28 22:06 ` Anthony Liguori
2008-10-29 7:21 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49080EF4.4090307@redhat.com \
--to=avi@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=kejda@centrum.cz \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.