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

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



On Thu, Jan 31, 2019 at 10:47:24AM +0000, Paul Durrant wrote:
> 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>

Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx>

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