> From: Xenia Ragiadakou <[email protected]>
> Sent: Monday, February 13, 2023 7:50 PM
> 
> APIC virtualization support is currently implemented only for Intel VT-x.
> To aid future work on separating AMD-V from Intel VT-x code, instead of
> calling directly vmx_vlapic_msr_changed() from common hvm code, add a
> stub
> to the hvm_function_table, named update_vlapic_mode, and create a
> wrapper
> function, called hvm_vlapic_mode(), to be used by common hvm code.
> 
> After the change above, do not include header asm/hvm/vmx/vmx.h as it is
> not required anymore and resolve subsequent build errors for implicit
> declaration of functions ‘TRACE_2_LONG_3D’ and ‘TRC_PAR_LONG’ by
> including
> missing asm/hvm/trace.h header.
> 
> No functional change intended.
> 
> Signed-off-by: Xenia Ragiadakou <[email protected]>

Reviewed-by: Kevin Tian <[email protected]>

Reply via email to