Hi
> > The base VmgExitLib library provides a default limited interface to
> > handle #VE exception. To provide full support, the OVMF version of
> > VmgExitLib is extended to provide full support of #VE handler.
> >
> > PcdIgnoreVeHalt is created in OvmfPkg.dec to ignore the VE halt.
> 
> Why this is useful?
This Pcd is deprecated. It will be removed in the next version.
> 
> > +  X64/TdVmcallCpuid.nasm
> 
> Hmm, why not simply call the functions added by patch #2?
> 
TdVmcall in patch #2 assumes the returned value is in r11 (if there is returned 
data). But from [GHCI] spec Table 3-17, TDVMCALL_CPUID returns the values in 
R12/R13/R14/R15. So there has to be a new TdVmcallCpuid.nasm.
[GHCI] 
https://www.intel.com/content/dam/develop/external/us/en/documents/intel-tdx-guest-hypervisor-communication-interface-1.0-344426-002.pdf

Thanks
Min


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85860): https://edk2.groups.io/g/devel/message/85860
Mute This Topic: https://groups.io/mt/87696561/21656
Mute #ve:https://edk2.groups.io/g/devel/mutehashtag/ve
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to