Home
last modified time | relevance | path

Searched refs:vm_set_register (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/libvmmapi/common/
H A Dvmmapi.c842 vm_set_register(struct vcpu *vcpu, int reg, uint64_t val) in vm_set_register() function
1552 error = vm_set_register(vcpu, VM_REG_GUEST_RFLAGS, rflags); in vcpu_reset()
1591 if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, sel)) != 0) in vcpu_reset()
1626 if ((error = vm_set_register(vcpu, VM_REG_GUEST_SS, sel)) != 0) in vcpu_reset()
1628 if ((error = vm_set_register(vcpu, VM_REG_GUEST_DS, sel)) != 0) in vcpu_reset()
1630 if ((error = vm_set_register(vcpu, VM_REG_GUEST_ES, sel)) != 0) in vcpu_reset()
1632 if ((error = vm_set_register(vcpu, VM_REG_GUEST_FS, sel)) != 0) in vcpu_reset()
1634 if ((error = vm_set_register(vcpu, VM_REG_GUEST_GS, sel)) != 0) in vcpu_reset()
1698 if ((error = vm_set_register(vcpu, VM_REG_GUEST_TR, sel)) != 0) in vcpu_reset()
1714 if ((error = vm_set_register(vcpu, VM_REG_GUEST_DR6, in vcpu_reset()
[all …]
H A Dmapfile-vers115 vm_set_register;
H A Dvmmapi.h189 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
/illumos-gate/usr/src/cmd/bhyve/
H A Dspinup_ap.c71 error = vm_set_register(newcpu, VM_REG_GUEST_RIP, 0); in spinup_ap_realmode()
84 error = vm_set_register(newcpu, VM_REG_GUEST_CS, cs); in spinup_ap_realmode()
H A Dtask_switch.c129 error = vm_set_register(vcpu, reg, val); in SETREG()
1034 error = vm_set_register(vcpu, VM_REG_GUEST_RIP, newtss.tss_eip); in vmexit_task_switch()
H A Dbhyverun.c715 error = vm_set_register(vcpu, VM_REG_GUEST_RAX, eax); in vmexit_rdmsr()
719 error = vm_set_register(vcpu, VM_REG_GUEST_RDX, edx); in vmexit_rdmsr()
H A Dgdb.c926 vm_set_register(vcpu, VM_REG_GUEST_RIP, vmexit->rip); in gdb_cpu_breakpoint()
950 error = vm_set_register(vcpu, VM_REG_GUEST_ENTRY_INST_LENGTH, in gdb_cpu_breakpoint()
/illumos-gate/usr/src/cmd/bhyvectl/
H A Dbhyvectl.c1956 error = vm_set_register(vcpu, VM_REG_GUEST_CR0, cr0); in main()
1959 error = vm_set_register(vcpu, VM_REG_GUEST_CR2, cr2); in main()
1962 error = vm_set_register(vcpu, VM_REG_GUEST_CR3, cr3); in main()
1995 error = vm_set_register(vcpu, VM_REG_GUEST_RFLAGS, in main()
2050 error = vm_set_register(vcpu, VM_REG_GUEST_CS, cs); in main()
2053 error = vm_set_register(vcpu, VM_REG_GUEST_DS, ds); in main()
2056 error = vm_set_register(vcpu, VM_REG_GUEST_ES, es); in main()
2059 error = vm_set_register(vcpu, VM_REG_GUEST_FS, fs); in main()
2062 error = vm_set_register(vcpu, VM_REG_GUEST_GS, gs); in main()
2065 error = vm_set_register(vcpu, VM_REG_GUEST_SS, ss); in main()
[all …]
/illumos-gate/usr/src/test/bhyve-tests/tests/inst_emul/
H A Dsuspend_info.c86 err = vm_set_register(vcpu, VM_REG_GUEST_RDI, 0); in vcpu0_setup()
173 err = vm_set_register(vcpu1, VM_REG_GUEST_RDI, 1); in test_emitted_triplefault()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm.c2090 VERIFY0(vm_set_register(vm, vcpuid, VM_REG_GUEST_RAX, in vm_handle_rdmsr()
2092 VERIFY0(vm_set_register(vm, vcpuid, VM_REG_GUEST_RDX, in vm_handle_rdmsr()
2896 VERIFY0(vm_set_register(vm, vcpuid, VM_REG_GUEST_CR2, cr2)); in vm_inject_pf()
3070 VERIFY0(vm_set_register(vm, vcpuid, clear_regs[i], 0)); in vcpu_arch_reset()
3073 VERIFY0(vm_set_register(vm, vcpuid, VM_REG_GUEST_RFLAGS, 2)); in vcpu_arch_reset()
3085 VERIFY0(vm_set_register(vm, vcpuid, VM_REG_GUEST_RDX, 0x600)); in vcpu_arch_reset()
3103 VERIFY0(vm_set_register(vm, vcpuid, data_segs[i], 0)); in vcpu_arch_reset()
3117 VERIFY0(vm_set_register(vm, vcpuid, VM_REG_GUEST_LDTR, 0)); in vcpu_arch_reset()
3124 VERIFY0(vm_set_register(vm, vcpuid, VM_REG_GUEST_TR, 0)); in vcpu_arch_reset()
3163 VERIFY0(vm_set_register(vm, vcpuid, VM_REG_GUEST_CS, in vcpu_vector_sipi()
[all …]
H A Dvmm_instruction_emul.c577 error = vm_set_register(vm, vcpuid, reg, val); in vie_write_bytereg()
607 error = vm_set_register(vm, vcpuid, reg, val); in vie_update_register()
861 err = vm_set_register(vm, vcpuid, in vie_emulate_mov_cr()
866 err = vm_set_register(vm, vcpuid, cr, val); in vie_emulate_mov_cr()
873 err = vm_set_register(vm, vcpuid, cr, val); in vie_emulate_mov_cr()
2225 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_CR0, val); in vie_emulate_clts()
2596 err = vm_set_register(vm, vcpuid, VM_REG_GUEST_RAX, in vie_emulate_inout()
H A Dvmm_sol_dev.c1063 error = vm_set_register(sc->vmm_vm, vcpu, vmreg.regnum, in vmmdev_do_ioctl()
1164 error = vm_set_register(sc->vmm_vm, vcpu, regnums[i], in vmmdev_do_ioctl()
/illumos-gate/usr/src/uts/intel/io/vmm/sys/
H A Dvmm_kernel.h185 int vm_set_register(struct vm *vm, int vcpu, int reg, uint64_t val);
/illumos-gate/usr/src/lib/libvmm/
H A Dlibvmm.c557 return (vm_set_register(vmm->vmm_vcpu[vcpuid], reg, val)); in vmm_setreg()