]> git.proxmox.com Git - mirror_qemu.git/commit - spice-qemu-char.c
spice: fix spice_chr_add_watch() pre-condition
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 28 May 2015 13:04:58 +0000 (15:04 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 29 May 2015 07:56:01 +0000 (09:56 +0200)
commitf7a8beb5e6a13dc924895244777d9ef08b23b367
tree0740800947805e1441b9f36953d3300afdcb47ee
parent641381c1fcd66ea8de07ecfcd733089da26cbba9
spice: fix spice_chr_add_watch() pre-condition

Since e02bc6de30c44fd668dc0d6e1cd1804f2eed3ed3, add_watch() is called
with G_IO_HUP. Even if spice-qemu-char ignores this flag, the
precondition must be changed.

https://bugzilla.redhat.com/show_bug.cgi?id=1128992

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
spice-qemu-char.c