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@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxx>
Best regards,
Kan
XenAPI_ioemu_device.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|