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] xc_domain_create problem

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] xc_domain_create problem
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 13 Feb 2004 23:59:03 +0000
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, David Becker <becker@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 14 Feb 2004 00:05:39 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Fri, 13 Feb 2004 23:40:26 GMT." <E1Armv4-0000B2-00@xxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> > 
> > > I pulled the latest xeno-1.2.bk this morning and am getting
> > > a glitch in xc.domain_create
> > > 
> > > The domain ID it returns is a large bogus 64 bit number
> > > This prints  'created 4613842385142171136 (4007a934400a4600)'
> > >         id = xc.domain_create( mem_kb=mem_size*1024, name=domain_name )
> > >   output ('created %d (%x) ' % (id, id))
> > > 
> > > A sane domain id appears from 'xc_dom_control.py list', but the domain
> > > scripts fail because they use the bogus id returned from xc.domain_create
> > 
> > Oops.  Yesterday we decided to backport a changeset from 1.3 to 1.2
> > to make domain id's 64 bit. The intention was to ensure that the
> > user-space tools remained identical in 1.3 and 1.2. Looks like we
> > bungled it...
> > 
> > You can probably do a temporary fix by reverting the last
> > checkin in the BK repository (bk cset -x). I'll take a look
> > tomorrow.
> 
> Most likely the correct fix is to upgrade your installed toolset. The
> Xen interface hasn't changed, but the interface between the C and
> Python user-space libraries _has_ changed.

Ah... Actually there was a wafeur-thin change to the Xen
interface. I've checked it into the 1.2 repository now. If you pull
the fix and rebuild Xen then all should be fine. :-)

 -- Keir


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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