# HG changeset patch
# User Muli Ben-Yehuda <[EMAIL PROTECTED]>
# Date 1170798403 -7200
# Node ID f49e30e2c4db4306d7d50193cac9bc87826c1f70
# Parent  2328694370e14268564468e4c872fdbf30f6c3d6
dont exit on translate() failure in handle_io

instead return and cause kvm_run to return

Signed-off-by: Muli Ben-Yehuda <[EMAIL PROTECTED]>

diff -r 2328694370e1 -r f49e30e2c4db user/kvmctl.c
--- a/user/kvmctl.c     Tue Feb 06 23:43:15 2007 +0200
+++ b/user/kvmctl.c     Tue Feb 06 23:46:43 2007 +0200
@@ -262,7 +262,7 @@ static int handle_io(kvm_context_t kvm, 
                        if (r) {
                                fprintf(stderr, "failed translating I/O address 
%x\n",
                                        run->io.address);
-                               exit(1);
+                               return r;
                        }
                }
 

-------------------------------------------------------------------------
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

Reply via email to