[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 07/21] hw/vfio: Compile display.c once
From: |
Eric Auger |
Subject: |
Re: [PATCH v2 07/21] hw/vfio: Compile display.c once |
Date: |
Mon, 10 Mar 2025 09:29:22 +0100 |
User-agent: |
Mozilla Thunderbird |
On 3/9/25 12:09 AM, Philippe Mathieu-Daudé wrote:
> display.c doesn't rely on target specific definitions,
> move it to system_ss[] to build it once.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
> Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Eric
> ---
> hw/vfio/meson.build | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/hw/vfio/meson.build b/hw/vfio/meson.build
> index 5c9ec7e8971..a8939c83865 100644
> --- a/hw/vfio/meson.build
> +++ b/hw/vfio/meson.build
> @@ -5,7 +5,6 @@ vfio_ss.add(files(
> ))
> vfio_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr.c'))
> vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
> - 'display.c',
> 'pci-quirks.c',
> 'pci.c',
> ))
> @@ -28,3 +27,6 @@ system_ss.add(when: 'CONFIG_VFIO', if_true: files(
> system_ss.add(when: ['CONFIG_VFIO', 'CONFIG_IOMMUFD'], if_true: files(
> 'iommufd.c',
> ))
> +system_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files(
> + 'display.c',
> +))
- Re: [PATCH v2 03/21] hw/vfio: Compile some common objects once, (continued)
- [PATCH v2 02/21] hw/vfio/spapr: Do not include <linux/kvm.h>, Philippe Mathieu-Daudé, 2025/03/08
- [PATCH v2 05/21] hw/vfio: Compile iommufd.c once, Philippe Mathieu-Daudé, 2025/03/08
- [PATCH v2 04/21] hw/vfio: Compile more objects once, Philippe Mathieu-Daudé, 2025/03/08
- [PATCH v2 06/21] system: Declare qemu_[min/max]rampagesize() in 'system/hostmem.h', Philippe Mathieu-Daudé, 2025/03/08
- [PATCH v2 07/21] hw/vfio: Compile display.c once, Philippe Mathieu-Daudé, 2025/03/08
- Re: [PATCH v2 07/21] hw/vfio: Compile display.c once,
Eric Auger <=
- [PATCH v2 08/21] system/kvm: Expose kvm_irqchip_[add, remove]_change_notifier(), Philippe Mathieu-Daudé, 2025/03/08
- [PATCH v2 09/21] hw/vfio/pci: Convert CONFIG_KVM check to runtime one, Philippe Mathieu-Daudé, 2025/03/08
- [PATCH v2 10/21] qom: Introduce type_is_registered(), Philippe Mathieu-Daudé, 2025/03/08