160 Commits
Author SHA1 Message Date
Anthony PERARD 5265647e9a libxl: Introduce JSON parser
We use the yajl parser, but we need to make a tree from the parse result
to use it outside the parser.

So this patch include json_object struct that is used to hold the JSON
data.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
2011-09-29 16:28:24 +01:00
Keir Fraser c94112e588 Update Xen version to 4.2-unstable 2011-03-17 23:30:35 +00:00
Stefano Stabellini 44a953192a update README
update README: we are missing few compile time dependencies and a link
to the pvops kernel page on the wiki.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
2011-03-10 18:11:31 +00:00
Stephan Peijnik f5f0af18aa Replace pyxml/xmlproc-based XML validator with lxml based one
Pyxml/xmlproc is being used in tools/xen/xm/xenapi_create.py but is
unmaintained for several years now. xmlproc is used only for validating
XML documents against a DTD file.

This patch replaces the pyxml/xmlproc based XML validation with code
based on lxml, which is actively maintained.

Signed-off-by: Stephan Peijnik <spe@anexia.at>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2010-10-11 17:54:53 +01:00
Keir Fraser c6b30186cd Disable kernel build in Xen build system.
Cloning and building a kernel as part of the Xen distribution
implicitly advises that this kernel is the best kernel for all users
and many users appear to be under this impression, even though there
is no fundamental coupling between the Xen distribution and a
particular domain 0 kernel.

There are several choices available for domain 0 kernel, as well as
other user specific variations in requirements e.g. for kernel
configurations. It's not clear that whatever the xen build system
happens to produce (which is really tailored to the needs of the
automated build system) is best for anybody.

Coupling the kernel build with the Xen build has proved problematic
for stable Xen releases as it implicitly blesses the particular kernel
(at a particular point in time) as a constituent part of the Xen
release, while in reality the OS kernels are separate entities with
their own release cycles which may or may not coincide with the
maintenance of Xen stable branches.

Therefore disable the building of a kernel as part of the Xen
distribution by default and instead direct users to use an OS
distribution provided kernel (properly packaged with security updates
via the normal distribution mechanisms etc) where possible and give
pointers to suitable resources providing guidance for cases where it
is not.

This decouples the implicit advice as to the best kernel at any moment
from Xen's own release cycle and removes the implicit suggestion that
only particular domain 0 kernel will do.

The actual infrastructure is left in place since the automated test
system (currently) relies on it (but always asks for the specific
kernel variant it wants for a particular test).

(I also tried to remove Linux-isms from the README's Quick start
guide. In particular I'm not sure what was supposedly Linux specific
about steps 3 and 4 therefore I have removed the suggestion that they
are.)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
2010-09-13 17:31:19 +01:00
Keir Fraser 402ce762cb Update Xen version to 4.1-unstable
Development window is open for business!

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2010-03-30 11:16:25 +01:00
Keir Fraser b104c3762d Replace config file parser for "xl"
This provides a replacement config file parser for "xl" based on bison
and flex.

