void sev_es_prepare_switch_to_guest(struct vmcb_save_area *hostsa)
{
	/*
	 * As an SEV-ES guest, hardware will restore the host state on VMEXIT,
	 * of which one step is to perform a VMLOAD.  KVM performs the
	 * corresponding VMSAVE in svm_prepare_guest_switch for both
	 * traditional and SEV-ES guests.
	 */

	/* XCR0 is restored on VMEXIT, save the current host value */
	hostsa->xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK);

	/* PKRU is restored on VMEXIT, save the current host value */
	hostsa->pkru = read_pkru();

	/* MSR_IA32_XSS is restored on VMEXIT, save the currnet host value */
	hostsa->xss = host_xss;
}
void sev_es_prepare_switch_to_guest(struct vmcb_save_area *hostsa)
{
	 

	 
	hostsa->xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK);

	 
	hostsa->pkru = read_pkru();

	 
	hostsa->xss = host_xss;
}