ia64/xen-unstable
view buildconfigs/mk.linux-2.6.9-RHEL-xen @ 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>
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 | 1f1d1b43951e |
children | 0c64074794da |
line source
1 # This tree only supports PAE
2 XEN_TARGET_ARCH = x86_32
3 XEN_TARGET_X86_PAE = y
5 XEN_LINUX_ALLOW_INTERFACE_MISMATCH := y
7 EXTRAVERSION = -xen
8 LINUX_VER = 2.6.9-RHEL
10 XEN_LINUX_SOURCE = hg-clone
11 XEN_LINUX_HGREPO ?= http://xenbits.xensource.com/kernels/rhel4x.hg
12 XEN_LINUX_HGREV ?= tip
14 include buildconfigs/mk.linux-2.6-xen