From: Bastian Blank Subject: Re: [RFC][PATCH] Emulate instructions in vm86 mode Date: Thu, 7 Sep 2006 15:09:08 +0200 Message-ID: <20060907130908.GA6165@wavehammer.waldi.eu.org> References: <20060907095104.GA23514@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0629213764==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0629213764== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 07, 2006 at 01:42:02PM +0100, Keir Fraser wrote: > > I'm not sure if this is the correct fix or if we should call the gpf > > handler of the running system. At least the support in linux reports > > traps back to the userspace caller which is not possible if emulated in > > xen. > There are also data operands of some instructions that may need fixing > (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. There is some code to pass it to the guest in do_general_protection, but I don't know why it fails than. Bastian --=20 You're dead, Jim. -- McCoy, "Amok Time", stardate 3372.7 --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iEYEARECAAYFAkUAGfQACgkQnw66O/MvCNHiQgCdFpVvZsRZJf0+tZBmNcXweGxs j9cAn1Sfkzg9ScpD0hVllGaR9FS45RWq =7doO -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ-- --===============0629213764== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0629213764==--