Home
last modified time | relevance | path

Searched refs:pvinfo (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/arch/powerpc/kvm/
Dpowerpc.c572 static int kvm_vm_ioctl_get_pvinfo(struct kvm_ppc_pvinfo *pvinfo) in kvm_vm_ioctl_get_pvinfo() argument
589 pvinfo->hcall[0] = inst_lis | ((KVM_SC_MAGIC_R0 >> 16) & inst_imm_mask); in kvm_vm_ioctl_get_pvinfo()
590 pvinfo->hcall[1] = inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask); in kvm_vm_ioctl_get_pvinfo()
591 pvinfo->hcall[2] = inst_sc; in kvm_vm_ioctl_get_pvinfo()
592 pvinfo->hcall[3] = inst_nop; in kvm_vm_ioctl_get_pvinfo()
605 struct kvm_ppc_pvinfo pvinfo; in kvm_arch_vm_ioctl() local
606 memset(&pvinfo, 0, sizeof(pvinfo)); in kvm_arch_vm_ioctl()
607 r = kvm_vm_ioctl_get_pvinfo(&pvinfo); in kvm_arch_vm_ioctl()
608 if (copy_to_user(argp, &pvinfo, sizeof(pvinfo))) { in kvm_arch_vm_ioctl()