Searched refs:hostsa (Results 1 – 2 of 2) sorted by relevance
4580 void sev_es_prepare_switch_to_guest(struct vcpu_svm *svm, struct sev_es_save_area *hostsa) in sev_es_prepare_switch_to_guest() argument4599 hostsa->xcr0 = kvm_host.xcr0; in sev_es_prepare_switch_to_guest()4600 hostsa->pkru = read_pkru(); in sev_es_prepare_switch_to_guest()4601 hostsa->xss = kvm_host.xss; in sev_es_prepare_switch_to_guest()4609 hostsa->dr0 = native_get_debugreg(0); in sev_es_prepare_switch_to_guest()4610 hostsa->dr1 = native_get_debugreg(1); in sev_es_prepare_switch_to_guest()4611 hostsa->dr2 = native_get_debugreg(2); in sev_es_prepare_switch_to_guest()4612 hostsa->dr3 = native_get_debugreg(3); in sev_es_prepare_switch_to_guest()4613 hostsa->dr0_addr_mask = amd_get_dr_addr_mask(0); in sev_es_prepare_switch_to_guest()4614 hostsa->dr1_addr_mask = amd_get_dr_addr_mask(1); in sev_es_prepare_switch_to_guest()[all …]
731 void sev_es_prepare_switch_to_guest(struct vcpu_svm *svm, struct sev_es_save_area *hostsa);802 struct sev_es_save_area *hostsa);