]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: monitor: Drop old monitor fields from 'struct _qemuMonitorMessage'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 14 Feb 2022 15:02:29 +0000 (16:02 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Feb 2022 08:32:23 +0000 (09:32 +0100)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor.h

index 4c22394972b2b3e56534f3aa198b58e61508458a..12005ac624be3194766fade1627752d2d63715dd 100644 (file)
@@ -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;
 };