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

Re: [Xen-devel] [PATCH v2 3/8] viridian: extend init/deinit hooks into synic and time modules

>>> Paul Durrant <paul.durrant@xxxxxxxxxx> 01/08/19 4:18 PM >>>
>This patch simply adds domain and vcpu init/deinit hooks into the synic
>and time modules and wires them into viridian_[domain|vcpu]_[init|deinit]().
>Only one of the hooks is currently needed (to unmap the 'VP Assist' page)
>but subsequent patches will make use of the others.
>NOTE: To perform the unmap of the VP Assist page,
>viridian_unmap_guest_page() is now directly called in the new
>viridian_synic_vcpu_deinit() function (which is safe even if
>is_viridian_vcpu() evaluates to false). This replaces the slightly
>hacky mechanism of faking a zero write to the
>HV_X64_MSR_VP_ASSIST_PAGE MSR in viridian_cpu_deinit().
>Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Xen-devel mailing list



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