[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 08/15] libxl: introduce helper to initialise Dom0



On Thu, Sep 04, 2014 at 11:43:14PM +0100, Wei Liu wrote:
> This small helper is responsible for generating Dom0 JSON config
> stub and writing Dom0 xenstore entries. This helpers subsumes two calls
> to xenstore-write in xencommons script.
> 
> Dom0 UUID is intentionally left untouched, so it is always all
> zeros.  This makes sure that we don't leak Dom0 stubs across rebooting.
> 
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> 
> ---
> change in v3:
> move to libxl directory
> ---
>  .gitignore                                  |    1 +
>  tools/hotplug/Linux/init.d/xencommons.in.in |    5 +-
>  tools/libxl/Makefile                        |   10 ++-
>  tools/libxl/xen-init-dom0.c                 |  120 
> +++++++++++++++++++++++++++
>  4 files changed, 132 insertions(+), 4 deletions(-)
>  create mode 100644 tools/libxl/xen-init-dom0.c
> 
> diff --git a/.gitignore b/.gitignore
> index 6d725aa..8e34b85 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -313,6 +313,7 @@ tools/libxl/testidl.c
>  tools/libxl/*.pyc
>  tools/libxl/libxl-save-helper
>  tools/libxl/test_timedereg
> +tools/libxl/xen-init-dom0
>  tools/blktap2/control/tap-ctl
>  tools/firmware/etherboot/eb-roms.h
>  tools/firmware/etherboot/gpxe-git-snapshot.tar.gz
> diff --git a/tools/hotplug/Linux/init.d/xencommons.in.in 
> b/tools/hotplug/Linux/init.d/xencommons.in.in
> index b311bb8..1d860d9 100644
> --- a/tools/hotplug/Linux/init.d/xencommons.in.in
> +++ b/tools/hotplug/Linux/init.d/xencommons.in.in

I just noticed I forgot to modify corresponding scripts for FreeBSD and
NetBSD. I will fix this either with another patch or in next version.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.