|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [PATCH] Improve error message when HVM domain creation
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
improve_error_message.patch
Description: Binary data
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] [PATCH] Improve error message when HVM domain creation failed,
Masaki Kanno <=
|
|
|
|
|