[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 47/52] vfio: express vfio dependencies with Kcon
From: |
Alex Williamson |
Subject: |
Re: [Qemu-devel] [PATCH 47/52] vfio: express vfio dependencies with Kconfig |
Date: |
Fri, 25 Jan 2019 13:00:54 -0700 |
On Fri, 25 Jan 2019 11:07:06 +0100
Paolo Bonzini <address@hidden> wrote:
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> 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
- [Qemu-devel] [PATCH 40/52] scsi: express dependencies with Kconfig, (continued)
- [Qemu-devel] [PATCH 40/52] scsi: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 39/52] build: convert usb.mak to Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 43/52] i2c: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 46/52] hyperv: express dependencies with kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 48/52] virtio: express virtio dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 49/52] tpm: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 38/52] build: convert sound.mak to Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 36/52] hw/pci/Makefile.objs: make pcie configurable, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 32/52] kconfig: introduce kconfig files, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 47/52] vfio: express vfio dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- Re: [Qemu-devel] [PATCH 47/52] vfio: express vfio dependencies with Kconfig,
Alex Williamson <=
- [Qemu-devel] [PATCH 44/52] ptimer: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 45/52] display: express dependencies with kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 42/52] i386: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 37/52] build: convert pci.mak to Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 51/52] i386-softmmu.mak: remove all CONFIG_* except boards definitions, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 41/52] isa: express dependencies with kconfig, Paolo Bonzini, 2019/01/25