setup_regs

Function setup_regs 

Source
pub fn setup_regs(
    vcpu: &VcpuFd,
    entry_point: EntryPoint,
) -> Result<(), SetupRegistersError>
Expand description

Configure base registers for a given CPU.

§Arguments

  • vcpu - Structure for the VCPU that holds the VCPU’s fd.
  • boot_ip - Starting instruction pointer.

§Errors

When [kvm_ioctls::ioctls::vcpu::VcpuFd::set_regs] errors.