Lines Matching refs:vmreg
854 struct vm_register vmreg; in vm_set_register() local
856 bzero(&vmreg, sizeof(vmreg)); in vm_set_register()
857 vmreg.cpuid = vcpu->vcpuid; in vm_set_register()
858 vmreg.regnum = reg; in vm_set_register()
859 vmreg.regval = val; in vm_set_register()
861 error = vcpu_ioctl(vcpu, VM_SET_REGISTER, &vmreg); in vm_set_register()
869 struct vm_register vmreg; in vm_get_register() local
871 bzero(&vmreg, sizeof(vmreg)); in vm_get_register()
872 vmreg.cpuid = vcpu->vcpuid; in vm_get_register()
873 vmreg.regnum = reg; in vm_get_register()
875 error = vcpu_ioctl(vcpu, VM_GET_REGISTER, &vmreg); in vm_get_register()
876 *ret_val = vmreg.regval; in vm_get_register()