Re: Trouble with Qemu KVM Call Kernel for OS X( 7447a ).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 29, 2018 at 06:43:38PM -0500, James Lyons wrote:
> I’m trying to track down an issue with Qemu-PPC and KVM.
> 
> Likely it’s just some code that needs cleaned up in qemu, but I’m unsure where.
> 
> When I try to boot OS X in qemu-system-ppc with -enable-kvm -cpu host Apple’s BootX hangs at Call Kernel!
> 
> I’m using a PowerBook6,8 with a 7447a v1.5 and Kernel 4.4.111.
> 
> When BootX hangs, I get this in dmesg:
> 
> kvmppc_handle_exit_pr: emulation at 92808 failed ( 7dbafaa6 )

7dbaffa6 is mfspr r13,1018, and SPR 1018 on the 7447A is L3CR, the
level 3 cache control register.  The boot code is presumably wanting
to do something to the L3 cache configuration.

> Can anyone help explain what this error means, so I can figure out what it triggering it, and hopefully fix the issue.

You could try adding code to kvmppc_core_emulate_mfspr_pr() and
kvmppc_core_emulate_mtspr_pr() to implement it as a dummy SPR that
ignores writes and returns zero when read.  That should work unless
the BootX code does something like waiting for some bit to come back
as a 1.

Paul.
--
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



[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux