From: Avi Kivity <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c index 7329f86..966501c 100644 --- a/libkvm/libkvm.c +++ b/libkvm/libkvm.c @@ -848,13 +848,16 @@ again: if (r) return r; r = ioctl(fd, KVM_RUN, 0); - post_kvm_run(kvm, vcpu); if (r == -1 && errno != EINTR && errno != EAGAIN) { r = -errno; - printf("kvm_run: %m\n"); + post_kvm_run(kvm, vcpu); + printf("kvm_run: %s\n", strerror(-r)); return r; } + + post_kvm_run(kvm, vcpu); + if (r == -1) { r = handle_io_window(kvm); goto more; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits