|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [UNIKRAFT PATCH] plat/xen: x86: Maximum command line length from Xen headers
Reviewed-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> On 10/1/20 2:43 PM, Simon Kuenzer wrote: Instead of defining an own maximum size for the command line, in this commit we use `MAX_GUEST_CMDLINE` from the Xen headers to defining the maximum command line length. Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> --- plat/xen/x86/setup.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plat/xen/x86/setup.c b/plat/xen/x86/setup.c index 14b2c26f..7882ebef 100644 --- a/plat/xen/x86/setup.c +++ b/plat/xen/x86/setup.c @@ -90,8 +90,7 @@ #include <xen/arch-x86/cpuid.h> #include <xen/arch-x86/hvm/start_info.h>-#define MAX_CMDLINE_SIZE 1024-static char cmdline[MAX_CMDLINE_SIZE]; +static char cmdline[MAX_GUEST_CMDLINE];start_info_t *HYPERVISOR_start_info;
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |