This makes it possible for PIO handlers (such as the ACPI PLVL2 one) force
the current vcpu to main_loop().

Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>

Index: kvm-userspace.tip/libkvm/libkvm.c
===================================================================
--- kvm-userspace.tip.orig/libkvm/libkvm.c
+++ kvm-userspace.tip/libkvm/libkvm.c
@@ -767,7 +767,7 @@ static int handle_io(kvm_context_t kvm, 
                p += run->io.size;
        }
 
-       return 0;
+       return r;
 }
 
 int handle_debug(kvm_context_t kvm, int vcpu)

-- 

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to