On 20/5/26 23:49, Marc-André Lureau wrote:
mon_cpu_path and reset_seen are only used by HMP monitors; move them
from the base Monitor struct into MonitorHMP to properly encapsulate
HMP-specific state.

Signed-off-by: Marc-André Lureau <[email protected]>
---
  monitor/monitor-internal.h |  4 ++--
  monitor/hmp-cmds.c         | 17 ++++++++++-------
  monitor/hmp.c              |  5 +++--
  monitor/monitor.c          | 16 +++++++++++-----
  4 files changed, 26 insertions(+), 16 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to