WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] domctl: ssidref is not initialized if !XSM_ENABLE
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Aug 2008 17:20:26 -0700
Delivery-date: Wed, 20 Aug 2008 17:20:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] domctl: ssidref is not initialized if !XSM_ENABLE, Xen patchbot-3.2-testing <=