]> git.proxmox.com Git - mirror_qemu.git/commit - spice-qemu-char.c
spice-char: notify the server when chardev is writable
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 5 May 2015 14:58:56 +0000 (16:58 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 29 May 2015 07:56:01 +0000 (09:56 +0200)
commite95e203c085b7731746e39c9b9f8bd2f6eaa0cd6
tree2514c17eb8e6cc58fd4862c97ab3f0e4d68b64c6
parent246ca55faff625f4c15e21f3424781e215a254ea
spice-char: notify the server when chardev is writable

The spice server is polling on write, unless
SPICE_CHAR_DEVICE_NOTIFY_WRITABLE flag is set. In this case, qemu must
call spice_server_char_device_wakeup() when the frontend is writable.

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
spice-qemu-char.c