aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-08-20 09:06:58 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-08-20 09:06:58 +0100
commit6d0480fe26b522e90b7df95df9de35721d8259ba (patch)
treee9c6815a73b0d720a4202f912d96e846111f7cae
parent5ead8cb7ed402e6d66da3b1d963b7be3915536b3 (diff)
downloadxen-6d0480fe26b522e90b7df95df9de35721d8259ba.tar.gz
xen-6d0480fe26b522e90b7df95df9de35721d8259ba.tar.bz2
xen-6d0480fe26b522e90b7df95df9de35721d8259ba.zip
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>
-rw-r--r--xen/common/domctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/common/domctl.c b/xen/common/domctl.c
index 0364116e94..20b00cf495 100644
--- a/xen/common/domctl.c
+++ b/xen/common/domctl.c
@@ -99,6 +99,7 @@ void getdomaininfo(struct domain *d, struct xen_domctl_getdomaininfo *info)
info->domain = d->domain_id;
info->nr_online_vcpus = 0;
+ info->ssidref = 0;
/*
* - domain is marked as blocked only if all its vcpus are blocked