freebsd-dev/sys/dev/xen/xenstore
Roger Pau Monné cfa0b7b82f xen: remove direct usage of HYPERVISOR_start_info
HYPERVISOR_start_info is only available to PV and PVHv1 guests, HVM
and PVHv2 guests get this data from HVM parameters that are fetched
using a hypercall.

Instead provide a set of helper functions that should be used to fetch
this data. The helper functions have different implementations
depending on whether FreeBSD is running as PVHv1 or HVM/PVHv2 guest
type.

This helps to cleanup generic Xen code by removing quite a lot of
xen_pv_domain and xen_hvm_domain macro usages.

Sponsored by:	Citrix Systems R&D
2018-07-19 07:54:45 +00:00
..
xenstore_dev.c dev/xenstore: prevent transaction hijacking 2018-05-24 10:18:31 +00:00
xenstore.c xen: remove direct usage of HYPERVISOR_start_info 2018-07-19 07:54:45 +00:00
xenstored_dev.c xen: remove direct usage of HYPERVISOR_start_info 2018-07-19 07:54:45 +00:00