All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: xen-devel@lists.xensource.com, Keir Fraser <keir@xensource.com>,
	"Nakajima, Jun" <jun.nakajima@intel.com>
Subject: Re: [PATCH][RFC] Emulating real mode with x86_emulate
Date: Fri, 30 Mar 2007 17:00:54 -0500	[thread overview]
Message-ID: <460D8896.9050606@us.ibm.com> (raw)
In-Reply-To: <20070330212548.GA10338@one.firstfloor.org>

Andi Kleen wrote:
>> There are some hard problems with migrating into QEMU.  Namely, the code 
>> that QEMU generates isn't SMP safe (atomic instructions lose their 
>> atomicity)
>>     
>
> I see.
>
> You're worrying that real mode startup trampolines of OS rely 
> on atomic instructions?  I can't think of much other possible real mode
> multi CPU code.
>   

No, that's a concern for using V2E to handle 32 bit code.  The big 
problem for handling real mode code is dealing with synchronization for 
device state.  With the devices split between QEMU and within the 
hypervisor, this becomes even more complicated.

Any of the interesting guests that use big real mode also depend on 
being able to synchronize this device state.

Regards,

Anthony Liguori

> -Andi
>   

      reply	other threads:[~2007-03-30 22:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-25 23:35 [PATCH][RFC] Emulating real mode with x86_emulate Anthony Liguori
2007-03-29 21:17 ` Kamble, Nitin A
2007-03-29 23:24   ` Anthony Liguori
2007-03-29 23:52     ` Kamble, Nitin A
2007-03-30  0:11       ` Anthony Liguori
2007-03-30  0:59         ` Kamble, Nitin A
2007-03-30  2:20           ` Kamble, Nitin A
2007-03-30  3:20             ` Anthony Liguori
2007-03-30  3:55               ` Anthony Liguori
2007-03-30 18:53               ` Kamble, Nitin A
2007-03-30 19:00                 ` Anthony Liguori
2007-03-30 21:08                   ` Kamble, Nitin A
2007-03-30 21:24                     ` Kamble, Nitin A
2007-03-30 22:11                       ` Anthony Liguori
2007-04-02 18:45                         ` Kamble, Nitin A
2007-04-02 18:54                           ` Anthony Liguori
2007-04-02 23:52                             ` Kamble, Nitin A
2007-04-03  6:25                               ` Keir Fraser
2007-04-03 14:03                               ` Anthony Liguori
2007-04-05  1:24                                 ` Kamble, Nitin A
2007-03-30 22:10 ` Andi Kleen
2007-03-30 21:20   ` Anthony Liguori
2007-03-30 21:25     ` Andi Kleen
2007-03-30 22:00       ` Anthony Liguori [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=460D8896.9050606@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=andi@firstfloor.org \
    --cc=jun.nakajima@intel.com \
    --cc=keir@xensource.com \
    --cc=xen-devel@lists.xensource.com \
    /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.