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

[Xen-changelog] [xen-3.2-testing] domctl: ssidref is not initialized if !XSM_ENABLE



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1219219710 -3600
# Node ID 87ede74351937470e25703e1fb663cd069cc5e4a
# Parent  6055eeb91d21583a55ea639733ec2efa6ab7a6e1
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@xxxxxxxxxxxxxx>
xen-unstable changeset:   18346:56770e3eb76e123632962522d99b45a984b282c0
xen-unstable date:        Wed Aug 20 09:06:58 2008 +0100
---
 xen/common/domctl.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 6055eeb91d21 -r 87ede7435193 xen/common/domctl.c
--- a/xen/common/domctl.c       Mon Aug 18 10:49:07 2008 +0100
+++ b/xen/common/domctl.c       Wed Aug 20 09:08:30 2008 +0100
@@ -97,6 +97,7 @@ void getdomaininfo(struct domain *d, str
     
     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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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