
17 Jan
2024
17 Jan
'24
1:40 p.m.
On Wed, Jan 17, 2024 at 10:54:44 +0100, Andrea Bolognani wrote:
The way the function is currently written sort of obscures this fact, but ultimately we already unconditionally assume PCI support on most architectures.
Arm and RISC-V need some additional checks to maintain compatibility with existing configurations but for all future architectures, such as the upcoming LoongArch64, we expect PCI support to come out of the box.
Last but not least, the functions is made const-correct.
Signed-off-by: Andrea Bolognani <abologna@redhat.com> --- src/qemu/qemu_domain.c | 31 ++++++++++++++++++------------- src/qemu/qemu_domain.h | 2 +- 2 files changed, 19 insertions(+), 14 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>