On Fri, 25 Jan 2019 11:07:06 +0100 Paolo Bonzini <pbonz...@redhat.com> wrote:
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > hw/vfio/Kconfig | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) > > diff --git a/hw/vfio/Kconfig b/hw/vfio/Kconfig > index f896779..ebda9fd 100644 > --- a/hw/vfio/Kconfig > +++ b/hw/vfio/Kconfig > @@ -7,28 +7,30 @@ config VFIO_PCI > select VFIO > depends on LINUX > > -config VFIO_SPAPR > - bool > - default y > - depends on VFIO && LINUX && PSERIES I can't say I really understand what happened with this through the course of the series. In patch 27 spapr.o became obj-y, VFIO_SPAPR came about in patch 32, tweaked in patch 33, then removed in 47. I was really hoping the Makefile was going to reflect this as a config option so we could follow-up with some patches to stub or ifdef out the dependencies. The remainder here seems to set the right precedent and we can add VFIO_SPAPR back later and wire it through the Makefile. Unfortunately with the full series applied I'm not able to make either allnoconfig or defconfig: $ make allnoconfig GEN x86_64-softmmu/config-devices.mak.tmp GEN x86_64-softmmu/config-devices.mak GEN config-all-devices.mak CHK version_gen.h CHK version_gen.h rm */config-devices.mak config-all-devices.mak make MINIKCONF="python -B /home/alwillia/Work/qemu.git/scripts/minikconf.py --" config-all-devices.mak make[1]: Entering directory '/home/alwillia/Work/qemu.git' GEN x86_64-softmmu/config-devices.mak.tmp /home/alwillia/Work/qemu.git/scripts/minikconf.py: invalid option -- CHK version_gen.h make[1]: *** No rule to make target 'x86_64-softmmu/config-devices.mak', needed by 'config-all-devices.mak'. Stop. make[1]: Leaving directory '/home/alwillia/Work/qemu.git' make: *** [Makefile:346: allnoconfig] Error 2 Something wrong with this expansion from patch 34 I guess: .PHONY: allnoconfig defconfig allnoconfig defconfig: rm */config-devices.mak config-all-devices.mak $(MAKE) MINIKCONF="$(MINIKCONF) --$<" config-all-devices.mak Thanks, Alex > - > config VFIO_CCW > bool > + default y > select VFIO > - depends on LINUX > + depends on LINUX && S390_CCW_VIRTIO > > config VFIO_PLATFORM > bool > + default y > select VFIO > - depends on LINUX > + depends on LINUX && PLATFORM_BUS > > config VFIO_XGMAC > bool > + default y > + depends on VFIO_PLATFORM > > config VFIO_AMD_XGBE > bool > + default y > + depends on VFIO_PLATFORM > > config VFIO_AP > bool > + default y > select VFIO > - depends on LINUX > + depends on LINUX && S390_CCW_VIRTIO