Leslie Mann wrote:
Avi Kivity <[EMAIL PROTECTED]> 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
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:
-------------------------------------------------------------------------
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
_______________________________________________
kvm-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kvm-devel