Lines Matching refs:hostsa
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() argument
4599 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()
4615 hostsa->dr2_addr_mask = amd_get_dr_addr_mask(2); in sev_es_prepare_switch_to_guest()
4616 hostsa->dr3_addr_mask = amd_get_dr_addr_mask(3); in sev_es_prepare_switch_to_guest()