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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1219219618 -3600
# Node ID 56770e3eb76e123632962522d99b45a984b282c0
# Parent  b5396a87a64a16e6815ea3cad7ab67da408e301d
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/common/domctl.c |    1 +
 1 files changed, 1 insertion(+)

diff -r b5396a87a64a -r 56770e3eb76e xen/common/domctl.c
--- a/xen/common/domctl.c       Wed Aug 20 09:04:33 2008 +0100
+++ b/xen/common/domctl.c       Wed Aug 20 09:06:58 2008 +0100
@@ -99,6 +99,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®.