qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* re: [Qemu-devel] Host API escape
@ 2004-09-14  2:43 EricNorthup
  2004-09-14  5:07 ` Derek Fawcus
  0 siblings, 1 reply; 3+ messages in thread
From: EricNorthup @ 2004-09-14  2:43 UTC (permalink / raw)
  To: qemu-devel

On Mon, 13 Sep 2004 23:45:07 +0100, Derek Fawcus wrote:

>On Mon, Sep 13, 2004 at 11:16:14PM +0200, Fabrice Bellard wrote:
>> Derek Fawcus wrote:
>> > I was adding a fake instruction
>
>So will you at all interested in this bit,  want to wait for it to
>cook some more first,  or not interested?
>
>It's basically a "new" instruction,  using opcodes that should normally
>generate undefined/illegal opcode traps,  hence it should still be
>usable
>(in some form) if/when doing fast/native x86-on-x86.  The point
> being to provide a a controlled escape to talk with the host -
therefore it's
> called "hostapi"...
[. . .]

Ok, I think the things you can achieve with this mechanism are very
exciting.  But please, *please* do not make another fork in x86!

What if you use the WRMSR instructions instead?  Then you can define
MSRs which have certain behavior when written to / read from.  The whole
point of MSRs is that they are model-specific, and that is the way to do
this compatibly.

Just a suggestion

--Eric

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

end of thread, other threads:[~2004-09-14  5:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-14  2:43 [Qemu-devel] Host API escape EricNorthup
2004-09-14  5:07 ` Derek Fawcus
2004-09-14  5:23   ` [Qemu-devel] " Ben Pfaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).