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/
Home Products Support Community News


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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] domctl: ssidref is not initialized if !XSM_ENABLE
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Aug 2008 02:20:21 -0700
Delivery-date: Wed, 20 Aug 2008 02:20:43 -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 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

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