From: Keir Fraser Date: Wed, 20 Aug 2008 08:06:58 +0000 (+0100) Subject: domctl: ssidref is not initialized if !XSM_ENABLE X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14137 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6d0480fe26b522e90b7df95df9de35721d8259ba;p=xen.git 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 --- 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