From: Avi Kivity <avi@redhat.com>
To: Jamie Lokier <jamie@shareable.org>
Cc: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Anton D Kachalov <mouse@mayc.ru>
Subject: Re: [Qemu-devel] POLL: Why do you use kqemu?
Date: Mon, 08 Jun 2009 15:28:23 +0300 [thread overview]
Message-ID: <4A2D03E7.8070702@redhat.com> (raw)
In-Reply-To: <20090608121626.GF25684@shareable.org>
Jamie Lokier wrote:
> I'm happy to test older guests on latest KVMs, and QEMU upstream with
> KVM support if that works.
>
> But the AMD and VIA hardware I have does not support KVM; all my
> KVM-capable machines are Intels.
>
> I could test using the nested-SVM support, I suppose, but I'm not that
> masochistic yet. :-) (I wonder if nested-SVM supports 16 bit nested guests).
>
I think you mean tcg-svm, not nested svm. If the guest's guest boots,
then 16 bit mode works.
Of course, this area is heavily experimental.
> Can you say a bit more about what 'unrestricted guest' means? Does it
> mean that some protection is disabled (like in vm86 mode on x86_32)?
>
It's Intel-speak for "we fixed the bug where you couldn't virtualize
real mode".
>> kvm will run most 16-bit code natively,
>> just have to complete task switch support and fix any bugs.
>>
>
> Ah, the old "fix any bugs" caveat, combined with "most" :-)
>
> I looked at KVM's 16-bit interpreter a few months ago, and it wasn't
> clear (to me) if it covered the complete 16-bit opcode space.
>
It isn't complete, and things like interrupt injection aren't
implemented at all.
> Is there a reason to duplicate QEMU's task switch emulation, instead
> of trapping out to QEMU? Modern OSes don't use x86 task switching
> (because it's slow on real CPUs) except for ring stack switches, so
> it's hardly a performance requirement. Accurate task switch support
> is fiddly to get right. Think of all the exceptions including
> paging/segment exceptions in the middle of reading the TSS block.
>
kvm is designed to be useful without full emulation in userspace.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-06-08 12:28 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-03 21:57 [Qemu-devel] POLL: Why do you use kqemu? Anthony Liguori
2009-06-04 16:55 ` Anton D Kachalov
2009-06-05 0:44 ` Johannes Schindelin
2009-06-05 7:45 ` Gerd Hoffmann
2009-06-05 8:40 ` Tomasz Chmielewski
2009-06-05 9:08 ` Anton D Kachalov
2009-06-05 9:15 ` Gerd Hoffmann
2009-06-05 20:14 ` Lennart Sorensen
2009-06-05 23:23 ` Johannes Schindelin
2009-06-08 0:13 ` Jamie Lokier
2009-06-08 5:59 ` Avi Kivity
2009-06-08 11:57 ` Jamie Lokier
2009-06-08 12:03 ` Avi Kivity
2009-06-08 12:16 ` Jamie Lokier
2009-06-08 12:28 ` Avi Kivity [this message]
2009-06-08 12:44 ` [Qemu-devel] " Jan Kiszka
2009-06-08 13:06 ` Avi Kivity
2009-06-08 13:18 ` Jan Kiszka
2009-06-08 13:24 ` Avi Kivity
2009-06-08 13:44 ` Jan Kiszka
2009-06-08 14:03 ` Avi Kivity
2009-06-08 12:36 ` Jan Kiszka
2009-06-08 18:25 ` [Qemu-devel] " Lennart Sorensen
2009-06-06 13:27 ` Andreas Färber
2009-06-06 16:02 ` Avi Kivity
2009-06-06 16:29 ` Blue Swirl
2009-06-06 17:02 ` [Qemu-devel] " Jan Kiszka
2009-06-06 17:25 ` Blue Swirl
2009-06-06 17:32 ` Jan Kiszka
2009-06-06 19:15 ` Andreas Färber
2009-06-07 5:43 ` Avi Kivity
2009-06-07 5:01 ` Avi Kivity
2009-06-07 7:35 ` Jan Kiszka
2009-06-07 7:46 ` Avi Kivity
2009-06-07 8:33 ` Blue Swirl
2009-06-07 8:50 ` Jan Kiszka
2009-06-07 9:01 ` Blue Swirl
2009-06-07 9:25 ` Jan Kiszka
2009-06-07 9:37 ` Avi Kivity
2009-06-07 9:47 ` Jan Kiszka
2009-06-07 9:52 ` Avi Kivity
2009-06-07 9:56 ` Jan Kiszka
2009-06-07 10:06 ` Avi Kivity
2009-06-07 11:13 ` Blue Swirl
2009-06-07 11:23 ` Gleb Natapov
2009-06-07 11:26 ` Blue Swirl
2009-06-07 11:29 ` Gleb Natapov
2009-06-07 11:39 ` Avi Kivity
2009-06-07 12:40 ` Blue Swirl
2009-06-07 12:43 ` Avi Kivity
2009-06-07 12:52 ` Gleb Natapov
2009-06-07 12:56 ` Avi Kivity
2009-06-07 13:18 ` Blue Swirl
2009-06-07 13:35 ` Jan Kiszka
2009-06-07 13:35 ` Avi Kivity
2009-06-07 18:37 ` Anthony Liguori
2009-06-07 18:40 ` Blue Swirl
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=4A2D03E7.8070702@redhat.com \
--to=avi@redhat.com \
--cc=jamie@shareable.org \
--cc=lsorense@csclub.uwaterloo.ca \
--cc=mouse@mayc.ru \
--cc=qemu-devel@nongnu.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.