Re: [PATCH v2] x86/Hyper-V: Expand definition of struct hv_vp_assist_page
From: Wei Liu <wei.liu@kernel.org>
Date: 2022-11-11 23:39:46
Also in:
lkml
From: Wei Liu <wei.liu@kernel.org>
Date: 2022-11-11 23:39:46
Also in:
lkml
On Mon, Nov 07, 2022 at 04:03:07PM +0530, Anirudh Rayabharam wrote:
On Fri, Nov 04, 2022 at 11:38:43AM -0700, Saurabh Sengar wrote:quoted
The struct hv_vp_assist_page has 24 bytes which is defined as u64[3], expand that to expose vtl_entry_reason, vtl_ret_x64rax and vtl_ret_x64rcx field. vtl_entry_reason is updated by hypervisor for the entry reason as to why the VTL was entered on the virtual processor. Guest updates the vtl_ret_* fields to provide the register values to restore on VTL return. The specific register values that are restored which will be updated on vtl_ret_x64rax and vtl_ret_x64rcx. Also added the missing fields for synthetic_time_unhalted_timer_expired, virtualization_fault_information and intercept_message.
I did a bit of stylistic changes to the commit message and queued this up to hyperv-next. Thanks.