Re: [PATCH v2 00/21] hw/vfio: Build various objects once

2025-03-15 Thread Philippe Mathieu-Daudé
On 10/3/25 09:03, Cédric Le Goater wrote: On 3/9/25 00:08, Philippe Mathieu-Daudé wrote: By doing the following changes: - Clean some headers up - Replace compile-time CONFIG_KVM check by kvm_enabled() - Replace compile-time CONFIG_IOMMUFD check by iommufd_builtin() we can build less vfio object

Re: [PATCH v2 00/21] hw/vfio: Build various objects once

2025-03-11 Thread Cédric Le Goater
On 3/9/25 00:08, Philippe Mathieu-Daudé wrote: By doing the following changes: - Clean some headers up - Replace compile-time CONFIG_KVM check by kvm_enabled() - Replace compile-time CONFIG_IOMMUFD check by iommufd_builtin() we can build less vfio objects. Since v1: - Added R-b tags - Introduce

Re: [PATCH v2 00/21] hw/vfio: Build various objects once

2025-03-10 Thread Cédric Le Goater
On 3/9/25 00:08, Philippe Mathieu-Daudé wrote: By doing the following changes: - Clean some headers up - Replace compile-time CONFIG_KVM check by kvm_enabled() - Replace compile-time CONFIG_IOMMUFD check by iommufd_builtin() we can build less vfio objects. Since v1: - Added R-b tags - Introduce

[PATCH v2 00/21] hw/vfio: Build various objects once

2025-03-08 Thread Philippe Mathieu-Daudé
By doing the following changes: - Clean some headers up - Replace compile-time CONFIG_KVM check by kvm_enabled() - Replace compile-time CONFIG_IOMMUFD check by iommufd_builtin() we can build less vfio objects. Since v1: - Added R-b tags - Introduce type_is_registered() - Split builtin check VS mes