From: Peter Krempa Date: Mon, 14 Feb 2022 15:02:29 +0000 (+0100) Subject: qemu: monitor: Drop old monitor fields from 'struct _qemuMonitorMessage' X-Git-Tag: v8.1.0-rc1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5eb99a9d9af8683789e99cc904671e343580058;p=thirdparty%2Flibvirt.git qemu: monitor: Drop old monitor fields from 'struct _qemuMonitorMessage' 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 Reviewed-by: Ján Tomko --- 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; };