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

Re: [Xen-devel] [PATCH] Introduce dom0-min-space configuration option

To: Michal Novotny <minovotn@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Introduce dom0-min-space configuration option
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Tue, 13 Jul 2010 19:02:13 +0100
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 13 Jul 2010 11:03:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C3B59FE.2060201@xxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Newsgroups: chiark.mail.xen.devel
References: <4C3B59FE.2060201@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Michal Novotny writes ("[Xen-devel] [PATCH] Introduce dom0-min-space 
configuration option"):
> This is the patch to introduce configuration option called
> dom0-min-space since there were some issues with data inflation
> because of invalid input data stream for zlib decompression.
> The issue occured because of insufficient free space on the dom0 so
> this patch checks the free available space for /var/lib/xen
> and refuses to start up any guests when the space is below
> specified value. Setting up the value to 0 disables the check
> which preserves the behaviour before this patch applied and
> this is the default value for this option.

Thanks for the patch, but I'm not sure I entirely follow.

What "issues with data inflation because of invalid input data stream
for zlib decompression" were there and how do they relate to lack of
space on /var/lib/xen ?

Is this just for the situation where the dom0 filesystem hasn't enough
space to contain the uncompressed version of the domU kernel and
initrd which are to be loaded ?

Your patch just raises an error.  Why does the situation in which the
patch is needed not already raise an appropriate error ?  Perhaps it
would be better to arrange that it does.

Ian.

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