From: "Kamble, Nitin A" Subject: [PATCH] implement pop reg in x86_emulate Date: Thu, 7 Jun 2007 15:22:02 -0700 Message-ID: <1181254922.21568.16.camel@lnitindesktop.sc.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1119601178==" Cc: "Yu, Wilfred" , "Mallick, Asit K" To: "kvm-devel" Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org --===============1119601178== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="=-IW03GgS1Alu/P3xw6TGf" Content-class: urn:content-classes:message --=-IW03GgS1Alu/P3xw6TGf Content-Type: multipart/mixed; boundary="=-6xdpozTdxIffIBGGyQ71" --=-6xdpozTdxIffIBGGyQ71 Content-Type: multipart/alternative; boundary="=-GMKYjxJM8WB5CygZAEyk" --=-GMKYjxJM8WB5CygZAEyk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Avi, I am in the middle of implementing the big real support in the KVM now. I am trying to boot SuseLinux 10.1 on KVM, which uses extensive big real mode code in the boot loader. If you have any other targeted guests using big real mode do let me know.=20 I have been working on my own private tree for a while. I sync it with the KVM tree every day. I have lots of debug code in the infrastructure part of the big-real mode support. Also I think I may need to extend/change it further to support more instructions. So I plan to hold the infrastructure patches for now. Meanwhile I have implemented emulation of the needed instructions. As it is well contained and should not affect any code path, this instruction implementation can go upstream right away,=20 Attached is a patch for the "pop reg" instruction emulation. I will be sending more of such instruction emulation patches very soon, I just need to break them apart from my debug tree. Do provide me if you have any feedback on these. And once I get the big-real mode support working well enough, I will start cleaning the remaining code from debug statements, and start pushing that code in patches to you. Thanks & Regards, Nitin=20 Open Source Technology Center, Intel Corporation. ------------------------------------------------------------------------- The mind is like a parachute; it works much better when it's open.=20 --=-GMKYjxJM8WB5CygZAEyk Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Avi,
   I am in the middle of implementing the big real support in the= KVM now. I am trying to boot SuseLinux 10.1 on KVM, which uses extensive b= ig real mode code in the boot loader. If you have any other targeted guests= using big real mode do let me know.
   I have been working on my own private tree for a while. I sync= it with the KVM tree every day. I have lots of debug code in the infrastru= cture part of the big-real mode support. Also I think I may need to extend/= change it further to support more instructions. So I plan to hold the infra= structure patches for now. Meanwhile I have implemented emulation of the ne= eded instructions. As it is well contained and should not affect any code p= ath, this instruction implementation can go upstream right away,
   Attached is a patch for the "pop reg" instruction em= ulation. I will be sending more of such instruction emulation patches very = soon, I just need to break them apart from my debug tree. Do provide me if = you have any feedback on these. And once I get the big-real mode support wo= rking well enough, I will start cleaning the remaining code from debug stat= ements, and start pushing that code in patches to you.

Thanks & Regards,
Nitin
Open Source Technology Center, Int= el Corporation.
----------------------------------= ---------------------------------------
The mind is like a parachute; it w= orks much better when it's open.=20
--=-GMKYjxJM8WB5CygZAEyk-- --=-6xdpozTdxIffIBGGyQ71 Content-Disposition: attachment; filename=pop_reg.patch Content-Type: text/x-patch; name=pop_reg.patch; charset=UTF-8 Content-Transfer-Encoding: base64 Y29tbWl0IGFkMjVjZWE0ZGUxMjM2ZjU5MTZiZjk5ODMyYWI4NjM0ODc1MDQ5M2INCkF1dGhvcjog Tml0aW4gQSBLYW1ibGUgPG5pdGluLmEua2FtYmxlQGludGVsLmNvbT4NCkRhdGU6ICAgVGh1IEp1 biA3IDE4OjA2OjM1IDIwMDcgLTA3MDANCg0KICAgIEltcGxlbWVudCAicG9wIHJlZyIgaW5zdHJ1 Y3Rpb24gb3Bjb2RlIDB4NTgtMHg1Zg0KDQpkaWZmIC0tZ2l0IGEvZHJpdmVycy9rdm0veDg2X2Vt dWxhdGUuYyBiL2RyaXZlcnMva3ZtL3g4Nl9lbXVsYXRlLmMNCmluZGV4IGE0YTg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JTUF0pLA0KKwkJCQkJZHN0LnB0 ciwgZHN0LmJ5dGVzLCBjdHh0KSkgIT0gMCkNCisJCQlnb3RvIGRvbmU7DQorCQlyZWdpc3Rlcl9h ZGRyZXNzX2luY3JlbWVudChfcmVnc1tWQ1BVX1JFR1NfUlNQXSwgZHN0LmJ5dGVzKTsNCisgICAg ICAgIGJyZWFrOw0KIAljYXNlIDB4YTQgLi4uIDB4YTU6CS8qIG1vdnMgKi8NCiAJCWRzdC50eXBl ID0gT1BfTUVNOw0KIAkJZHN0LmJ5dGVzID0gKGQgJiBCeXRlT3ApID8gMSA6IG9wX2J5dGVzOw0K --=-6xdpozTdxIffIBGGyQ71-- --=-IW03GgS1Alu/P3xw6TGf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGaIUFZ1sfU7kTCR8RAiBnAJ0f5m1dI2TpWkFc29icc4e6wsHJ6gCeKPlX bV2ssIXPUkEHbpV7DTqAw6Y= =efOn -----END PGP SIGNATURE----- --=-IW03GgS1Alu/P3xw6TGf-- --===============1119601178== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============1119601178== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============1119601178==--