29 Oct
2025
29 Oct
'25
9:41 a.m.
On Wed, Oct 29, 2025 at 08:53:04 +0100, Michal Privoznik wrote:
From: Michal Privoznik <mprivozn@redhat.com>
Instead of having these big switch()-es that enumerate all memory models (but act only on virtio models), let's use virDomainMemoryIsVirtioModel() helper instead.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> --- src/qemu/qemu_domain_address.c | 44 +++++++--------------------------- 1 file changed, 9 insertions(+), 35 deletions(-)
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>