From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm-18 breaks Cisco VPN on WinXP SP1 Date: Sun, 15 Apr 2007 15:42:08 +0300 Message-ID: <46221DA0.1030901@qumranet.com> References: <460885B2.7080907@nt.net> <4608C397.30708@qumranet.com> <460A1560.6060506@qumranet.com> <460B63CF.1010209@qumranet.com> <460CB2B8.3070809@qumranet.com> <4610C408.9010502@qumranet.com> <4613D240.2000003@qumranet.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040805040000020308010007" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Leslie Mann Return-path: In-Reply-To: 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 a multi-part message in MIME format. --------------040805040000020308010007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Leslie Mann wrote: > FYI, a switch to rtl8139 from the default NE2000 nic has "cured" the problem > under both kvm-18 and kvm-svn. > The hint finally sank in, I was able to reproduce after switching to ne2k (I usually use rtl8139). The attached patch (for kvm-18) fixes it for me. Confirmation would be appreciated. -- error compiling committee.c: too many arguments to function --------------040805040000020308010007 Content-Type: text/x-patch; name="kvm-pio-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kvm-pio-fix.patch" diff --git a/kernel/kvm_main.c b/kernel/kvm_main.c index 3e06c56..11a3cab 100644 --- a/kernel/kvm_main.c +++ b/kernel/kvm_main.c @@ -1729,6 +1729,11 @@ int kvm_setup_pio(struct kvm_vcpu *vcpu, struct kvm_run *run, int in, return 0; } + if (!count) { + kvm_arch_ops->skip_emulated_instruction(vcpu); + return 1; + } + now = min(count, PAGE_SIZE / size); if (!down) --------------040805040000020308010007 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/ --------------040805040000020308010007 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 --------------040805040000020308010007--