Re: [kvm-unit-tests PATCH v2 00/14] ppc64: initial drop

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

 



On Fri, Feb 12, 2016 at 02:44:20PM +0100, Andrew Jones wrote:
> On Fri, Feb 12, 2016 at 11:57:51AM +0100, Andrew Jones wrote:
> > On Fri, Feb 12, 2016 at 11:31:32AM +0100, Laurent Vivier wrote:
> > > I have nothing at all. It hangs.
> > 
> > Damn. I'll need to get a machine where the problems reproduce to debug.
> 
> I got a machine, an lpar, so using kvm_pr. I immediately hit a problem.
> Hung, no output. I was hitting the assert you found earlier, due to
> assuming a single memory region. The lack of output and rtas-poweroff were
> due to 'sc 1' being broken on this machine. I can fix that by patching
> like SLOF does, see [*]. Although I'm not 100% sure how I want to approach
> it yet.

I'm guessing your test machine was a PowerVM LPAR rather than a KVM
LPAR.  If you can find a KVM LPAR (IBM host or RHEV host, doesn't
matter) things should work better.  KVM includes a hack for this
situation:  an sc 1 coming from guest usermode is redirected to the
guest kernel, instead of immediately returning H_PRIVILEGE, which
allows the L0 guest / L1 host's kvm_pr to handle it.

> There are enough things to fix now that I should probably spin another
> version before you bother retesting on the PowerMac. I'll pull something
> together soon.
> 
> Thanks,
> drew
> 
> [*] http://git.qemu-project.org/?p=SLOF.git;a=patch;h=dd53579ae82bed0654dd3e4b3052ef2cac58b5f4
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux