Home
last modified time | relevance | path

Searched refs:VcpuContextFrame (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/virt/kvm/
H A Dvcpu_dev.rs1 use crate::arch::kvm::vmx::vcpu::VcpuContextFrame;
171 let mut kvm_regs = VcpuContextFrame::default(); in ioctl()
176 core::mem::size_of::<VcpuContextFrame>(), in ioctl()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dvcpu.rs63 pub struct VcpuContextFrame { struct
81 pub vcpu_ctx: VcpuContextFrame, // 保存vcpu切换时的上下文,如通用寄存器等 argument
159 vcpu_ctx: VcpuContextFrame { in new()
410 pub fn set_regs(&mut self, regs: VcpuContextFrame) -> Result<(), SystemError> { in set_regs()