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] sHype changeset causes error in domU creation

To: George Washington Dunlap III <dunlapg@xxxxxxxxx>
Subject: Re: [Xen-devel] sHype changeset causes error in domU creation
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 22 Jun 2005 18:09:09 +0100
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, sailer@xxxxxxxxxxxxxx
Delivery-date: Wed, 22 Jun 2005 17:04:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.60.0506221208470.22533@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.LNX.4.60.0506221208470.22533@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Having ssidref as a required parameter to domain_create is an ugly nuisance for the 99.9% of people who don't care a jot about it. I think a separate one-time-only hypercall to set the ssidref on a newly created domain would be neater? Or at least, surely the sane default value for an integer ssidref is zero, not fffffffff?

 -- Keir

On 22 Jun 2005, at 17:13, George Washington Dunlap III wrote:

Changing the following line makes a temporary fix:

tools/python/xen/xm/create.py
--
 gopts.var('ssidref', val='SSIDREF',
-          fn=set_u32, default=0xfffffff,
           use="Security Identifier.")
++
gopts.var('ssidref', val='SSIDREF',
+          fn=set_u32, default=0xffff,
          use="Security Identifier.")
---


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