From 6d0480fe26b522e90b7df95df9de35721d8259ba Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 20 Aug 2008 09:06:58 +0100 Subject: [PATCH] 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 --- xen/common/domctl.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2