diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-25 18:39:10 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-25 18:39:10 +0100 |
commit | 1df421476a141955f4f04b7ad0fbaf73e57c8358 (patch) | |
tree | 6500dea6303559d54abd1b0ff49db083c463d0d8 /xen/include/xen/trace.h | |
parent | e76cb15dcecf1b78ecb1365ea0f955a97c5d2dd1 (diff) | |
download | xen-1df421476a141955f4f04b7ad0fbaf73e57c8358.tar.gz xen-1df421476a141955f4f04b7ad0fbaf73e57c8358.tar.bz2 xen-1df421476a141955f4f04b7ad0fbaf73e57c8358.zip |
Replace dom0_ops hypercall with three new hypercalls:
1. platform_op -- used by dom0 kernel to perform actions on the
hardware platform (e.g., MTRR access, microcode update, platform
quirks, ...)
2. domctl -- used by management tools to control a specified domain
3. sysctl -- used by management tools for system-wide actions
Benefits include more sensible factoring of actions to
hypercalls. Also allows tool compatibility to be tracked separately
from the dom0 kernel. The assumption is that it will be easier to
replace libxenctrl, libxenguest and Xen as a matched set if the
dom0 kernel does not need to be replaced too (e.g., because that
would require vendor revalidation).
From here on we hope to maintain dom0 kernel compatibility. This
promise is not extended to tool compatibility beyond the existing
guarantee that compatibility will not be broken within a three-level
stable release [3.0.2, 3.0.3, etc.].
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/trace.h')
-rw-r--r-- | xen/include/xen/trace.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xen/include/xen/trace.h b/xen/include/xen/trace.h index a3e6b55654..4f3649a394 100644 --- a/xen/include/xen/trace.h +++ b/xen/include/xen/trace.h @@ -16,15 +16,13 @@ * * Access to the trace buffers is via a dom0 hypervisor op and analysis of * trace buffer contents can then be performed using a userland tool. - * - * See also common/trace.c and the dom0 op in include/public/dom0_ops.h */ #ifndef __XEN_TRACE_H__ #define __XEN_TRACE_H__ #include <xen/config.h> -#include <public/dom0_ops.h> +#include <public/sysctl.h> #include <public/trace.h> extern int tb_init_done; @@ -33,7 +31,7 @@ extern int tb_init_done; void init_trace_bufs(void); /* used to retrieve the physical address of the trace buffers */ -int tb_control(dom0_tbufcontrol_t *tbc); +int tb_control(struct xen_sysctl_tbuf_op *tbc); void trace(u32 event, unsigned long d1, unsigned long d2, unsigned long d3, unsigned long d4, unsigned long d5); |