From: Keir Fraser Subject: Re: Size limit on extra argument to xm create Date: Fri, 09 Oct 2009 21:31:19 +0100 Message-ID: References: <4ACF95C5.6090006@Sun.COM> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4ACF95C5.6090006@Sun.COM> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Mick.Jordan@Sun.COM" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 09/10/2009 20:57, "Mick Jordan" 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