From 1df421476a141955f4f04b7ad0fbaf73e57c8358 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 25 Aug 2006 18:39:10 +0100 Subject: 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 --- tools/libxc/xg_private.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tools/libxc/xg_private.h') diff --git a/tools/libxc/xg_private.h b/tools/libxc/xg_private.h index fcf8d25c7a..c471e94cb6 100644 --- a/tools/libxc/xg_private.h +++ b/tools/libxc/xg_private.h @@ -19,15 +19,6 @@ #include #include -/* valgrind cannot see when a hypercall has filled in some values. For this - reason, we must zero the dom0_op_t instance before a call, if using - valgrind. */ -#ifdef VALGRIND -#define DECLARE_DOM0_OP dom0_op_t op = { 0 } -#else -#define DECLARE_DOM0_OP dom0_op_t op -#endif - #ifndef ELFSIZE #include #if UINT_MAX == ULONG_MAX -- cgit v1.2.3