Home
last modified time | relevance | path

Searched refs:VCPU_SREG_GS (Results 1 – 6 of 6) sorted by relevance

/linux/arch/x86/kvm/
H A Dsmm.c217 enter_smm_save_seg_32(vcpu, &smram->gs, &smram->gs_sel, VCPU_SREG_GS); in enter_smm_save_state_32()
268 enter_smm_save_seg_64(vcpu, &smram->gs, VCPU_SREG_GS); in enter_smm_save_state_64()
352 kvm_set_segment(vcpu, &ds, VCPU_SREG_GS); in enter_smm()
494 rsm_load_seg_32(vcpu, &smstate->gs, smstate->gs_sel, VCPU_SREG_GS); in rsm_load_state_32()
555 rsm_load_seg_64(vcpu, &smstate->gs, VCPU_SREG_GS); in rsm_load_state_64()
H A Demulate.c1575 } else if (seg <= VCPU_SREG_GS && ctxt->mode == X86EMUL_MODE_VM86) { in __load_segment_descriptor()
1626 if (seg <= VCPU_SREG_GS && !seg_desc.s) { in __load_segment_descriptor()
2770 tss->gs = get_segment_selector(ctxt, VCPU_SREG_GS); in save_state_to_tss32()
2805 set_segment_selector(ctxt, tss->gs, VCPU_SREG_GS); in load_state_from_tss32()
2848 ret = __load_segment_descriptor(ctxt, tss->gs, VCPU_SREG_GS, cpl, in load_state_from_tss32()
3350 if (segment > VCPU_SREG_GS && in em_store_sreg()
3363 if (ctxt->modrm_reg > VCPU_SREG_GS) in em_mov_rm_sreg()
3373 if (ctxt->modrm_reg == VCPU_SREG_CS || ctxt->modrm_reg > VCPU_SREG_GS) in em_mov_sreg_rm()
4714 op->val = VCPU_SREG_GS; in decode_operand()
4818 ctxt->seg_override = VCPU_SREG_GS; in x86_decode_insn()
H A Dx86.c11693 kvm_get_segment(vcpu, &sregs->gs, VCPU_SREG_GS); in __get_sregs_common()
11943 kvm_set_segment(vcpu, &sregs->gs, VCPU_SREG_GS); in __set_sregs_common()
/linux/arch/x86/include/asm/
H A Dkvm_host.h206 VCPU_SREG_GS, enumerator
/linux/arch/x86/kvm/svm/
H A Dsvm.c1697 case VCPU_SREG_GS: return &save01->gs; in svm_seg()
1756 case VCPU_SREG_GS: in svm_get_segment()
/linux/arch/x86/kvm/vmx/
H A Dnested.c4740 __vmx_set_segment(vcpu, &seg, VCPU_SREG_GS); in load_vmcs12_host_state()
5146 if (seg_reg == VCPU_SREG_FS || seg_reg == VCPU_SREG_GS) in get_vmx_mem_address()