qga: move w32 service handling out of run_agent()
commitd88495a864011139683e62fb7f84db93c7b51881
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Sun, 7 Oct 2018 11:02:19 +0000 (7 14:02 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 31 Oct 2018 14:04:20 +0000 (31 09:04 -0500)
tree9f472d65107489fe69372273374d00be9d072915
parent0f4d3a4912d1ca6585409b92d1d7fefb8baf60fa
qga: move w32 service handling out of run_agent()

Eventually we want a w32 service to be able to restart the qga main
loop from within service_main(). To allow for this we move service
handling out of run_agent() such that service_main() calls
run_agent() instead of the reverse.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Bishara AbuHattoum <bishara@daynix.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/main.c