qio: store gsources for net listeners
commit938c8b79e5249d41469151e30268cfaf88bdb588
authorPeter Xu <peterx@redhat.com>
Mon, 5 Mar 2018 06:43:21 +0000 (5 14:43 +0800)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 6 Mar 2018 10:19:05 +0000 (6 10:19 +0000)
tree53488c9335157a7d4c37530157f16154e95dc600
parent315409c7115b9f6b1b027899c214f4a1f706a7c5
qio: store gsources for net listeners

Originally we were storing the GSources tag IDs.  That'll be not enough
if we are going to support non-default gcontext for QIO code.  Switch to
GSources without changing anything real.  Now we still always pass in
NULL, which means the default gcontext.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
include/io/net-listener.h
io/net-listener.c