WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] COMMAND_LINE_SIZE and MAX_CMDLINE

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] COMMAND_LINE_SIZE and MAX_CMDLINE
From: Birger Tödtmann <btoedtmann@xxxxxxxxxxxxxx>
Date: Wed, 08 Jun 2005 08:08:51 +0200
Delivery-date: Wed, 08 Jun 2005 06:09:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

whereas COMMAND_LINE_SIZE is used inside the Linux kernel and can be
adjusted there (it already has different values for different plat-
forms), Xen uses another constant, MAX_CMDLINE, at different places
where start preparations are done.  Unfortunately, MAX_CMDLINE is set to
a fixed 256 in xen/include/public/xen.h without consulting which value
is possible for dom0 kernels (linux/include/asm-xen/asm-i386/setup.h)
which can then lead to a cmd line cut-off.   Is there special reason why
this is the case?  



Regards,
-- 
Birger Tödtmann
Technik der Rechnernetze, Institut für Experimentelle Mathematik
Universität Duisburg-Essen, Campus Essen email:btoedtmann@xxxxxxxxxxxxxx
skype:birger.toedtmann pgp:0x6FB166C9

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>