Function tdx_guest::tdcall::set_cpuidve
source · pub fn set_cpuidve(cpuidve_flag: u64) -> Result<(), TdCallError>
Expand description
TDG.VP.CPUIDVE.SET controls unconditional #VE on CPUID execution by the guest TD.
Note: TDG.VP.CPUIDVE.SET is provided for backward compatibility.
The guest TD may control the same settings by writing to the VCPU-scope metadata fields CPUID_SUPERVISOR_VE and CPUID_USER_VE using TDG.VP.WR.