diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-11-10 13:03:42 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-11-10 13:03:42 +0000 |
commit | fee63693e0ea23d24f239a05c0607021de02dd7f (patch) | |
tree | a51815bff41fce05290d8fb31c613e561ec4cce2 /xen/include/public/xen.h | |
parent | 66cc31ec352b38777396bd8689139e932c396e94 (diff) | |
download | xen-fee63693e0ea23d24f239a05c0607021de02dd7f.tar.gz xen-fee63693e0ea23d24f239a05c0607021de02dd7f.tar.bz2 xen-fee63693e0ea23d24f239a05c0607021de02dd7f.zip |
Hypercall to expose physical CPU information.
It also make some changes to current cpu online/offline logic:
1) Firstly, cpu online/offline will trigger a vIRQ to dom0 for status
changes notification.
2) It also add an interface to platform operation to online/offline
physical CPU. Currently the cpu online/offline interface is in sysctl,
which can't be triggered in kernel. With this change, it is possible
to trigger cpu online/offline in dom0 through sysfs interface.
Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Diffstat (limited to 'xen/include/public/xen.h')
-rw-r--r-- | xen/include/public/xen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h index 0cd04728d9..50692a03a4 100644 --- a/xen/include/public/xen.h +++ b/xen/include/public/xen.h @@ -145,6 +145,7 @@ DEFINE_XEN_GUEST_HANDLE(xen_pfn_t); #define VIRQ_DEBUGGER 6 /* G. (DOM0) A domain has paused for debugging. */ #define VIRQ_XENOPROF 7 /* V. XenOprofile interrupt: new sample available */ #define VIRQ_CON_RING 8 /* G. (DOM0) Bytes received on console */ +#define VIRQ_PCPU_STATE 9 /* G. (DOM0) PCPU state changed */ /* Architecture-specific VIRQ definitions. */ #define VIRQ_ARCH_0 16 |