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

Re: [Xen-devel] Size limit on extra argument to xm create

On 09/10/2009 20:57, "Mick Jordan" <Mick.Jordan@xxxxxxx> wrote:

>> Before I dig in to the code, I'm thought I'd check if this a limit in
>> xm or a more fundamental limit in the Xen guest interface. I can
>> imagine a hard limit of a page in the latter case, but that would be a
>> lot better than 1024.
> I was too hasty in attributing this to problems with shell variable
> length limits. There does seem to be a Xen limit of 1024 characters for
> the "extra" argument to "xm create", as shown below. The cmd_line value
> passed to the guest is truncated at 1024. So  my question above holds.

xen/include/public/xen.h:MAX_GUEST_CMDLINE should answer your question.

 -- Keir

Xen-devel mailing list



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