[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] Problem while resuming VM
Thx for the reply. I did try your methods.And still got the same internal error. Here is the code after addingÂstart/stop routine if (!xen_vm_hard_shutdown(session, task.target_vm->vm)){xen_session_clear_error(session);} if (!xen_vm_revert(session, task.target_vm->current_snapshot->ref)){res = 1;break;} if (!xen_vm_resume(session, task.target_vm->vm, false, true)){res=2;} if (res==2){ xen_session_clear_error(session); if (!xen_vm_hard_shutdown(session, task.target_vm->vm)){xen_session_clear_error(session);} if (!xen_vm_start(session, task.target_vm->vm,false,true)){xen_session_clear_error(session);} if (!xen_vm_hard_shutdown(session, task.target_vm->vm)){xen_session_clear_error(session);} } if (!xen_vm_revert(session, task.target_vm->current_snapshot->ref)){res = 1;break;} if (!xen_vm_resume(session, task.target_vm->vm, false, true)){res=2;break;} Did I do something wrong? PS:ÂI failed to find any error-raiseing code in xapi_xenops.ml:Line 2093 on the master branch in Github.ÂHow can I find out which version(commit) of the XAPI source code is corresponding to the one running on my Xenserver? Thanks any. On Wed, 15 Apr 2015 at 18:22 Renato Fontana <skyrenato@xxxxxxxxx> wrote:
_______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |