Displaying 6 results from an estimated 6 matches for "def_getopt".
2011 Apr 18
7
[PATCH] tools: xl: on create, if debug && !daemonize, wait for domain destroy in the foreground
# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1303143831 -3600
# Node ID 31b98feb0eb6a50fe9e664a31feaa32ad3dac7cc
# Parent 05abea47f4dc670974cd513a0e74db54d22eacc9
tools: xl: on create, if debug && !daemonize, wait for domain destroy in the foreground
Perhaps this should be a separate option but I find that when I''m debugging xl
in the
2012 Sep 06
7
[PATCH] xl: Introduce shutdown xm compatibility option -a to shutdown all domains
...12 +0200
@@ -3670,14 +3670,20 @@ int main_destroy(int argc, char **argv)
int main_shutdown(int argc, char **argv)
{
- int opt;
+ libxl_dominfo *dominfo;
+ char *domname;
+ int opt, i, nb_domain;
+ int all = 0;
int wait = 0;
int fallback_trigger = 0;
- while ((opt = def_getopt(argc, argv, "wF", "shutdown", 1)) != -1) {
+ while ((opt = def_getopt(argc, argv, "awF", "shutdown", 0)) != -1) {
switch (opt) {
case 0: case 2:
return opt;
+ case ''a'':
+ all = 1;
+...
2012 May 15
5
[PATCH 0 of 4 v3] Add commands to automatically prep devices for pass-through
Add commands to automatically prep devices for pass-through
The current method for passing through devices requires users to
either modify cryptic Linux boot parameters and reboot, or do a lot of
manual reads and writes into sysfs nodes.
This set of patches introduces commands to make this easier. It expands
on the concept of "assignable" (from the list_assignable_devices command).
2012 May 15
6
[PATCH 0 of 2 v2] Add vncviewer xm compatibility options
Changes since v1:
- Removed libxl vncviewer related dependencies
- The vncviewer function was modified to accept a domid instead of domspec;
- main_vncviewer was updated to reflect the new use.
- A domain_create structure is now passed to the parse_config_data where required/feasible (NULL otherwise)
- xl restore now have long options for vncviewer/vncviewer-autopass; docs updated.
- Updated
2011 Jun 02
48
[PATCH 0/9] libxl: disk configuration handling
This is v3 of my disk series. What were previously patches 01-06 have
been applied. These are the tested and updated remainder, addressing
the previous comments.
1 Preparatory work.
2-4 The new parser and its documentation.
5-6 Replace old parsers with calls to the new one.
7-8 Two features, one of them essential.
9 Basic test suite for disk string parsing, as adhoc script.
2012 Sep 27
18
[PATCH 09/11] add iomem support to libxl
This patch adds a new option for xen config files for
directly mapping hardware io memory into a vm.
Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5
index 013270d..428da21 100644
--- a/docs/man/xl.cfg.pod.5
+++ b/docs/man/xl.cfg.pod.5
@@ -496,6 +496,17 @@ is given in hexadecimal and may either a span e.g.