WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] xend: Consider ioemu devices for inactive managed do

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xend: Consider ioemu devices for inactive managed domains
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 10 Sep 2009 17:16:41 +0900
Delivery-date: Thu, 10 Sep 2009 01:17:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

Attachment: XenAPI_ioemu_device.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>