Re: [PATCH 0/4] KVM: x86: kvm_mwait_in_guest() cleanup and fixes

From: Gabriel L. Somlo
Date: Fri May 05 2017 - 09:03:03 EST


On Thu, May 04, 2017 at 08:07:15PM +0200, Radim KrÄmÃÅ wrote:
> 2017-05-04 13:56-0400, Gabriel L. Somlo:
> > If I wanted to test this (e.g. with OS X 10.8 guests on several of my older
> > Mac boxes running Fedora), which git repo would you have me use? (The series
> > won't apply directly on top of git://git.kernel.org/pub/scm/virt/kvm/kvm.git).
>
> The queue branch of that repo. This series depends on a patch that is
> applied there:
>
> 668fffa3f838 kvm: better MWAIT emulation for guests
>
> I forgot to mention that, sorry.

Thanks; right now, I get this:

# modprobe -v kvm-intel
insmod /lib/modules/4.11.0-rc3+/kernel/virt/lib/irqbypass.ko
insmod /lib/modules/4.11.0-rc3+/kernel/arch/x86/kvm/kvm.ko
insmod /lib/modules/4.11.0-rc3+/kernel/arch/x86/kvm/kvm-intel.ko
modprobe: ERROR: could not insert 'kvm_intel': Input/output error

but that appears to have nothing to do with the MWAIT patches. I'm
bisecting to find the root cause, but it's really slow...

I'll follow up when I know more... Thanks,
--Gabriel