Symbol: vm_set_register
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
117
error = vm_set_register(vcpu, VM_REG_GUEST_RFLAGS, rflags);
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
168
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
172
if ((error = vm_set_register(vcpu, VM_REG_GUEST_DS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
175
if ((error = vm_set_register(vcpu, VM_REG_GUEST_ES, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
178
if ((error = vm_set_register(vcpu, VM_REG_GUEST_FS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
181
if ((error = vm_set_register(vcpu, VM_REG_GUEST_GS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
184
if ((error = vm_set_register(vcpu, VM_REG_GUEST_SS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
188
if ((error = vm_set_register(vcpu, VM_REG_GUEST_TR, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
192
if ((error = vm_set_register(vcpu, VM_REG_GUEST_LDTR, 0)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
196
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RIP, eip)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
199
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RSP, esp)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
230
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CR0, cr0)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
234
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CR4, cr4)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
238
if ((error = vm_set_register(vcpu, VM_REG_GUEST_EFER, efer)))
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
242
error = vm_set_register(vcpu, VM_REG_GUEST_RFLAGS, rflags);
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
295
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
299
if ((error = vm_set_register(vcpu, VM_REG_GUEST_DS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
302
if ((error = vm_set_register(vcpu, VM_REG_GUEST_ES, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
305
if ((error = vm_set_register(vcpu, VM_REG_GUEST_FS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
308
if ((error = vm_set_register(vcpu, VM_REG_GUEST_GS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
311
if ((error = vm_set_register(vcpu, VM_REG_GUEST_SS, gsel)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
315
if ((error = vm_set_register(vcpu, VM_REG_GUEST_TR, 0)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
319
if ((error = vm_set_register(vcpu, VM_REG_GUEST_LDTR, 0)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
323
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RIP, rip)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
327
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CR3, cr3)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
337
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RSP, rsp)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
88
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CR0, cr0)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
91
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CR4, 0)) != 0)
lib/libvmmapi/amd64/vmmapi_freebsd_machdep.c
98
if ((error = vm_set_register(vcpu, VM_REG_GUEST_EFER, 0)))
lib/libvmmapi/amd64/vmmapi_machdep.c
431
error = vm_set_register(vcpu, VM_REG_GUEST_RFLAGS, rflags);
lib/libvmmapi/amd64/vmmapi_machdep.c
436
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RIP, rip)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
445
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CR0, cr0)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
448
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CR2, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
451
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CR3, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
455
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CR4, cr4)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
470
if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, sel)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
505
if ((error = vm_set_register(vcpu, VM_REG_GUEST_SS, sel)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
507
if ((error = vm_set_register(vcpu, VM_REG_GUEST_DS, sel)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
509
if ((error = vm_set_register(vcpu, VM_REG_GUEST_ES, sel)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
511
if ((error = vm_set_register(vcpu, VM_REG_GUEST_FS, sel)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
513
if ((error = vm_set_register(vcpu, VM_REG_GUEST_GS, sel)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
516
if ((error = vm_set_register(vcpu, VM_REG_GUEST_EFER, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
521
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RAX, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
523
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RBX, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
525
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RCX, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
527
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RDX, rdx)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
529
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RSI, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
531
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RDI, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
533
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RBP, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
535
if ((error = vm_set_register(vcpu, VM_REG_GUEST_RSP, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
537
if ((error = vm_set_register(vcpu, VM_REG_GUEST_R8, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
539
if ((error = vm_set_register(vcpu, VM_REG_GUEST_R9, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
541
if ((error = vm_set_register(vcpu, VM_REG_GUEST_R10, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
543
if ((error = vm_set_register(vcpu, VM_REG_GUEST_R11, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
545
if ((error = vm_set_register(vcpu, VM_REG_GUEST_R12, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
547
if ((error = vm_set_register(vcpu, VM_REG_GUEST_R13, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
549
if ((error = vm_set_register(vcpu, VM_REG_GUEST_R14, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
551
if ((error = vm_set_register(vcpu, VM_REG_GUEST_R15, zero)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
577
if ((error = vm_set_register(vcpu, VM_REG_GUEST_TR, sel)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
590
if ((error = vm_set_register(vcpu, VM_REG_GUEST_LDTR, 0)) != 0)
lib/libvmmapi/amd64/vmmapi_machdep.c
593
if ((error = vm_set_register(vcpu, VM_REG_GUEST_DR6,
lib/libvmmapi/amd64/vmmapi_machdep.c
596
if ((error = vm_set_register(vcpu, VM_REG_GUEST_DR7, 0x400)) !=
lib/libvmmapi/amd64/vmmapi_machdep.c
600
if ((error = vm_set_register(vcpu, VM_REG_GUEST_INTR_SHADOW,
lib/libvmmapi/vmmapi.h
155
int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
stand/userboot/userboot.h
220
int (*vm_set_register)(void *arg, int vcpu, int reg, uint64_t val);
sys/amd64/include/vmm.h
237
int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
sys/amd64/vmm/vmm.c
1485
error = vm_set_register(vcpu, VM_REG_GUEST_INTR_SHADOW, 0);
sys/amd64/vmm/vmm.c
1520
error = vm_set_register(vcpu, VM_REG_GUEST_CR2, cr2);
sys/amd64/vmm/vmm_instruction_emul.c
360
error = vm_set_register(vcpu, reg, val);
sys/amd64/vmm/vmm_instruction_emul.c
390
error = vm_set_register(vcpu, reg, val);
sys/amd64/vmm/vmm_ioport.c
139
error = vm_set_register(vcpu, VM_REG_GUEST_RAX,
sys/arm64/include/vmm.h
180
int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
sys/arm64/vmm/vmm_instruction_emul.c
66
error = vm_set_register(vcpu, vie->reg, val);
sys/arm64/vmm/vmm_instruction_emul.c
92
error = vm_set_register(vcpu, vre->reg, val);
sys/dev/vmm/vmm_dev.c
358
error = vm_set_register(vcpu, regnum[i], regval[i]);
sys/dev/vmm/vmm_dev.c
642
error = vm_set_register(vcpu, vmreg->regnum, vmreg->regval);
sys/riscv/include/vmm.h
159
int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
sys/riscv/vmm/vmm_instruction_emul.c
73
error = vm_set_register(vcpu, vie->reg, val);
sys/riscv/vmm/vmm_instruction_emul.c
99
error = vm_set_register(vcpu, vre->reg, val);
usr.sbin/bhyve/aarch64/bhyverun_machdep.c
398
error = vm_set_register(bsp, VM_REG_GUEST_PC, elr);
usr.sbin/bhyve/aarch64/bhyverun_machdep.c
441
error = vm_set_register(bsp, VM_REG_GUEST_X0, fdt_gpa(ctx));
usr.sbin/bhyve/aarch64/vmexit.c
233
error = vm_set_register(newvcpu, VM_REG_GUEST_X0,
usr.sbin/bhyve/aarch64/vmexit.c
238
error = vm_set_register(newvcpu, VM_REG_GUEST_PC,
usr.sbin/bhyve/aarch64/vmexit.c
263
error = vm_set_register(vcpu, VM_REG_GUEST_X0, smccc_rv);
usr.sbin/bhyve/amd64/inout.c
226
error = vm_set_register(vcpu, VM_REG_GUEST_RAX,
usr.sbin/bhyve/amd64/spinup_ap.c
56
error = vm_set_register(newcpu, VM_REG_GUEST_RIP, 0);
usr.sbin/bhyve/amd64/spinup_ap.c
69
error = vm_set_register(newcpu, VM_REG_GUEST_CS, cs);
usr.sbin/bhyve/amd64/task_switch.c
115
error = vm_set_register(vcpu, reg, val);
usr.sbin/bhyve/amd64/task_switch.c
880
error = vm_set_register(vcpu, VM_REG_GUEST_RIP, newtss.tss_eip);
usr.sbin/bhyve/amd64/vmexit.c
122
error = vm_set_register(vcpu, VM_REG_GUEST_RAX, eax);
usr.sbin/bhyve/amd64/vmexit.c
126
error = vm_set_register(vcpu, VM_REG_GUEST_RDX, edx);
usr.sbin/bhyve/amd64/vmexit.c
372
if (vm_set_register(vcpu, VM_REG_GUEST_RIP,
usr.sbin/bhyve/gdb.c
1121
vm_set_register(vcpu, GDB_PC_REGNAME, guest_pc(vmexit));
usr.sbin/bhyve/gdb.c
1146
error = vm_set_register(vcpu, VM_REG_GUEST_ENTRY_INST_LENGTH,
usr.sbin/bhyve/riscv/bhyverun_machdep.c
197
error = vm_set_register(vcpu, VM_REG_GUEST_A0, vcpu_id(vcpu));
usr.sbin/bhyve/riscv/bhyverun_machdep.c
324
error = vm_set_register(bsp, VM_REG_GUEST_SEPC, elr);
usr.sbin/bhyve/riscv/bhyverun_machdep.c
341
error = vm_set_register(bsp, VM_REG_GUEST_A1, fdt_gpa);
usr.sbin/bhyve/riscv/vmexit.c
202
error = vm_set_register(newvcpu, VM_REG_GUEST_A0, hart_id);
usr.sbin/bhyve/riscv/vmexit.c
206
error = vm_set_register(newvcpu, VM_REG_GUEST_SEPC,
usr.sbin/bhyve/riscv/vmexit.c
211
error = vm_set_register(newvcpu, VM_REG_GUEST_A1,
usr.sbin/bhyve/riscv/vmexit.c
273
error = vm_set_register(vcpu, VM_REG_GUEST_A1, val);
usr.sbin/bhyve/riscv/vmexit.c
338
error = vm_set_register(vcpu, VM_REG_GUEST_A0, ret);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1559
error = vm_set_register(vcpu, VM_REG_GUEST_EFER, set_efer_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1562
error = vm_set_register(vcpu, VM_REG_GUEST_CR0, set_cr0_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1565
error = vm_set_register(vcpu, VM_REG_GUEST_CR2, set_cr2_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1568
error = vm_set_register(vcpu, VM_REG_GUEST_CR3, set_cr3_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1571
error = vm_set_register(vcpu, VM_REG_GUEST_CR4, set_cr4_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1574
error = vm_set_register(vcpu, VM_REG_GUEST_DR0, set_dr0_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1577
error = vm_set_register(vcpu, VM_REG_GUEST_DR1, set_dr1_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1580
error = vm_set_register(vcpu, VM_REG_GUEST_DR2, set_dr2_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1583
error = vm_set_register(vcpu, VM_REG_GUEST_DR3, set_dr3_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1586
error = vm_set_register(vcpu, VM_REG_GUEST_DR6, set_dr6_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1589
error = vm_set_register(vcpu, VM_REG_GUEST_DR7, set_dr7_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1592
error = vm_set_register(vcpu, VM_REG_GUEST_RSP, set_rsp_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1595
error = vm_set_register(vcpu, VM_REG_GUEST_RIP, set_rip_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1598
error = vm_set_register(vcpu, VM_REG_GUEST_RAX, set_rax_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1601
error = vm_set_register(vcpu, VM_REG_GUEST_RFLAGS,
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1655
error = vm_set_register(vcpu, VM_REG_GUEST_CS, set_cs_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1658
error = vm_set_register(vcpu, VM_REG_GUEST_DS, set_ds_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1661
error = vm_set_register(vcpu, VM_REG_GUEST_ES, set_es_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1664
error = vm_set_register(vcpu, VM_REG_GUEST_FS, set_fs_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1667
error = vm_set_register(vcpu, VM_REG_GUEST_GS, set_gs_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1670
error = vm_set_register(vcpu, VM_REG_GUEST_SS, set_ss_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1673
error = vm_set_register(vcpu, VM_REG_GUEST_TR, set_tr_val);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1676
error = vm_set_register(vcpu, VM_REG_GUEST_LDTR, set_ldtr_val);
usr.sbin/bhyveload/bhyveload.c
435
error = vm_set_register(vcpu, vmreg, v);
usr.sbin/bhyveload/bhyveload.c
463
error = vm_set_register(vcpu, vmreg, v);
usr.sbin/bhyveload/bhyveload.c
498
error = vm_set_register(vcpu, vmreg, v);
usr.sbin/bhyveload/bhyveload.c
609
return (vm_set_register(vcpu, reg, val));
usr.sbin/bhyveload/bhyveload.c
676
.vm_set_register = cb_vm_set_register,