On Wed, Jan 17, 2024 at 10:54:51 +0100, Andrea Bolognani wrote:
The current defaults, that can be altered on a per-architecture
basis, are derived by the historical x86 behavior.
Every time support for a new architecture is added to libvirt,
care must be taken to override these default: if that doesn't
happen, all guests will end up with additional hardware which
is generally not wanted.
Turn things around, and require architectures to explicitly
ask for the devices to be created by default instead. The
behavior for existing architectures is preserved.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
src/qemu/qemu_domain.c | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>