Skip to content
  • Markus Armbruster's avatar
    7de0be65
    monitor: Throttle event VSERPORT_CHANGE separately by "id" · 7de0be65
    Markus Armbruster authored
    
    
    VSERPORT_CHANGE is emitted when the guest opens or closes a
    virtio-serial port.  The event's member "id" identifies the port.
    
    When several events arrive quickly, throttling drops all but the last
    of them.  Because of that, a QMP client must assume that *any* port
    may have changed state when it receives a VSERPORT_CHANGE event and
    throttling may have happened.
    
    Make the event more useful by throttling it for each port separately.
    
    Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    Message-Id: <1444921716-9511-7-git-send-email-armbru@redhat.com>
    7de0be65
    monitor: Throttle event VSERPORT_CHANGE separately by "id"
    Markus Armbruster authored
    
    
    VSERPORT_CHANGE is emitted when the guest opens or closes a
    virtio-serial port.  The event's member "id" identifies the port.
    
    When several events arrive quickly, throttling drops all but the last
    of them.  Because of that, a QMP client must assume that *any* port
    may have changed state when it receives a VSERPORT_CHANGE event and
    throttling may have happened.
    
    Make the event more useful by throttling it for each port separately.
    
    Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    Message-Id: <1444921716-9511-7-git-send-email-armbru@redhat.com>
Loading