[PATCH 0/6] qemuBuildHostNetProps: Properly handle unsupported netdevs and remove virJSONValueObjectAppendStringPrintf

Peter Krempa pkrempa at redhat.com
Mon Mar 6 09:20:29 UTC 2023


First patch fixes a crasher if unsupported network device is used and
subsequently virJSONValueObjectAppendStringPrintf is removed.

Peter Krempa (6):
  qemuBuildHostNetProps: Report proper errors for unhandled interface
    types
  qemuBuildHostNetProps: Don't use virJSONValueObjectAppendStringPrintf
    to format address
  qemuBuildChannelGuestfwdNetdevProps: Don't use
    virJSONValueObjectAppendStringPrintf
  qemuBuildHostNetProps: Append ipv6 address using virJSONValueObjectAdd
  qemuBuildHostNetProps: Append aliases without
    virJSONValueObjectAppendStringPrintf
  util: json: Remove unused virJSONValueObjectAppendStringPrintf

 src/libvirt_private.syms |   1 -
 src/qemu/qemu_command.c  | 113 +++++++++++++++++++++++++--------------
 src/util/virjson.c       |  17 ------
 src/util/virjson.h       |   6 ---
 4 files changed, 74 insertions(+), 63 deletions(-)

-- 
2.39.2



More information about the libvir-list mailing list