Re: [PATCH 4/7] hw/virtio/virtio-mem: Remove CONFIG_DEVICES include

2025-03-07 Thread Pierrick Bouvier
On 3/7/25 07:15, Philippe Mathieu-Daudé wrote: Rather than checking ACPI availability at compile time by checking the CONFIG_ACPI definition from CONFIG_DEVICES, check at runtime via acpi_builtin(). Signed-off-by: Philippe Mathieu-Daudé --- hw/virtio/virtio-mem.c | 6 ++ 1 file changed,

Re: [PATCH 4/7] hw/virtio/virtio-mem: Remove CONFIG_DEVICES include

2025-03-07 Thread David Hildenbrand
On 07.03.25 16:15, Philippe Mathieu-Daudé wrote: Rather than checking ACPI availability at compile time by checking the CONFIG_ACPI definition from CONFIG_DEVICES, check at runtime via acpi_builtin(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: David Hildenbrand -- Cheers, David / d

[PATCH 4/7] hw/virtio/virtio-mem: Remove CONFIG_DEVICES include

2025-03-07 Thread Philippe Mathieu-Daudé
Rather than checking ACPI availability at compile time by checking the CONFIG_ACPI definition from CONFIG_DEVICES, check at runtime via acpi_builtin(). Signed-off-by: Philippe Mathieu-Daudé --- hw/virtio/virtio-mem.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/vi