Searched refs:pvinfo (Results 1 – 1 of 1) sorted by relevance
737 static int kvm_vm_ioctl_get_pvinfo(struct kvm_ppc_pvinfo *pvinfo) in kvm_vm_ioctl_get_pvinfo() argument754 pvinfo->hcall[0] = inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask); in kvm_vm_ioctl_get_pvinfo()755 pvinfo->hcall[1] = inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask); in kvm_vm_ioctl_get_pvinfo()756 pvinfo->hcall[2] = inst_sc; in kvm_vm_ioctl_get_pvinfo()757 pvinfo->hcall[3] = inst_nop; in kvm_vm_ioctl_get_pvinfo()770 struct kvm_ppc_pvinfo pvinfo; in kvm_arch_vm_ioctl() local771 memset(&pvinfo, 0, sizeof(pvinfo)); in kvm_arch_vm_ioctl()772 r = kvm_vm_ioctl_get_pvinfo(&pvinfo); in kvm_arch_vm_ioctl()773 if (copy_to_user(argp, &pvinfo, sizeof(pvinfo))) { in kvm_arch_vm_ioctl()