[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [PATCH] Improve error message when HVM domain creation failed
Hi, Currently, when VHPT or vTLB are not able to allocate to HVM domain, the xm create command shows the following error message because the return value of vmx_final_setup_guest() is -1(EPREM). # xm create /xen/HVMdomain.1 Using config file "/xen/HVMdomain.1". Error: (1, 'Operation not permitted') This patch changes the return value of the following functions to -12(ENOMEM). Therefore the error message is changed to "Cannot allocate memory". - vmx_final_setup_guest() - init_domain_tlb() - init_domain_vhpt() # xm create /xen/HVMdomain.1 Using config file "/xen/HVMdomain.1". Error: (12, 'Cannot allocate memory') Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> Best regards, Kan Attachment:
improve_error_message.patch _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |