[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] ssidref is not initialized if !XSM_ENABLE


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: SUZUKI Kazuhiro <kaz@xxxxxxxxxxxxxx>
  • Date: Wed, 20 Aug 2008 14:20:29 +0900 (JST)
  • Delivery-date: Tue, 19 Aug 2008 22:21:25 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
diff -r 9eb8bbfbaa06 xen/common/domctl.c
--- a/xen/common/domctl.c       Mon Aug 18 10:47:54 2008 +0100
+++ b/xen/common/domctl.c       Wed Aug 20 13:33:49 2008 +0900
@@ -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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.