]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_command: Prefer virBufferAddLit() in qemuBuildCpuHypervCommandLine()
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 29 Sep 2025 11:50:18 +0000 (13:50 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Oct 2025 08:04:11 +0000 (10:04 +0200)
commitc66bbac8d56df24674ab15202e4b5611766524d7
tree744284a654ca2d65801ab93a9f2753310fe382e0
parent8b316fac497dc2a121788fef9d91b22bfd4e343c
qemu_command: Prefer virBufferAddLit() in qemuBuildCpuHypervCommandLine()

Using virBufferAsprintf() just to concatenate two literal strings
is excessive. Use virBufferAddLit().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c