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: FW: [Xen-devel] using OCAML xenstored

To: "'Alex Zeffertt'" <alex.zeffertt@xxxxxxxxxxxxx>
Subject: RE: FW: [Xen-devel] using OCAML xenstored
From: "Yuvraj Agarwal" <yuvraj@xxxxxxxxxxx>
Date: Wed, 26 May 2010 11:27:47 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 26 May 2010 11:29:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to:
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>
References: <20100523135955.GK17817@xxxxxxxxxxx> <680619.83345.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <0d2e01cafc2f$59453250$0bcf96f0$@ucsd.edu> <000201cafc8c$47deb880$d79c2980$@cs.ucsd.edu> <4BFCF7B6.2020608@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr8vkCG8VFXbG5hRfGgW/c/VsPheAANZ7bgAANMyIA=
Alex,

Thanks for your tip. Do you think just applying the patch to fix the
install path to the Makefile will fix it or will I need the other 6
patches as well (which seem quite extensive)? I am just wondering if there
was another intended way (by the maintainers) to install the OCAML version
of xenstored side-by-side with the C- version and have the option to use
either one....

Thanks
Yuvraj

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Alex Zeffertt
Sent: Wednesday, May 26, 2010 3:28 AM
To: Yuvraj Agarwal
Cc: 'xen-devel'
Subject: Re: FW: [Xen-devel] using OCAML xenstored

Some time ago I sent some patches against xen-ocaml-tools.hg to make it
work as
replacement for the C xenstored in xen-unstable.hg.  One of the patches
was to
fix this install path issue:

http://lists.xensource.com/archives/html/xen-devel/2009-04/msg00697.html

I don't think these patches were applied. (I don't know if there is a
reason for
this.)  It might be worth checking out the whole patch queue if you are
intending to use it with xen-unstable.hg.

Regards,

Alex

On 26/05/10 05:31, Yuvraj Agarwal wrote:
>
>
> Hi, Just posting this on the list too in case anyone else has experience
> with the OCAML version of xenstored?.
>
> --Yuvraj
>
> *From:* Yuvraj Agarwal [mailto:yuvraj@xxxxxxxxxxx]
> *Sent:* Tuesday, May 25, 2010 10:26 AM
> *To:* 'Boris Derzhavets'; 'Pasi Kärkkäinen'
> *Subject:* RE: [Xen-devel] using OCAML xenstored
>
> Hi Boris and Pasi,
>
> I checked out the latest xen-testing from mercurial, and edited the
> Config.mk file to have the OCAML version of xenstored built.
>
> I checked and made sure that I have all the patches, and my xm info
> shows 4.0.1-rc1. After that I built using:
>
> make xen; make tools; make stubdom
>
> make install-xen;
> make install-tools PYTHON_PREFIX_ARG=;
>
> make install-stubdom
>
> Unfortunately, it looks like even though the new OCAML version of
> xenstored is built, it appears in /usr/bin/xenstored instead of the
> usual ?/usr/sbin/xenstored? and the default part of the xenstored to use
> is the standard one (not the OCAML one)?
>
> Just FYI: This is an Ubuntu 10.04 64 bit system.
>
> root@ BlackBox:/# ll /usr/bin/xenstored (new OCAML xenstored I just
> built..)
>
> -rwxr-xr-x 1 root root 925039 2010-05-25 10:15 /usr/bin/xenstored
>
> root@ BlackBox:/# ll /usr/sbin/xenstored (<< Standard C xenstored)
>
> -rwxr-xr-x 1 root root 94728 2010-05-01 00:36 /usr/sbin/xenstored
>
> root@ BlackBox:/# which xenstored
>
> /usr/sbin/xenstored
>
> root@BlackBox:/#
>
> thanks
>
> Yuvraj
>
> * *
>
> *From:* xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] *On Behalf Of *Boris
> Derzhavets
> *Sent:* Sunday, May 23, 2010 11:47 AM
> *To:* Yuvraj Agarwal; Pasi Kärkkäinen
> *Cc:* xen-devel@xxxxxxxxxxxxxxxxxxx
> *Subject:* Re: [Xen-devel] using OCAML xenstored
>
>  > 4. "make xen", make "tools" and then the "make xen-install" and "make
>  > install-tools PYTHON_PREFIX_ARG="
>
> make install-tools PYTHON_PREFIX_ARG=
>
> Wrong syntax when install tools
>
> Boris
> BTW. Just a notice.
>
> --- On *Sun, 5/23/10, Pasi Kärkkäinen /<pasik@xxxxxx
> <mailto:pasik@xxxxxx>>/* wrote:
>
>
> From: Pasi Kärkkäinen <pasik@xxxxxx <mailto:pasik@xxxxxx>>
> Subject: Re: [Xen-devel] using OCAML xenstored
> To: "Yuvraj Agarwal" <yuvraj@xxxxxxxxxxx <mailto:yuvraj@xxxxxxxxxxx>>
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx <mailto:xen-devel@xxxxxxxxxxxxxxxxxxx>
> Date: Sunday, May 23, 2010, 9:59 AM
>
> On Sat, May 22, 2010 at 05:48:58PM -0700, Yuvraj Agarwal wrote:
>  > Hi All,
>  >
>  > I would like to give the OCAML version of xenstored a shot, since the
>  > older version (in C) takes a long time to start up a large number of
VMs.
>  > I have a new machine (Ubuntu 10.04 64bit) that I plan to give this a
try
>  > with. Is there something else that I need to do besides the
following:
>  >
>  > 1. Build the 2.6.32 pvops kernel as specified in:
>  > http://wiki.xensource.com/xenwiki/XenParavirtOps
>  > < DONE >
>  > 2. Download the xen-4.0.0 stable version from
>  > http://www.xen.org/products/xen_source.html
>  > 3. change Config.mk flag CONFIG_OCAML_XENSTORED ?= n to "y" as"
>  > CONFIG_OCAML_XENSTORED ?= y
>  > 4. "make xen", make "tools" and then the "make xen-install" and "make
>  > install-tools PYTHON_PREFIX_ARG="
>  >
>  > Is there something else needed? Are there any recent patches to the
OCAML
>  > xenstored that I need to apply?
>  >
>
> Just browse through http://xenbits.xen.org/xen-unstable.hd and
> http://xenbits.xen.org/xen-4.0-testing.hg changelogs.
>
> xen-4.0-testing.hg is currently at 4.0.1-rc1 stage.
>
> -- Pasi
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
</mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>
> http://lists.xensource.com/xen-devel
>


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

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