[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1305011606461.8804@chino.kir.corp.google.com>
Date:	Wed, 1 May 2013 16:16:40 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Borislav Petkov <bp@...en8.de>
cc:	Ingo Molnar <mingo@...nel.org>, "H. Peter Anvin" <hpa@...or.com>,
	linux-kernel@...r.kernel.org, Pekka Enberg <penberg@...nel.org>,
	levinsasha928@...il.com, mtosatti@...hat.com, tglx@...utronix.de,
	Borislav Petkov <bp@...e.de>, fengguang.wu@...el.com,
	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/urgent] x86/kconfig:  Add a Kconfig shortcut for building
 working KVM guest kernels
On Thu, 2 May 2013, Borislav Petkov wrote:
> > It means your patch is incomplete.
> 
> I'll gladly test and ack a patch which makes it complete.
> 
> Simple exercises in rhetoric about what does and what doesn't make sense
> means a rat's ass to me. You need to show me a *real* use case which you
> *actually* hit and this patch breaks it.
> 
What makes sense = a build that works.
You reported the breakage yourself:
arch/x86/built-in.o:(.data+0x2a0): undefined reference to `native_setup_msi_irqs'
arch/x86/built-in.o:(.data+0x2a8): undefined reference to `native_teardown_msi_irq'
That's because of this:
warning: (KVM_GUEST_COMMON_OPTIONS && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
So you're missing CONFIG_X86_LOCAL_APIC and/or CONFIG_X86_IO_APIC, as 
already stated.  Those are strict requirements for your 
CONFIG_KVM_GUEST_COMMON_OPTIONS to build.  I suggest depending on them, 
most configs already have them.
You'll probably also want to depend on NET_CORE since it requires that as 
well.
That would probably make your patch complete.  Ingo does a lot of 
randconfig testing himself, so he'll probably run into these same issues, 
I don't think the "aww, shucks, that config doesn't make sense, we can 
allow the build to break" excuse will work too well.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
