[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 0/5] x86: Be able to retrieve system and domain policies



Its long-since time to repost this work, seeing as it is blocking parts of the
speculative improvement work already discussed.  See indiviudal patches for
details.

Andrew Cooper (2):
  libx86: Introduce a helper to serialise cpuid_policy objects
  x86: Introduce struct cpu_policy to refer to a group of individual policies

Roger Pau Monné (1):
  libx86: Introduce a helper to serialise msr_policy objects

Sergey Dyasli (2):
  x86/sysctl: Implement XEN_SYSCTL_get_cpu_policy
  x86/domctl: Implement XEN_DOMCTL_get_cpu_policy

 tools/flask/policy/modules/dom0.te   |   2 +-
 tools/flask/policy/modules/xen.if    |   2 +-
 tools/libxc/Makefile                 |   2 +-
 tools/libxc/include/xenctrl.h        |   9 +++
 tools/libxc/xc_cpuid_x86.c           |  95 ++++++++++++++++++++++++++
 tools/misc/xen-cpuid.c               | 128 ++++++++++++++++++++++++++++++++++-
 xen/arch/x86/domctl.c                |  32 +++++++++
 xen/arch/x86/sysctl.c                |  74 ++++++++++++++++++++
 xen/include/asm-x86/cpuid.h          |   3 +
 xen/include/public/arch-x86/xen.h    |  18 +++++
 xen/include/public/domctl.h          |  18 +++++
 xen/include/public/sysctl.h          |  37 ++++++++++
 xen/include/xen/lib/x86/cpu-policy.h |  24 +++++++
 xen/include/xen/lib/x86/cpuid.h      |  36 ++++++++++
 xen/include/xen/lib/x86/msr.h        |  26 +++++++
 xen/lib/x86/Makefile                 |   1 +
 xen/lib/x86/cpuid.c                  |  91 +++++++++++++++++++++++++
 xen/lib/x86/msr.c                    |  58 ++++++++++++++++
 xen/lib/x86/private.h                |  21 ++++++
 xen/xsm/flask/hooks.c                |   4 ++
 xen/xsm/flask/policy/access_vectors  |   4 +-
 21 files changed, 678 insertions(+), 7 deletions(-)
 create mode 100644 xen/include/xen/lib/x86/cpu-policy.h
 create mode 100644 xen/lib/x86/msr.c

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.