Skip to contentSkip to conversation

COMMAND_LINE_SIZE and MAX_CMDLINE

DISCUSSION Birger Tödtmann 1 participant 1 message Jun 8, 2005

lore
Share & tools
lore
#0 lore raw

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,

Signature · 4 lines
Birger Tödtmann
Technik der Rechnernetze, Institut für Experimentelle Mathematik
Universität Duisburg-Essen, Campus Essen email:[email protected]
skype:birger.toedtmann pgp:0x6FB166C9