Skip to content
  • Peter Xu's avatar
    e3e977d4
    monitor: let suspend/resume work even with QMPs · e3e977d4
    Peter Xu authored
    
    
    This patches allows QMP monitors to be suspended/resumed.
    
    One thing to mention is that for QMPs that are using IOThreads, we need
    an explicit kick for the IOThread in case it is sleeping.
    
    Meanwhile, we need to take special care on non-interactive HMPs.
    Currently only gdbserver is using that.  For these monitors, we still
    don't allow suspend/resume operations.
    
    Since at it, add traces for the operations.
    
    Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
    Message-Id: <20180309090006.10018-14-peterx@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    e3e977d4
    monitor: let suspend/resume work even with QMPs
    Peter Xu authored
    
    
    This patches allows QMP monitors to be suspended/resumed.
    
    One thing to mention is that for QMPs that are using IOThreads, we need
    an explicit kick for the IOThread in case it is sleeping.
    
    Meanwhile, we need to take special care on non-interactive HMPs.
    Currently only gdbserver is using that.  For these monitors, we still
    don't allow suspend/resume operations.
    
    Since at it, add traces for the operations.
    
    Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
    Message-Id: <20180309090006.10018-14-peterx@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
Loading