Re: [Spice-devel] [PATCH xf86-video-qxl 2/4 v2] Only watch the uinput channel when an agent is connected.

2015-10-20 Thread Christophe Fergeau
On Mon, Oct 19, 2015 at 02:33:56PM -0500, Jeremy White wrote: > Otherwise, you constantly spin loop, getting a return code of 0, > and pegging CPU usage at 100%. > > Signed-off-by: Jeremy White > --- > src/spiceqxl_uinput.c | 13 - > src/spiceqxl_uinput.h |

Re: [Spice-devel] [PATCH xf86-video-qxl 2/4 v2] Only watch the uinput channel when an agent is connected.

2015-10-20 Thread Christophe Fergeau
On Tue, Oct 20, 2015 at 10:08:49AM -0500, Jeremy White wrote: > On 10/20/2015 07:14 AM, Christophe Fergeau wrote: > > On Mon, Oct 19, 2015 at 02:33:56PM -0500, Jeremy White wrote: > >> Otherwise, you constantly spin loop, getting a return code of 0, > >> and pegging CPU usage at 100%. > >> > >>

Re: [Spice-devel] [PATCH xf86-video-qxl 2/4 v2] Only watch the uinput channel when an agent is connected.

2015-10-20 Thread Jeremy White
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/20/2015 07:14 AM, Christophe Fergeau wrote: > On Mon, Oct 19, 2015 at 02:33:56PM -0500, Jeremy White wrote: >> Otherwise, you constantly spin loop, getting a return code of 0, >> and pegging CPU usage at 100%. >> >> Signed-off-by: Jeremy White

[Spice-devel] [PATCH xf86-video-qxl 2/4 v2] Only watch the uinput channel when an agent is connected.

2015-10-19 Thread Jeremy White
Otherwise, you constantly spin loop, getting a return code of 0, and pegging CPU usage at 100%. Signed-off-by: Jeremy White --- src/spiceqxl_uinput.c | 13 - src/spiceqxl_uinput.h | 1 + src/spiceqxl_vdagent.c | 2 ++ 3 files changed, 15 insertions(+), 1