[PATCH 1/6] qemu: monitor: Drop old monitor fields from 'struct _qemuMonitorMessage'

Peter Krempa pkrempa at redhat.com
Mon Feb 14 15:58:02 UTC 2022


The fields are no longer used since we've deleted support for HMP-only
qemus. The HMP command pass-through works via a QMP command.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 src/qemu/qemu_monitor.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/qemu/qemu_monitor.h b/src/qemu/qemu_monitor.h
index 4c22394972..12005ac624 100644
--- a/src/qemu/qemu_monitor.h
+++ b/src/qemu/qemu_monitor.h
@@ -43,15 +43,10 @@ struct _qemuMonitorMessage {
     int txOffset;
     int txLength;

-    /* Used by the text monitor reply / error */
-    char *rxBuffer;
-    int rxLength;
     /* Used by the JSON monitor to hold reply / error */
     void *rxObject;

-    /* True if rxBuffer / rxObject are ready, or a
-     * fatal error occurred on the monitor channel
-     */
+    /* True if rxObject is ready, or a fatal error occurred on the monitor channel */
     bool finished;
 };

-- 
2.34.1




More information about the libvir-list mailing list