]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Default to no USB and no memballoon for new architectures
authorAndrea Bolognani <abologna@redhat.com>
Tue, 16 Jan 2024 18:14:56 +0000 (19:14 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 30 Jan 2024 09:58:13 +0000 (10:58 +0100)
commitd583ff601f9f1906b46b5dd38236cdf1aec821ef
tree581c32298838ac0812e3efa6322d3a740bce4d8c
parent95e54bce7d4f90b6f088be6e09876d18d9cfc67c
qemu: Default to no USB and no memballoon for new architectures

The current defaults, that can be altered on a per-architecture
basis, are derived from 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, guests will end up with additional hardware, which is
something that's generally undesirable.

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@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_domain.c