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

[Xen-devel] [PATCH 0/5] xen: Fixes and improvements to HVM_PARAM handling



This started with the observation in patch 5, and expanded from there.  The
end result should be rather more predictable and easy to deprecate parameters
from.

An observation which I haven't addressed (and don't have time in the near
future) is that the hvm params array is moderately wasteful on x86 and very
wasteful on ARM.  An option would be to switch to using a named structure,
which would also fix the problem that both arch's hypercall handers are BCBS
gadgets.

Andrew Cooper (5):
  x86/hvm: Switch hvm_allow_get_param() to use a whitelist
  x86/hvm: Switch hvm_allow_set_param() to use a whitelist
  x86/hvm: Make HVM_PARAM_{STORE,CONSOLE}_EVTCHN read-only to the guest
  x86/hvm: Misc non-functional cleanup to the HVM_PARAM infrastructure
  xen/ARM: Restrict access to most HVM_PARAM's

 xen/arch/arm/hvm.c     |  62 +++++++++-
 xen/arch/x86/hvm/hvm.c | 312 +++++++++++++++++++++++++------------------------
 2 files changed, 221 insertions(+), 153 deletions(-)

-- 
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®.