diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-10-27 13:31:15 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-10-27 13:31:15 +0000 |
commit | 7ae0c6d845357e027bd3d75e703f4baef2d5e03e (patch) | |
tree | 25eb71eb7bcb485ed6abf77cfafaf0aaa707c5fe /xen/common/xenoprof.c | |
parent | 043e01a4f80f4af518008fa60ac73178d315b5e0 (diff) | |
download | xen-7ae0c6d845357e027bd3d75e703f4baef2d5e03e.tar.gz xen-7ae0c6d845357e027bd3d75e703f4baef2d5e03e.tar.bz2 xen-7ae0c6d845357e027bd3d75e703f4baef2d5e03e.zip |
x86, hvm, xenoprof: Add fully support of HVM guest to xenoprofile on Intel P6.
Signed-off-by: Ronghui Duan <ronghui.duan@intel.com>
Diffstat (limited to 'xen/common/xenoprof.c')
-rw-r--r-- | xen/common/xenoprof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/xenoprof.c b/xen/common/xenoprof.c index f41ebb9069..116a4622db 100644 --- a/xen/common/xenoprof.c +++ b/xen/common/xenoprof.c @@ -85,7 +85,7 @@ int is_active(struct domain *d) return ((x != NULL) && (x->domain_type == XENOPROF_DOMAIN_ACTIVE)); } -static int is_passive(struct domain *d) +int is_passive(struct domain *d) { struct xenoprof *x = d->xenoprof; return ((x != NULL) && (x->domain_type == XENOPROF_DOMAIN_PASSIVE)); |