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/
Home Products Support Community News


Re: [Xen-ia64-devel] RE: [PATCH 1/5] Add guest_os_type config option

To: "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] RE: [PATCH 1/5] Add guest_os_type config option
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Tue, 27 Nov 2007 23:44:05 -0700
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 27 Nov 2007 22:44:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <823A93EED437D048963A3697DB0E35DEEAF05C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: OSLO R&D
References: <1196223620.19478.44.camel@lappy> <823A93EED437D048963A3697DB0E35DEEAF05C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2007-11-28 at 14:29 +0800, Zhang, Xing Z wrote:
> Hi Alex:
>       Thanks for your complement. 
>       My concern is the u64 type is not enough if length of OS name is more
> than eight words. But we may use abbreviation to deal
> with it. So this is ok for me.

Hi Wing,

   Right, the code will truncate to 8 characters, but it's up to us to
come up with abbreviations that fit in 8 chars.  For instance if we need
to differentiate Windows Server 2003 from 2008, we can decide to use
"win03" and "win08".  I think the benefit is there's no static array
that needs to be updated to implement new architecture specific OS
strings.  Thanks for reviewing.


Alex Williamson                             HP Open Source & Linux Org.

Xen-ia64-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>