On a Thursday in 2021, Peter Krempa wrote:
Optimize the number of string copies by using the virBuffers in the callers directly. Simplest way to achieve this is to just open code the one function call 'virQEMUBuildDriveCommandlineFromJSON' was wrapping in the two callers.Signed-off-by: Peter Krempa <[email protected]> --- src/libvirt_private.syms | 1 - src/qemu/qemu_command.c | 13 +++++++------ src/util/virqemu.c | 13 ------------- src/util/virqemu.h | 2 -- 4 files changed, 7 insertions(+), 22 deletions(-)
Reviewed-by: Ján Tomko <[email protected]> Jano
signature.asc
Description: PGP signature
