public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Leslie Mann <lmann-7al4MSP+J8o@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: kvm-18 breaks Cisco VPN on WinXP SP1
Date: Thu, 12 Apr 2007 11:37:14 +0300	[thread overview]
Message-ID: <461DEFBA.8080907@qumranet.com> (raw)
In-Reply-To: <loom.20070405T104629-941-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

Leslie Mann wrote:
> Avi Kivity <avi@...> writes:
>
>   
>> Please test the attached patch, against kvm-17.  This is subversion 
>> revision 4546 and git commit c01571ed56754dfea458cc37d553c360082411a1.
>>
>>     
>
> Fails.
>
> I notice that a lot of new code is related to pio.  Seeing that it locks up when
> the VPN starts using the network, I sprinkled some printk's around and have
> discovered that we enter an long running (endless?) loop in kvm_run. 
> run->exit_reason is KVM_EXIT_IO, to the naive observer (me) it would appear that
> an issue exists somewhere inside of handle_io().
>
>   

The images that were reported to me as hanging seem to run fine, so 
we're back to debugging this remotely.  I now have more time so 
hopefully we'll have a shorter loop.

Please apply the attached debug patch to kvm-18 so we can see what 
handle_io() is looking at.


-- 
error compiling committee.c: too many arguments to function


[-- Attachment #2: handle_io-debug.patch --]
[-- Type: text/x-patch, Size: 597 bytes --]

Index: user/kvmctl.c
===================================================================
--- user/kvmctl.c	(revision 4622)
+++ user/kvmctl.c	(working copy)
@@ -421,6 +421,16 @@
 	int i;
 	void *p = (void *)run + run->io.data_offset;
 
+	do {
+	    static int n;
+
+	    if (n++ % 100000 != 0)
+		break;
+	    printf("handle_io: port %x dir %d size %d count %ld offset %lx\n",
+		   run->io.port, run->io.direction, run->io.size,
+		   (long)run->io.count, (long)run->io.data_offset);
+	} while (0);
+
 	for (i = 0; i < run->io.count; ++i) {
 		switch (run->io.direction) {
 		case KVM_EXIT_IO_IN:

[-- Attachment #3: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  parent reply	other threads:[~2007-04-12  8:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-27  2:47 kvm-18 breaks Cisco VPN on WinXP SP1 Leslie Mann
     [not found] ` <460885B2.7080907-7al4MSP+J8o@public.gmane.org>
2007-03-27  7:11   ` Avi Kivity
2007-03-28  0:55     ` Leslie Mann
     [not found]       ` <loom.20070328T025020-733-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-03-28  7:12         ` Avi Kivity
2007-03-29  3:02           ` Leslie Mann
     [not found]             ` <loom.20070329T043939-431-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-03-29  6:59               ` Avi Kivity
2007-03-30  1:12                 ` Leslie Mann
     [not found]                   ` <loom.20070330T030834-700-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-03-30  6:48                     ` Avi Kivity
2007-03-30  9:16                       ` Uri Lublin
2007-04-01 18:43                       ` Leslie Mann
     [not found]                         ` <loom.20070401T202531-319-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-04-02  8:51                           ` Avi Kivity
2007-04-02 13:44                             ` Leslie Mann
     [not found]                               ` <loom.20070402T151656-719-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-04-04 16:28                                 ` Avi Kivity
2007-04-05  8:57                                   ` Leslie Mann
2007-04-09 23:04                                     ` Leslie Mann
     [not found]                                       ` <loom.20070410T003525-72-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-04-10  6:37                                         ` Avi Kivity
2007-04-11  3:48                                           ` Leslie Mann
2007-04-15 12:42                                         ` Avi Kivity
2007-04-16  4:28                                           ` Leslie Mann
     [not found]                                     ` <loom.20070405T104629-941-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-04-12  8:37                                       ` Avi Kivity [this message]
     [not found]                                         ` <461DEFBA.8080907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-13  6:55                                           ` Carsten Emde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=461DEFBA.8080907@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=lmann-7al4MSP+J8o@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox