[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode


  • To: Bastian Blank <bastian@xxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Thu, 07 Sep 2006 14:24:33 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 07 Sep 2006 06:23:22 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbSgPS4M3pndT50Edu/wwAX8io7RQ==
  • Thread-topic: [Xen-devel] [RFC][PATCH] Emulate instructions in vm86 mode



On 7/9/06 14:09, "Bastian Blank" <bastian@xxxxxxxxxxxx> wrote:

>> (INS/OUTS). What happens if you just bail to the guest's GPF handler if in
>> vm86 mode?
> 
> I don't know how to do that.

Just add 'if (vm86_mode(regs)) goto fail' to the top of
emulate_privileged_op(). This will cause Xen to fall back to propagating the
fault to the guest's GPF handler.

 -- Keir

> There is some code to pass it to the guest in do_general_protection, but
> I don't know why it fails than.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.