When xenwatchdogd is invoked with -h/--help (or any non-number), the
argument value is converted to 0, which immediately shutdowns dom0.
So make sure only numbers are passed to the program, otherwise fail.
For the help, use getopt_long as suggested.
While there, reformat the code a bit (s/tabs/spa
Add the shutdown reasons to the paragraph of "xl list" concerning the
shutdown status.
I have adapted the explanations from the source code :
- tools/xl/xl_info.c : function "list_domains()", variable
"shutdown_reason_letters"
- xen/include/public/sched.h : variable "shed_shutdown_reason"
Su
Add the shutdown reasons to the paragraph of "xl list" concerning the
shutdown status.
I have copy/pasted the explanations from the source code :
- tools/xl/xl_info.c (L379)
- xen/include/public/sched.h (starting L158)
Suggested-by: Roger Pau Monné
Signed-off-by: Cyril Rébert / zithro
---
do
The xl command doesn't provide suspend/resume, so add them :
xl suspend-to-ram
xl resume
This patch follows a discussion on XenDevel: when you want the
virtualized equivalent of "sleep"-ing a host, it's better to
suspend/resume than to pause/unpause a domain.
Suggested-by: Andrew Cooper
Su
From: Cyril Rébert
Add a command line option to xentop to be able to display dom0 first, on top of
the list.
This is unconditional, so sorting domains with the S option will also ignore
dom0.
Signed-off-by: Cyril Rébert (zithro)
---
Changes in v3:
(none, just reformatting patch correctly ...
Add a command line option to xentop to be able to display dom0 first, on top of
the list.
This is unconditional, so sorting domains with the S option will also ignore
dom0.
Signed-off-by: Cyril Rébert (zithro)
---
Changes in v2:
- bug fix
- add documentation
---
docs/man/xentop.1.pod | 6
From: Cyril Rébert
Sort doesn't work on columns VBD_OO, VBD_RD, VBD_WR and VBD_RSECT.
Fix by adjusting variables names in compare functions.
Bug fix only. No functional change.
Signed-off-by: Cyril Rébert (zithro)
---
tools/xentop/xentop.c | 10 +-
1 file changed, 5 insertions(+), 5 de