Lines Matching defs:vrwp
523 * vrwp: Describes the VM and VCPU to get/set the params from
577 * vrwp: Describes the VM and VCPU to get/set the registers from. The
583 * ENOENT: if the VM/VCPU defined by 'vrwp' cannot be found
588 vm_rwregs(struct vm_rwregs_params *vrwp, int dir)
592 struct vcpu_reg_state *vrs = &vrwp->vrwp_regs;
596 error = vm_find(vrwp->vrwp_vm_id, &vm);
602 vcpu = vm_find_vcpu(vm, vrwp->vrwp_vcpu_id);
612 vcpu_readregs_vmx(vcpu, vrwp->vrwp_mask, 1, vrs) :
613 vcpu_writeregs_vmx(vcpu, vrwp->vrwp_mask, 1, vrs);
616 vcpu_readregs_svm(vcpu, vrwp->vrwp_mask, vrs) :
617 vcpu_writeregs_svm(vcpu, vrwp->vrwp_mask, vrs);