• D
    Misc fixes to QMP monitor support for QEMU · 2c7f5ca6
    Daniel P. Berrange 提交于
    * src/util/json.c, src/util/json.h: Declare returned strings
      to be const
    * src/qemu/qemu_monitor.c: Wire up JSON mode for qemuMonitorGetPtyPaths
    * src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_json.h: Fix
      const correctness. Add missing error message in the function
      qemuMonitorJSONGetAllPCIAddresses. Add implementation of the
      qemuMonitorGetPtyPaths function calling 'query-chardev'.
    2c7f5ca6
json.c 24.3 KB