]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Include maximum physical address size in baseline CPU
authorJiri Denemark <jdenemar@redhat.com>
Fri, 9 Jun 2023 16:12:53 +0000 (18:12 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 16 Jun 2023 10:44:54 +0000 (12:44 +0200)
commitce6d1dca6d9720e6dcb4e74a84550c2326a7c494
treeb039020ac6c07ac32bd2708dbbb4dc25bd775445
parentbe1b7d5b18e69a7000b93dad92d05105709afc43
qemu: Include maximum physical address size in baseline CPU

The current implementation of virConnectBaselineHypervisorCPU in QEMU
driver can provide a CPU definition that will not work on all hosts in
case they have different maximum physical address size. So when we get
the info from domain capabilities, we need to choose the smallest
physical address size for the computed baseline CPU definition.

https://bugzilla.redhat.com/show_bug.cgi?id=2171860

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c