# HG changeset patch
# User Muli Ben-Yehuda <[EMAIL PROTECTED]>
# Date 1170799111 -7200
# Node ID 41e4dfc33562ba2787edad1343f1c4705ba6e9ba
# Parent d70ecd2477a2102c4f47435be0c40ef3fade6500
dont exit if ioctl(KVM_RUN) fails
instead return -errno to the caller of kvm_run
Signed-off-by: Muli Ben-Yehuda <[EMAIL PROTECTED]>
diff -r d70ecd2477a2 -r 41e4dfc33562 user/kvmctl.c
--- a/user/kvmctl.c Tue Feb 06 23:55:06 2007 +0200
+++ b/user/kvmctl.c Tue Feb 06 23:58:31 2007 +0200
@@ -579,8 +579,9 @@ again:
kvm_run.emulated = 0;
kvm_run.mmio_completed = 0;
if (r == -1 && errno != EINTR) {
+ r = -errno;
printf("kvm_run: %m\n");
- exit(1);
+ return r;
}
if (r == -1) {
r = handle_io_window(kvm, &kvm_run);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel