Searched refs:vmcb (Results 1 – 13 of 13) sorted by relevance
/xen/xen/arch/x86/hvm/svm/ |
A D | svmdebug.c | 38 if ( vmcb == curr->arch.hvm.svm.vmcb ) in svm_vmcb_dump() 58 vmcb->event_inj.raw, vmcb->event_inj.v, in svm_vmcb_dump() 59 vmcb->event_inj.ev, vmcb->event_inj.type, in svm_vmcb_dump() 64 vmcb->exitinfo1, vmcb->exitinfo2); in svm_vmcb_dump() 70 vmcb_get_cpl(vmcb), vmcb_get_efer(vmcb), vmcb->star, vmcb->lstar); in svm_vmcb_dump() 72 vmcb_get_cr0(vmcb), vmcb_get_cr2(vmcb)); in svm_vmcb_dump() 74 vmcb_get_cr3(vmcb), vmcb_get_cr4(vmcb)); in svm_vmcb_dump() 76 vmcb->rsp, vmcb->rip); in svm_vmcb_dump() 78 vmcb->rax, vmcb->rflags); in svm_vmcb_dump() 82 vmcb->cstar, vmcb->sfmask); in svm_vmcb_dump() [all …]
|
A D | vmcb.c | 38 if ( vmcb == NULL ) in alloc_vmcb() 44 clear_page(vmcb); in alloc_vmcb() 45 return vmcb; in alloc_vmcb() 57 struct vmcb_struct *vmcb = svm->vmcb; in construct_vmcb() local 114 vmcb->cs.limit = ~0u; in construct_vmcb() 115 vmcb->es.limit = ~0u; in construct_vmcb() 116 vmcb->ss.limit = ~0u; in construct_vmcb() 117 vmcb->ds.limit = ~0u; in construct_vmcb() 118 vmcb->fs.limit = ~0u; in construct_vmcb() 119 vmcb->gs.limit = ~0u; in construct_vmcb() [all …]
|
A D | svm.c | 178 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_save_dr() local 248 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_restore_dr() local 256 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_vmcb_save() local 276 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_vmcb_restore() local 357 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_save_cpu_state() local 369 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_load_cpu_state() local 432 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_get_interrupt_shadow() local 446 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_set_interrupt_shadow() local 595 struct vmcb_struct *vmcb = svm->vmcb; in svm_cpuid_policy_changed() local 1415 vmcb->nextrip = (uint32_t)vmcb->nextrip; in svm_inject_event() [all …]
|
A D | intr.c | 44 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_inject_nmi() local 53 ASSERT(!vmcb->event_inj.v); in svm_inject_nmi() 54 vmcb->event_inj = event; in svm_inject_nmi() 66 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_inject_extint() local 74 ASSERT(!vmcb->event_inj.v); in svm_inject_extint() 75 vmcb->event_inj = event; in svm_inject_extint() 80 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_enable_intr_window() local 102 vmcb->event_inj.v ? vmcb->event_inj.vector : -1); in svm_enable_intr_window() 124 intr = vmcb_get_vintr(vmcb); in svm_enable_intr_window() 129 vmcb_set_vintr(vmcb, intr); in svm_enable_intr_window() [all …]
|
A D | asid.c | 41 struct vmcb_struct *vmcb = curr->arch.hvm.svm.vmcb; in svm_asid_handle_vmrun() local 50 vmcb_set_guest_asid(vmcb, 1); in svm_asid_handle_vmrun() 51 vmcb->tlb_control = in svm_asid_handle_vmrun() 56 if ( vmcb_get_guest_asid(vmcb) != p_asid->asid ) in svm_asid_handle_vmrun() 57 vmcb_set_guest_asid(vmcb, p_asid->asid); in svm_asid_handle_vmrun() 59 vmcb->tlb_control = in svm_asid_handle_vmrun()
|
A D | nestedsvm.c | 275 v->arch.hvm.svm.vmcb = n1vmcb; in nsvm_vcpu_hostrestore() 724 v->arch.hvm.svm.vmcb = nv->nv_n2vmcx; in nsvm_vcpu_vmentry() 795 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in nsvm_vcpu_vmexit_inject() local 1333 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in nestedsvm_vmexit_defer() local 1336 vmcb->_vintr.fields.vgif = 0; in nestedsvm_vmexit_defer() 1592 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in nestedsvm_gif_isset() local 1596 return vmcb->_vintr.fields.vgif; in nestedsvm_gif_isset() 1625 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_vmexit_do_clgi() local 1642 intr = vmcb_get_vintr(vmcb); in svm_vmexit_do_clgi() 1645 vmcb_set_vintr(vmcb, intr); in svm_vmexit_do_clgi() [all …]
|
A D | emulate.c | 32 struct vmcb_struct *vmcb = v->arch.hvm.svm.vmcb; in svm_nextrip_insn_length() local 38 switch ( vmcb->exitcode ) in svm_nextrip_insn_length() 55 return vmcb->nextrip - vmcb->rip; in svm_nextrip_insn_length()
|
A D | Makefile | 8 obj-y += vmcb.o
|
/xen/xen/include/asm-x86/hvm/svm/ |
A D | svm.h | 25 static inline void svm_vmload_pa(paddr_t vmcb) in svm_vmload_pa() argument 29 : : "a" (vmcb) : "memory" ); in svm_vmload_pa() 32 static inline void svm_vmsave_pa(paddr_t vmcb) in svm_vmsave_pa() argument 36 : : "a" (vmcb) : "memory" ); in svm_vmsave_pa()
|
A D | svmdebug.h | 26 void svm_vmcb_dump(const char *from, const struct vmcb_struct *vmcb); 27 bool svm_vmcb_isvalid(const char *from, const struct vmcb_struct *vmcb,
|
A D | vmcb.h | 548 struct vmcb_struct *vmcb; member 569 void free_vmcb(struct vmcb_struct *vmcb); 590 vmcb_set_ ## name(struct vmcb_struct *vmcb, \ 593 vmcb->_ ## name = value; \ 594 vmcb->cleanbits.cleanbit = false; \ 597 vmcb_get_ ## name(const struct vmcb_struct *vmcb) \ 599 return vmcb->_ ## name; \
|
A D | asid.h | 32 svm_invlpga(g_linear, v->arch.hvm.svm.vmcb->guest_asid); in svm_asid_g_invlpg()
|
/xen/xen/arch/x86/x86_64/ |
A D | asm-offsets.c | 86 OFFSET(VCPU_svm_vmcb, struct vcpu, arch.hvm.svm.vmcb); in __dummy__()
|
Completed in 22 milliseconds