]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/virtio: Use CONFIG_VIRTIO_PCI switch instead of CONFIG_PCI
authorThomas Huth <thuth@redhat.com>
Fri, 25 Jan 2019 12:56:00 +0000 (13:56 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Feb 2019 15:58:33 +0000 (10:58 -0500)
commit87593a4751c89993896ea534c59a9488d7963ae9
tree631a8b6e7f89117980ed055f3ed7f3df3de8f6d4
parentcaa1ee43131c060347b32893abd41fe4865eaa2e
hw/virtio: Use CONFIG_VIRTIO_PCI switch instead of CONFIG_PCI

For downstream s390x builds, we'd like to be able to build QEMU with
CONFIG_VIRTIO_PCI disabled (since virtio-ccw is used here instead),
but still with CONFIG_PCI enabled. This currently fails since the
virtio-*-pci.o files are still included in the build, but virtio-pci.o
is missing. Use the right config switch CONFIG_VIRTIO_PCI to exclude
the virtio-*-pci.o files from the build.

Reported-by: Miroslav Rezanina <mrezanin@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/Makefile.objs