Signed-off-by: Wei Liu <wei.l...@citrix.com> --- xen/arch/x86/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 32ec741591..0c9b55ff71 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -632,8 +632,8 @@ static char * __init cmdline_cook(char *p, const char *loader_name) while ( *p == ' ' ) p++; - /* GRUB2 does not include image name as first item on command line. */ - if ( loader_is_grub2(loader_name) ) + /* GRUB2 and PVH don't not include image name as first item on command line. */ + if ( xen_guest || loader_is_grub2(loader_name) ) return p; /* Strip image name plus whitespace. */ -- 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel