From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: PATCH 0/5] Consolidate the insb/outsb emulation into x86_emulate.c Date: Wed, 01 Aug 2007 11:05:14 +0200 Message-ID: <46B04CCA.2010503@bull.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0696580876==" To: kvm-devel Return-path: 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 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0696580876== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4493DEB38D05486DE03862C3" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4493DEB38D05486DE03862C3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable [PATCH 0/5] Consolidate the insb/outsb emulation into x86_emulate.c =46rom the TODO, this serie of patches consolidates the insb/outsb emulat= ion into x86_emulate.c. The prefix decoding part is extracted from x86_emulate_memop() and a func= tion called x86_decode_prefix() is created. Then, in vmx.c, handle_io() calls x86_decode_prefix() instead of get_io_c= ount(); in svm.c, io_interception() calls x86_decode_prefix() instead of io_addre= ss() and io_get_override(). *** WARNING: the SVM part has not been tested because I don't have any AM= D system. *** [PATCH 1/5] x86_ctxt_segment_array: to be able to extract easily prefix d= ecoding from x86_emulate_memop(), change ctxt.*_base to an array ctxt.base[X86EMU= L_BASE_*] [PATCH 2/5] x86_prefix: to be able to extract easily prefix decoding from= x86_emulate_memop(), group all prefix decoding results in a structure, ca= lled x86_prefix. [PATCH 3/5] x86_decode_prefix: extract prefix decoding part from x86_emulate_memop() to x86_decode_prefix(). [PATCH 4/5] vmx-decode_prefix: vmx.c uses x86_decode_prefix() instead of get_io_count(). [PATCH 5/5] svm-decode_prefix: svm.c uses x86_decode_prefix() instead of io_address() and io_get_override(). *** WARNING: the SVM part has not been tested because I don't have any AM= D system. *** --=20 ------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org -------------- "Software is hard" - Donald Knuth --------------enig4493DEB38D05486DE03862C3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFGsEzP9Kffa9pFVzwRAmAaAJ9PE5SoUr4Cj8e964gkgOfv2x3BmQCcDvNl k2vUTCXgNLZo7uLf52S/9Pc= =NSow -----END PGP SIGNATURE----- --------------enig4493DEB38D05486DE03862C3-- --===============0696580876== 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --===============0696580876== 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 --===============0696580876==--