mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
QEMU version 2.12.1 introduced a performance feature under commit be7773268d98 ("target-i386: add KVM_HINTS_DEDICATED performance hint"). Support for this performance hint was added in libvirt 5.7.0 by commit cb12c59dac04 ("qemu: support for kvm-hint-dedicated performance hint"). This patch extends virt-install's existing --features option to insert the appropriate XML into the guest definition if this feature is specified on the command line. E.g. --features='kvm.hint-dedicated.state=on' would result in the following XML: <features> ... <kvm> <hint-dedicated state='on'/> </kvm> ... </features> Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Menno Lageman <menno.lageman@oracle.com>