From: Avi Kivity <avi@redhat.com>
To: Mohammed Gamal <m.gamal005@gmail.com>
Cc: kvm-devel <kvm@vger.kernel.org>, qemu-devel@nongnu.org
Subject: Re: Completing big real mode emulation
Date: Sat, 20 Mar 2010 09:49:41 +0200 [thread overview]
Message-ID: <4BA47E15.3020204@redhat.com> (raw)
In-Reply-To: <52d4a3891003190829o6964dd0bv8d2c86c61da247b2@mail.gmail.com>
On 03/19/2010 05:29 PM, Mohammed Gamal wrote:
> Hello all,
> As some of you might know, I've worked on supporting big real mode
> emulation on VMX back in GSoC 2008. Looking at the Qemu GSoC ideas
> list for this year, I found it among the possible ideas for a GSoC
> project. I'd be interested in driving this feature towards completion,
> and I have a few questions about it.
>
> - The kernel-space modifications needed to detect an invalid guest
> state on VMX and drive emulation from that point was almost complete.
> The part that was missing the most, is that the kvm x86 emulator
> wasn't complete and didn't support the entire instruction set. I've
> seen that the emulator has been the focus of some recent patches
> (namely by Gleb Natapov). Is there anything else required to get big
> real mode to work correctly on KVM?
>
IIRC there are some bugs in invalid guest state detection, so it may
need some work. We don't support interrupt injection during invalid
guest state, that will be tricky since it needs access to memory and
interrupt injection currently happens from atomic context. Finally,
there may still be missing instructions.
> - Do we have other problems supporting big real mode on non-VMX
> instruction sets? And do we have problems supporting it on the
> userspace side?
>
No.
> - Is there anything I am missing?
>
>
I think that's pretty much it.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
next prev parent reply other threads:[~2010-03-20 7:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-19 15:29 Completing big real mode emulation Mohammed Gamal
2010-03-20 7:49 ` Avi Kivity [this message]
2010-03-20 8:34 ` Alexander Graf
2010-03-20 8:39 ` Avi Kivity
2010-03-20 8:55 ` Alexander Graf
2010-03-20 13:18 ` Avi Kivity
2010-03-20 14:02 ` Mohammed Gamal
2010-03-20 15:00 ` Alexander Graf
2010-03-24 10:05 ` Sheng Yang
2010-03-24 0:39 ` [Qemu-devel] " Jamie Lokier
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=4BA47E15.3020204@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=m.gamal005@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox