ia64/xen-unstable

changeset 18346:56770e3eb76e

domctl: ssidref is not initialized if !XSM_ENABLE

The ssidref in getdomaininfo() is not initialized when XSM_ENABLE is
not defined. So, xentop might display a wrong value of ssid.

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 20 09:06:58 2008 +0100 (2008-08-20)
parents b5396a87a64a
children bc372510f179
files xen/common/domctl.c
line diff
     1.1 --- a/xen/common/domctl.c	Wed Aug 20 09:04:33 2008 +0100
     1.2 +++ b/xen/common/domctl.c	Wed Aug 20 09:06:58 2008 +0100
     1.3 @@ -99,6 +99,7 @@ void getdomaininfo(struct domain *d, str
     1.4      
     1.5      info->domain = d->domain_id;
     1.6      info->nr_online_vcpus = 0;
     1.7 +    info->ssidref = 0;
     1.8      
     1.9      /* 
    1.10       * - domain is marked as blocked only if all its vcpus are blocked