xen/efi: Show error message for EFI_INVALID_PARAMETER error
PATCH 1/1 xen/efi: Show error message for EFI_INVALID_PARAMETER error
Show string message instead of code.
This happened trying some different ways to boot Xen, specifically trying loading xen.efi using GRUB2 "linux" command.
Signed-off-by Frediano Ziglio <[email protected]>
--- xen/common/efi/boot.c | 3 +++ 1 file changed, 3 insertions(+)
xen/common/efi/boot.c +3 -0
@@ -329,6 +329,9 @@ static void __init PrintErrMesg(const CHAR16 *mesg, EFI_STATUS ErrCode)case EFI_BUFFER_TOO_SMALL : mesg =L"Buffer too small" ;break ; +case EFI_INVALID_PARAMETER : + mesg =L"Invalid parameter" ; +break ;default :PrintErr (L"ErrCode: " );DisplayUint (ErrCode,0 );
Signature · 1 line
2.43.0
Quoted 5 lines · Frediano Ziglio
Show string message instead of code.
This happened trying some different ways to boot Xen, specifically trying loading xen.efi using GRUB2 "linux" command.Signed-off-by Frediano Ziglio <[email protected]>
Quoted 21 lines
--- xen/common/efi/boot.c | 3 +++ 1 file changed, 3 insertions(+)xen/common/efi/boot.c +3
-0@@ -329,6 +329,9 @@ static void __init PrintErrMesg(const CHAR16 *mesg, EFI_STATUS ErrCode)case EFI_BUFFER_TOO_SMALL : mesg =L"Buffer too small" ;break ; +case EFI_INVALID_PARAMETER : + mesg =L"Invalid parameter" ; +break ;default :PrintErr (L"ErrCode: " );DisplayUint (ErrCode,0 );Signature · 1 line
2.43.0
Signature · 3 lines
Best Regards, Marek Marczykowski-Górecki Invisible Things Lab