On 3/29/19 9:33 AM, Peter Krempa wrote:
Use virJSONValueToBuffer so that we can append the command terminator
string without copying of the string again. Also avoid a 'strlen' as we
can query the buffer use size.
Signed-off-by: Peter Krempa
Reviewed-by: Laine Stump
---
src/qemu/qemu_mo
Use virJSONValueToBuffer so that we can append the command terminator
string without copying of the string again. Also avoid a 'strlen' as we
can query the buffer use size.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_monitor_json.c | 13 -
1 file changed, 8 insertions(+), 5 deletio