ANDROID: pkvm: x86: Add helper function shadow_vcpu_is_protected()
Check if a shadow_vcpu is belonging to protected vm is a common function, make it a helper function. Bug: 395299836 Test: Boot, verify cpus are de-privileged and run a minimal protected vm. Change-Id: Iddcf24c68b39f8658f9b75cfbc66269a11acb15c Signed-off-by:Shaoqin Huang <shaoqin.huang@intel.com> Reviewed-by:
Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by:
Vineeth Pillai <vineethrp@google.com>
Loading
Please sign in to comment