Masaki Kanno
2009-Sep-10 08:16 UTC
[Xen-devel] [PATCH] xend: Consider ioemu devices for inactive managed domains
Hi,
An error occurred in an environment that XenAPI is available.
I detected the following error message when using xm block-list
command. The VM (vm1) is an inactive managed domain. I defined
a device adding "ioemu:" for the VM. The error occurred at the
device.
This patch solves the problem.
# xm block-list vm1
Vdev BE handle state evt-ch ring-ref BE-path
769 -1 0 -1 -1 -1 ??
Unexpected error: exceptions.TypeError
Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
File "/usr/sbin/xm", line 7, in ?
main.main(sys.argv)
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 3344,
in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 3368,
in _run_cmd
return True, cmd(args)
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 2144,
in xm_block_list
ni[''idx''] = int(x[0])
TypeError: int() argument must be a string or a number
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Best regards,
Kan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Masaki Kanno
2009-Sep-15 23:52 UTC
Re: [Xen-devel] [PATCH] xend: Consider ioemu devices for inactive managed domains
Hi Keir, Could you apply the patch? Thanks Kan Thu, 10 Sep 2009 17:16:41 +0900, Masaki Kanno wrote:>Hi, > >An error occurred in an environment that XenAPI is available. >I detected the following error message when using xm block-list >command. The VM (vm1) is an inactive managed domain. I defined >a device adding "ioemu:" for the VM. The error occurred at the >device. >This patch solves the problem. > ># xm block-list vm1 >Vdev BE handle state evt-ch ring-ref BE-path >769 -1 0 -1 -1 -1 ?? >Unexpected error: exceptions.TypeError > >Please report to xen-devel@lists.xensource.com >Traceback (most recent call last): > File "/usr/sbin/xm", line 7, in ? > main.main(sys.argv) > File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 3344, in main > _, rc = _run_cmd(cmd, cmd_name, args) > File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 3368, in >_run_cmd > return True, cmd(args) > File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 2144, in >xm_block_list > ni[''idx''] = int(x[0]) >TypeError: int() argument must be a string or a number > > >Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> > >Best regards, > Kan > > >-------------------------------text/plain------------------------------- >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel