]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
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)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 20 Jul 2015 11:20:47 +0000 (11:20 +0000)
commiteb75549f69ca0f3eab26ed39d4ad0fcb6613f64a
treef9d737586ff6e56fff8a3f123c44643132476812
parentd9552b0af21c27535cd3c8549bb31d26bbecd506
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

upstream-commit-id: f7a8beb5e6a13dc924895244777d9ef08b23b367

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
spice-qemu-char.c