]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add support for setting host-phys-bits-limit
authorJán Tomko <jtomko@redhat.com>
Wed, 1 Mar 2023 11:31:41 +0000 (12:31 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 25 Apr 2023 09:19:37 +0000 (11:19 +0200)
commite3d95a1eba78f2b797dbdce7d8bd604a8e004961
tree00c6e3f9385cefd1f2a5263fb9e79756abbf5b0e
parentd6fbb21210521dca5db806ed38faed26832a3747
qemu: add support for setting host-phys-bits-limit

Translate <maxphysaddr limit='39'/> to:
host-phys-bits-limit=39

https://gitlab.com/libvirt/libvirt/-/issues/450
https://bugzilla.redhat.com/show_bug.cgi?id=2171860

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/cpu-phys-bits-limit.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvtest.c