On 03/07/2012 04:31 PM, Stuart Yoder wrote:
> @@ -888,6 +891,10 @@ out:
>
> static int kvm_vm_ioctl_get_pvinfo(struct kvm_ppc_pvinfo *pvinfo)
> {
> +#ifdef CONFIG_KVM_BOOKE_HV
> + u32 inst_sc1 = 0x44000022;
> + pvinfo->hcall[0] = inst_sc1;
> +#else
> u32 inst_lis = 0x3c000000;
> u32 inst_ori = 0x60000000;
> u32 inst_nop = 0x60000000;
> @@ -907,6 +914,9 @@ static int kvm_vm_ioctl_get_pvinfo(struct kvm_ppc_pvinfo *pvinfo)
> pvinfo->hcall[1] = inst_ori | (KVM_SC_MAGIC_R0 & inst_imm_mask);
> pvinfo->hcall[2] = inst_sc;
> pvinfo->hcall[3] = inst_nop;
> +#endif
Need to pad the rest of the array with nops.
-Scott
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[KVM Development]
[KVM ARM]
[KVM ia64]
[Linux USB Devel]
[Linux Video]
[Linux Audio Users]
[Photo]
[Video Projectors]
[PDAs]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Big List of Linux Books]