OSDN Git Service

char/spice: trigger HUP event
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 21 Feb 2019 11:06:53 +0000 (12:06 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 21 Feb 2019 13:09:17 +0000 (14:09 +0100)
commit805189ab14380a963db445aa083d5049c523486c
tree9328ce707ba6aa209648d115a54483d3a04ed3b5
parentac38378950328d8ed808aae66733716a71900f2a
char/spice: trigger HUP event

Inform the front-end of disconnected state (spice client
disconnected).

This will wakeup the source handler immediately, so it can detect the
disconnection asap.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Victor Toso <victortoso@redhat.com>
Message-id: 20190221110703.5775-2-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
chardev/spice.c