projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ead8cb
)
domctl: ssidref is not initialized if !XSM_ENABLE
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 20 Aug 2008 08:06:58 +0000
(09:06 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 20 Aug 2008 08:06:58 +0000
(09:06 +0100)
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@jp.fujitsu.com>
xen/common/domctl.c
patch
|
blob
|
history
diff --git
a/xen/common/domctl.c
b/xen/common/domctl.c
index 0364116e945837d034ec81cd68e6675a6f0fd4b8..20b00cf495c472e64f15bd9d7c8816d8bfa80699 100644
(file)
--- a/
xen/common/domctl.c
+++ b/
xen/common/domctl.c
@@
-99,6
+99,7
@@
void getdomaininfo(struct domain *d, struct xen_domctl_getdomaininfo *info)
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