[xen-tools] Re: Outstanding bugs/requests for 3.0?

Ward Vandewege ward at pong.be
Fri Dec 1 13:45:38 CET 2006


On Thu, Nov 30, 2006 at 09:31:18AM +0000, Steve Kemp wrote:
>   I'm now thinking that all outstanding issues are done and I'm
>  happy for people to test against CVS.  To help make that easier
>  there is a temporary tarball here:
> 
>     http://www.steve.org.uk/Software/tmp/

I have another small issue. In xt-create-xen-config this is done:

    #
    #  The memory size:  Strip any trailing size characters "M", "G", etc.
    #
    if ( $ENV{'memory'} =~ /([0-9]+)/ )
    {
        $ENV{'memory'} = $1;
    }

Effectively, this means that the --memory option given to xen-create-image
needs to be put in megabytes, always, and any modifier is ignored (unlike
for --size and --swap).

I maintain a couple of machines with a lot of ram, and I regularly make this
mistake

  xen-create-image --hostname=test --memory=8G --size=10G --swap=2G

Booting the node then fails because the generated config file ends up with a
line that says 

  memory = '8'

rather than

  memory = '8192'

Can something be done about this? It would be nice of the --memory parameter
was consistent with --size and --swap.

Thanks,
Ward.

-- 
Pong.be         -(  "Just wait,  My crystal ball is infallible." -- Linus  )-
Virtual hosting -( Torvalds, discussing the future of smart I/O hardware.  )-
http://pong.be  -(                                                         )-
GnuPG public key: http://gpg.dtype.org





More information about the xen-tools-discuss mailing list