/freebsd-10-stable/lib/libvmmapi/ |
H A D | vmmapi_freebsd.c | 90 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR0, cr0)) != 0) 93 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR4, 0)) != 0) 100 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_EFER, 0))) 119 error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_RFLAGS, rflags); 170 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CS, gsel)) != 0) 174 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_DS, gsel)) != 0) 177 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_ES, gsel)) != 0) 180 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_FS, gsel)) != 0) 183 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_GS, gsel)) != 0) 186 if ((error = vm_set_register(vmct [all...] |
H A D | vmmapi.c | 560 vm_set_register(struct vmctx *ctx, int vcpu, int reg, uint64_t val) function 1005 error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_RFLAGS, rflags); 1010 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_RIP, rip)) != 0) 1014 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR0, cr0)) != 0) 1017 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR3, zero)) != 0) 1021 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR4, cr4)) != 0) 1036 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CS, sel)) != 0) 1071 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_SS, sel)) != 0) 1073 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_DS, sel)) != 0) 1075 if ((error = vm_set_register(vmct [all...] |
H A D | vmmapi.h | 125 int vm_set_register(struct vmctx *ctx, int vcpu, int reg, uint64_t val);
|
/freebsd-10-stable/usr.sbin/bhyve/ |
H A D | spinup_ap.c | 60 error = vm_set_register(ctx, newcpu, VM_REG_GUEST_RIP, *rip); 73 error = vm_set_register(ctx, newcpu, VM_REG_GUEST_CS, cs);
|
H A D | bhyverun.c | 360 error = vm_set_register(ctx, *pvcpu, VM_REG_GUEST_RAX, eax); 364 error = vm_set_register(ctx, *pvcpu, VM_REG_GUEST_RDX, edx); 612 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RIP, startrip);
|
H A D | inout.c | 228 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RAX,
|
H A D | task_switch.c | 116 error = vm_set_register(ctx, vcpu, reg, val); 878 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RIP, newtss.tss_eip);
|
/freebsd-10-stable/usr.sbin/bhyvectl/ |
H A D | bhyvectl.c | 513 return (vm_set_register(ctx, vcpu, VMCS_IDENT(field), val)); 529 return (vm_set_register(ctx, vcpu, VMCB_ACCESS(off, bytes), val)); 1786 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_EFER, efer); 1789 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR0, cr0); 1792 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR3, cr3); 1795 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR4, cr4); 1798 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_DR7, dr7); 1801 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RSP, rsp); 1804 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RIP, rip); 1807 error = vm_set_register(ct [all...] |
/freebsd-10-stable/sys/amd64/vmm/ |
H A D | vmm_ioport.c | 139 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_RAX,
|
H A D | vmm.c | 971 vm_set_register(struct vm *vm, int vcpuid, int reg, uint64_t val) function 1983 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_INTR_SHADOW, 0); 2023 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_CR2, cr2); 2024 KASSERT(error == 0, ("vm_set_register(cr2) error %d", error));
|
H A D | vmm_instruction_emul.c | 331 error = vm_set_register(vm, vcpuid, reg, val); 361 error = vm_set_register(vm, vcpuid, reg, val);
|
H A D | vmm_dev.c | 532 error = vm_set_register(sc->vm, vmreg->cpuid, vmreg->regnum,
|
/freebsd-10-stable/usr.sbin/bhyveload/ |
H A D | bhyveload.c | 384 error = vm_set_register(ctx, BSP, vmreg, v); 386 perror("vm_set_register"); 412 error = vm_set_register(ctx, BSP, vmreg, v); 447 error = vm_set_register(ctx, BSP, vmreg, v);
|
/freebsd-10-stable/sys/amd64/include/ |
H A D | vmm.h | 205 int vm_set_register(struct vm *vm, int vcpu, int reg, uint64_t val);
|