From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: Re: [PATCH 2/2] pio cleanup, split kvm_setup_pio() in two functions Date: Fri, 03 Aug 2007 16:45:05 +0200 Message-ID: <46B33F71.5000605@bull.net> References: <10EA09EFD8728347A513008B6B0DA77A01E0084D@pdsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1515766508==" Cc: kvm-devel To: "Dong, Eddie" Return-path: In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A01E0084D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 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) --===============1515766508== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDF393252F18C81C0CA927017" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDF393252F18C81C0CA927017 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dong, Eddie wrote: > kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote: >>>> I may confuse you. Currently master doesn't do in kernel PIO >>>> emulation, all string PIO will go to user level which is fine. With= >>>> lapic3, we have kernel PIO emulation for PIC. Linux doesn;t use >>>> string PIO for PIC (port 0x20/0x21) but XP and Win2003 does. So can >>>> u test kernel string PIO? >>> Yes, I should be able, just explain me what and how... >>> >>> Laurent >> Just check out both lapic3 user & kernel branch >> (may need to rebase to master). And try to boot XP >> guest like you do for master. >> thanks, eddie > BTW, I did a quick try, it broke Windows XP & 2003. > in kernel PIC get wrong initial value (port 0x20). I think I know why it doesn't work: I suppose when it exits from kvm_setu= p_pio() that pio.count is different from 0... which is not the case with in-kerne= l io. Regards, Laurent --=20 ------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org -------------- "Software is hard" - Donald Knuth --------------enigDF393252F18C81C0CA927017 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) iD8DBQFGsz919Kffa9pFVzwRAgDVAKCS2bAenecbo9NJBPL4dyB1fqmmgQCgor7o HqCs/uQKvVlG6vpCgOMYEIQ= =dX1g -----END PGP SIGNATURE----- --------------enigDF393252F18C81C0CA927017-- --===============1515766508== 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/ --===============1515766508== 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 --===============1515766508==--