Skip to contentSkip to conversation

ssidref is not initialized if !XSM_ENABLE

PATCH New SUZUKI Kazuhiro 1 participant 1 message Aug 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ssidref is not initialized if !XSM_ENABLE

Hi,

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

Thanks,
KAZ

xen/common/domctl.c +1 -0
diff -r 9eb8bbfbaa06 xen/common/domctl.c
@@ -99,6 +99,7 @@
     
     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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel