Lines Matching refs:vmcap
1215 struct vm_capability vmcap; in vm_get_capability() local
1217 bzero(&vmcap, sizeof(vmcap)); in vm_get_capability()
1218 vmcap.cpuid = vcpu->vcpuid; in vm_get_capability()
1219 vmcap.captype = cap; in vm_get_capability()
1221 error = vcpu_ioctl(vcpu, VM_GET_CAPABILITY, &vmcap); in vm_get_capability()
1222 *retval = vmcap.capval; in vm_get_capability()
1229 struct vm_capability vmcap; in vm_set_capability() local
1231 bzero(&vmcap, sizeof(vmcap)); in vm_set_capability()
1232 vmcap.cpuid = vcpu->vcpuid; in vm_set_capability()
1233 vmcap.captype = cap; in vm_set_capability()
1234 vmcap.capval = val; in vm_set_capability()
1236 return (vcpu_ioctl(vcpu, VM_SET_CAPABILITY, &vmcap)); in vm_set_capability()