[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Support user domain create extensions
This patch supports arbitrary extensions to xl create by being able to specify a script which is run at domain creation. The script is specified in the xl config file and will be started at domain creation with following parameters: <script> restore|create <domid> <path of config file> To be able to use non-standard devices a new device class "NSTD" is defined. The xl framework will remove all NSTD devices when destroying a domain. This extension enables us (Fujitsu) to use standard Xen with xl for our Xen-based mainframe with BS2000 as DomU (this requires an additional Xen PV-device emulating the BS2000 I/O-system). It might be interesting for others as well to be able to add new experimental devices or other features to Xen without having to change Xen (especially xl) itself. Signed-off-by: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx> 7 files changed, 65 insertions(+) tools/examples/xl.conf | 11 +++++++++++ tools/libxl/libxl.h | 3 +++ tools/libxl/libxl_dom.c | 16 ++++++++++++++++ tools/libxl/libxl_types_internal.idl | 1 + tools/libxl/xl.c | 5 +++++ tools/libxl/xl.h | 1 + tools/libxl/xl_cmdimpl.c | 28 ++++++++++++++++++++++++++++ Attachment:
xen-staging.hg.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |