search for: xen_sysctl_interface_version

Displaying 6 results from an estimated 6 matches for "xen_sysctl_interface_version".

2012 Dec 25
7
Using collectd: CPUFreq in dom0
Hello, I''ve tried to get the CPUFreq plugin of collectd running in dom0. But I mentioned that it isn''t so easy to get a file in sysfs on the rigth place. I know that the value has to come from hypervisor and I''ve seen the code in xenpm. The only value I need is "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" which would create cpufreq.c. Can anyone
2012 Oct 11
0
Re: [Valgrind-developers] [PATCH 1/4] Useful messages for sys/domctl interface_version mismatch.
...t; +#include <inttypes.h> > > #define __XEN_TOOLS__ > > @@ -353,9 +354,26 @@ PRE(sysctl) { > PRE_MEM_READ("__HYPERVISOR_sysctl", ARG1, > sizeof(uint32_t) + sizeof(uint32_t)); > > - if (!sysctl || sysctl->interface_version != > XEN_SYSCTL_INTERFACE_VERSION) - /* BUG ? */ > + if (!sysctl) > + return; > + > + if (sysctl->interface_version != XEN_SYSCTL_INTERFACE_VERSION) { > + VG_(dmsg)("WARNING: sysctl version %"PRIx32" not supported, " > + "built for %"PRIx32"\n...
2011 Oct 25
5
[PATCH] pm : provide CC7/PC2 residency
x86 pm : provide CC7/PC2 residency Sandy bridge introduces new MSR to get cc7/pc2 residency (core C-state 7/package C-state 2). Print the cc7/pc2 residency when on sandy bridge platform. Signed-off-by: Yang Zhang <yang.z.zhang@intel.com> diff -r 662dbf6ee71c tools/libxc/xc_pm.c --- a/tools/libxc/xc_pm.c Mon Oct 24 18:01:07 2011 +0100 +++ b/tools/libxc/xc_pm.c Fri Oct 28
2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
...uot;, sysctl->cmd); + + /* + * Common part of xen_sysctl: + * uint32_t cmd; + * uint32_t interface_version; + */ + PRE_MEM_READ("__HYPERVISOR_sysctl", ARG1, + sizeof(uint32_t) + sizeof(uint32_t)); + + if (!sysctl || sysctl->interface_version != XEN_SYSCTL_INTERFACE_VERSION) + /* BUG ? */ + return; + +#define __PRE_XEN_SYSCTL_READ(_sysctl, _union, _field) \ + PRE_MEM_READ("XEN_SYSCTL_" # _sysctl, \ + (Addr)&sysctl->u._union._field, \ + sizeof(sysctl->u._union._field)) +#define PRE...
2006 Sep 29
4
[PATCH 4/6] xen: export NUMA topology in physinfo hcall
...r 6f3c6fb05af3 xen/include/public/sysctl.h --- a/xen/include/public/sysctl.h Mon Sep 11 13:45:23 2006 -0500 +++ b/xen/include/public/sysctl.h Sat Sep 16 08:17:13 2006 -0500 @@ -15,6 +15,7 @@ #include "xen.h" #include "domctl.h" +#include "numa_structs.h" #define XEN_SYSCTL_INTERFACE_VERSION 0x00000002 @@ -67,6 +68,8 @@ struct xen_sysctl_physinfo { uint64_t free_pages; uint64_t scrub_pages; uint32_t hw_cap[8]; + XEN_GUEST_HANDLE(node_data_t) memory_chunks; + XEN_GUEST_HANDLE(u64) node_to_cpu; }; typedef struct xen_sysctl_physinfo xen_sysctl_physinfo_t; DEFINE_...
2013 Feb 07
5
[PATCH v8] gcov: Coverage support
Updated set of patches for coverage. Changes: - change copyright lines - use gcov: instead of cover: in commit comment - use #ifdef in xen/common/sysctl.c instead of dummy inline function - added base documentation in docs/misc - added -h option to xencov