Searched refs:vcpu_ctx (Results 1 – 1 of 1) sorted by relevance
81 pub vcpu_ctx: VcpuContextFrame, // 保存vcpu切换时的上下文,如通用寄存器等 field159 vcpu_ctx: VcpuContextFrame { in new()254 self.vcpu_ctx.regs[VcpuRegIndex::Rsp as usize] as u64, in vmcs_init_guest()256 vmx_vmwrite(VmcsFields::GUEST_RIP as u32, self.vcpu_ctx.rip as u64)?; in vmcs_init_guest()257 debug!("vmcs init guest rip: {:#x}", self.vcpu_ctx.rip as u64); in vmcs_init_guest()260 self.vcpu_ctx.regs[VcpuRegIndex::Rsp as usize] as u64 in vmcs_init_guest()411 self.vcpu_ctx = regs; in set_regs()