[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v9 06/27] xen-xsplice: Tool to manipulate xsplice payloads
On 04/25/2016 04:34 PM, Konrad Rzeszutek Wilk wrote: snip diff --git a/tools/misc/xen-xsplice.c b/tools/misc/xen-xsplice.c new file mode 100644 index 0000000..fb9228e --- /dev/null +++ b/tools/misc/xen-xsplice.c @@ -0,0 +1,463 @@ +/* + * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. + */ + +#include <fcntl.h> +#include <libgen.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/mman.h> +#include <sys/stat.h> +#include <unistd.h> +#include <xenctrl.h> +#include <xenstore.h> + +static xc_interface *xch; + +void show_help(void) +{ + fprintf(stderr, + "xen-xsplice: Xsplice test tool\n" + "Usage: xen-xsplice <command> [args]\n" + " <name> An unique name of payload. Up to %d characters.\n" + "Commands:\n" + " help display this help\n" + " upload <name> <file> upload file <file> with <name> name\n" + " list list payloads uploaded.\n" + " apply <name> apply <name> patch.\n" + " revert <name> revert name <name> patch.\n" + " replace <name> apply <name> patch and revert all others.\n" + " unload <name> unload name <name> patch.\n" + " load <file> upload, check and apply <file>.\n" Since the check command is removed, this should be "upload and apply <file>..." -- Ross Lagerwall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |