xenbaked.c: fix "bad domain id: 32"
PATCH 1/1 xenbaked.c: fix "bad domain id: 32"
Hi,
This patch fixes a problem that xenmon.py gets the message "bad domain
id: 32" when a domain of domain ID 32 is running.
This only removes checking the maximun of domain ID because NDOMAINS does not mean the maximum of domain ID.
Signed-off-by KUWAMURA Shin'ya <[email protected]>
Thanks,
Signature · 1 line
KUWAMURA Shin'ya
tools/xenmon/xenbaked.c +1 -1
@@ -766,7 +766,7 @@ int indexof(int domid)int xc_handle, ndomains;extern void qos_kill_thread (int domid); -if (domid <0 || domid >=NDOMAINS ) {// shouldn't happen +if (domid <0 ) {// shouldn't happen if (domid !=IDLE_DOMAIN_ID ) {printf ("bad domain id: %d\r\n" , domid);return 0 ;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel