[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] EFI: suppress bogus loader warning



commit 926e680aadde774557b92a4a3e9457f63e963e84
Author:     Jan Beulich <JBeulich@xxxxxxxx>
AuthorDate: Fri Dec 19 11:17:02 2014 +0000
Commit:     Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
CommitDate: Tue Jan 6 10:07:34 2015 -0500

    EFI: suppress bogus loader warning
    
    This was accidentally lost in commit fbc3d9a220 ("EFI: add
    efi_arch_handle_cmdline() for processing commandline"), leading to the
    "Unknown command line option" warning being printed whenever options
    get passed to the core hypervisor or the Dom0 kernel.
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Release-Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
    Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
---
 xen/common/efi/boot.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xen/common/efi/boot.c b/xen/common/efi/boot.c
index c68efdb..ac6881e 100644
--- a/xen/common/efi/boot.c
+++ b/xen/common/efi/boot.c
@@ -311,6 +311,7 @@ static unsigned int __init get_argv(unsigned int argc, 
CHAR16 **argv,
                 ++argc;
             else if ( prev && wstrcmp(prev, L"--") == 0 )
             {
+                --argv;
                 if ( options )
                     *options = cmdline;
                 break;
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.