Benefits:
  * proper error reporting with line numbers
  * parser can understand nearly all "xm" configuration files directly
     (doesn't understand Python code but should do everything else)
  * parser also understands the ;-infested "xl" style files
  * removes the dependency on libconfig
  * better checking for certain kinds of mistakes
  * eliminates the strange "massage file and try again" code

This is intended to support all config files currently supported by
"xl" and almost all files supported by "xm".  (NB that whether a
feature works depends on the implementation of that feature in
xl/libxl of course.)

This patch also introduces a new library "libxlutil" which is mainly
for the benefit of "xl".  Users of libxl do not need to use libxlutil,
but they can do so if they want to parse "xl" files without being
"xl".

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
2010-03-03 17:39:22 +00:00
Keir Fraser c174503e21 docs: Fixes for README
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2009-12-11 09:17:09 +00:00
Keir Fraser 20a0b3ef15 Update README for 3.4 branch.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2009-05-18 13:53:55 +01:00
Keir Fraser f8abd8d851 Revert 18242:f20fb83dac2c (Xen 3.3 after all)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2008-08-07 09:04:53 +01:00
Keir Fraser 37993cc3df Update version number 3.3->4.0. 2008-08-05 13:55:14 +01:00
Keir Fraser 3adee298e7 Fix a few typos
From: Diego Ongaro <diego.ongaro@eu.citrix.com>
Acked-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
2008-08-04 11:25:20 +01:00
Keir Fraser ecec126d43 Update README to reference next major Xen release (3.3).
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
2008-05-01 14:04:12 +01:00
Keir Fraser dbda63b318 Update README file for Xen 3.2, and add tboot makefile targets and
readme decsription.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-10-30 10:17:40 +00:00
Keir Fraser ca2e266fd6 README: Remove incorrect information about PAE builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-10-04 09:39:40 +01:00
kfraser@localhost.localdomain 79669c1728 Fix the README to match Xen 3.1
From: Ryan Riley <rileyrd@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-07 16:44:04 +01:00
Ian Campbell c58e445d1c Remove sparse tree.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-06-04 11:16:19 +01:00
kfraser@localhost.localdomain 4203bee974 Update README for correctness.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-20 14:04:32 +01:00
Tom Wilkie 8ac66209be Add PyXML requirement for xm via XenAPI to docs
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-12 15:44:02 +01:00
Ewan Mellor 9423a78d7f Added section on Xend's runtime dependencies.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-03 12:22:10 +01:00
kfraser@localhost.localdomain 1f95747a4f Add openssl-dev and xorg-x11-dev to README
Attached is a documentation patch to the top-level README file; it
just adds two notes saying that you need to have openssl-devel and
xorg-x11-devel installed to successfully complete a "make world" at
the top level.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
2007-02-27 20:27:18 +00:00
kfraser@localhost.localdomain cdc54d20fd Add dependency on ncurses to main README. 2006-07-26 10:52:14 +01:00
kaf24@firebug.cl.cam.ac.uk f00a6868cf Our 10,000th changeset! (Clean up trailing whitespace in README file :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-16 13:46:57 +01:00
cl349@firebug.cl.cam.ac.uk 5796b1695e Remove \r characters.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2006-04-24 18:07:27 +01:00
emellor@leeni.uk.xensource.com 0dc4b1f301 Fix KERNELS example, mkinitrd example.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-04-11 12:46:39 +01:00
emellor@leeni.uk.xensource.com a03c61b2f7 Updated to reflect new KERNELS defaults, and properly describe make install and
make dist.
2006-04-10 16:21:44 +01:00
iap10@freefall.cl.cam.ac.uk e44081a02a Readme typos
Signed-off-by: ian@xensource.com
2005-12-04 01:34:25 +01:00
iap10@freefall.cl.cam.ac.uk 0466574382 Update xend-config.sxp so that dom0-min-mem is 196MB by default, as this is rather more user friendly.
Also do some minor fixes to the README
Signed-off-by: ian@xensource.com
2005-12-03 20:05:39 +01:00
kaf24@firebug.cl.cam.ac.uk 1660169e32 Remove linux-2.4 sparse tree.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-10-07 23:36:26 +01:00
kaf24@firebug.cl.cam.ac.uk 676742cfdf Fix README. 2005-07-11 21:34:26 +00:00
kaf24@firebug.cl.cam.ac.uk deddd053dd bitkeeper revision 1.1738 (42ba87barFA27QtqNiI4v7D2u57koA)
This is a patch to the README file to provide the missing
info on building from the source tree. It's by no means
clean, complete or even necessarily correct - just a first
draft to get the doc/instructions going.

All cleanups would be appreciated.

Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-23 09:58:18 +00:00
cl349@firebug.cl.cam.ac.uk acbaea9bb9 bitkeeper revision 1.1159.258.159 (429c6342A2HJ4wUj0nM5MNauX7azZQ)
vnet-xend.txt, user.tex, README:
  Update the Linux kernel version number from 2.6.9 to 2.6 or 2.6.11
  in several places in documentation.
Original patch provided by Andrew Thompson <andrewkt@aktzero.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:14:42 +00:00
kaf24@freefall.cl.cam.ac.uk 1707cb78aa bitkeeper revision 1.1159.152.4 (4188f5d8214qWxCDmCbxEQwQcQ3hww)
Doc update
2004-11-03 15:14:32 +00:00
iap10@labyrinth.cl.cam.ac.uk 18c450319a bitkeeper revision 1.1159.142.8 (41856f88s5u8hpX2TlCOupENnBIqig)
merge
2004-10-31 23:04:40 +00:00
iap10@labyrinth.cl.cam.ac.uk 4705e295c1 bitkeeper revision 1.1159.144.3 (41856143dZVCH2lFdy1jbtLSuhMowA)
minor
2004-10-31 22:03:47 +00:00
kaf24@freefall.cl.cam.ac.uk 1950b07711 bitkeeper revision 1.1159.1.310 (41828879uBRmYC81TaPfV6LGMJ1TYw)
Doc fixes.
2004-10-29 18:14:17 +00:00
mwilli2@equilibrium.research 1fc2b6a529 bitkeeper revision 1.1159.1.306 (418225cdXsKP_d8tfJvM9TR5Vjv5_Q)
Manual merge.
2004-10-29 11:13:17 +00:00
kaf24@freefall.cl.cam.ac.uk 5368e24a20 bitkeeper revision 1.1159.138.1 (41811be9-M5W9ujjnrgAr5BvIUxzIQ)
Doc fixes. Definitely more still to do.
2004-10-28 16:18:49 +00:00
mwilli2@equilibrium.research 60eba9b0d2 bitkeeper revision 1.1159.137.1 (41811b328SwfN4BTxZsoMM-iGa8evQ)
Delete some unused tools, lots of docs updates.
2004-10-28 16:15:46 +00:00
mwilli2@equilibrium.research 1d9f9b80cd bitkeeper revision 1.1159.64.1 (4130aba0phC6BxiRx2cnmE5EUnUgTQ)
Update version numbers.  Need some update of the actual instructions,
particularly in README.CD.
2004-08-28 15:58:24 +00:00
iap10@labyrinth.cl.cam.ac.uk b41a11b189 bitkeeper revision 1.1011 (40daaceaxFrszbXp_ive-1ko5WxZBw)
trivial
2004-06-24 10:28:58 +00:00
iap10@labyrinth.cl.cam.ac.uk f2593c2a9c bitkeeper revision 1.1003.1.1 (40daac7c6-RMqdy1PiSH_fSWwxWf9A)
master Makefile modified to build each the dom0 and unprivileged 
xenlinux kernels in different build trees. Also, the "-xen[0U]" tag
is reflected in the kernel version name. This means that different 
modules will need to be built for each, which is less convenient for 
an expert, but probably less confusing for most users.
2004-06-24 10:27:08 +00:00
kaf24@scramble.cl.cam.ac.uk fc12ec1904 bitkeeper revision 1.1010 (40da8d0bAUpsJUh6bwWRl65Frtj_lQ)
README update
2004-06-24 08:12:59 +00:00
iap10@labyrinth.cl.cam.ac.uk 93b0195ac5 bitkeeper revision 1.965 (40cde552wh00ygWiaGqPPXzvspDJsg)
Update README and README.CD
2004-06-14 17:50:10 +00:00
kaf24@scramble.cl.cam.ac.uk f914ededc5 bitkeeper revision 1.824 (40601cf9uRnKyyagj6umr4Oaf_-gWQ)
Many files:
  xeno -> xen renames.
xen_proc.c:
  Rename: xenolinux-2.4.25-sparse/arch/xen/lib/xeno_proc.c -> xenolinux-2.4.25-sparse/arch/xen/lib/xen_proc.c
xen_proc.h:
  Rename: xenolinux-2.4.25-sparse/include/asm-xen/xeno_proc.h -> xenolinux-2.4.25-sparse/include/asm-xen/xen_proc.h
Xen-HOWTO.txt:
  Rename: docs/Xeno-HOWTO.txt -> docs/Xen-HOWTO.txt
2004-03-23 11:18:17 +00:00
kaf24@scramble.cl.cam.ac.uk d5137734bc bitkeeper revision 1.806 (4058575bj1znOTlYdipFIG8KLGJwfQ)
pdb.txt, README, README.CD:
  Doc fixes.
2004-03-17 13:49:15 +00:00
iap10@labyrinth.cl.cam.ac.uk 7dad9d795a bitkeeper revision 1.700 (401d7e17TsVIdmq0QNgdFLXJHFN1kg)
transfer new domain tools and readmes from the 1.2 tree
2004-02-01 22:30:47 +00:00
kaf24@scramble.cl.cam.ac.uk 75a7d26709 bitkeeper revision 1.631 (3fbf9627n3_R5gJx6eFdJQwWUIKLCQ)
createlinuxdom.py, Xeno-HOWTO, TODO, README, README.CD:
  Updated the docs to get rid of xenctl references.
2003-11-22 17:00:23 +00:00
iap10@labyrinth.cl.cam.ac.uk d5f3e34120 bitkeeper revision 1.473 (3f7867e38-w0Udil0euqJ8nAHOdmhQ)
rename bk repository xeno.bk to xeno-1.0.bk
2003-09-29 17:12:03 +00:00
iap10@labyrinth.cl.cam.ac.uk 8d624bc811 bitkeeper revision 1.468 (3f776bd43_wFRTwYlSu5A4qtJST5zw)
changes to build system, example config scripts added, READMEs improved.
2003-09-28 23:16:36 +00:00