>>> Paul Durrant <paul.durr...@citrix.com> 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.durr...@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel