ia64/xen-unstable

view docs/Docs.mk @ 15852:7dba4441bf92

xend: Fix error message for xm trigger command.

When I tested xm trigger command with a wrong argument, I saw the
following error message.

# xm trigger vm1 xyz
Error: __init__() takes exactly 2 arguments (3 given)
Usage: xm trigger <Domain> <nmi|reset|init> [<VCPU>]

Send a trigger to a domain.

This patch fixes the error message as follows.

# xm trigger vm1 xyz
Error: Invalid trigger: xyz
Usage: xm trigger <Domain> <nmi|reset|init> [<VCPU>]

Send a trigger to a domain.

The type of "TRIGGER_TYPE" is dictionary. domain_send_trigger()
refers to the keys of "TRIGGER_TYPE" without using keys() currently.
This patch adds keys() there.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author kfraser@localhost.localdomain
date Fri Sep 07 11:24:28 2007 +0100 (2007-09-07)
parents 7cce8838abe0
children 4ce366cde89c
line source
1 PS2PDF := ps2pdf
2 DVIPS := dvips
3 LATEX := latex
4 FIG2DEV := fig2dev
5 LATEX2HTML := latex2html
6 DOXYGEN := doxygen
7 POD2MAN := pod2man
8 DOT := dot
9 NEATO := neato
11 pkgdocdir := /usr/share/doc/xen
12 mandir := /usr/share/man