]> Git Repo - qemu.git/commit - qga/main.c
qga: hang GAConfig/socket_activation off of GAState global
authorMichael Roth <[email protected]>
Sun, 7 Oct 2018 11:02:18 +0000 (14:02 +0300)
committerMichael Roth <[email protected]>
Wed, 31 Oct 2018 14:04:20 +0000 (09:04 -0500)
commit0f4d3a4912d1ca6585409b92d1d7fefb8baf60fa
tree2d1b5afc7c58a576f201fa820ec48ab021fbd0c8
parent50d5b3c465ffafbd6973acb8afde1f1e4ca5a2da
qga: hang GAConfig/socket_activation off of GAState global

For w32 services we rely on the global GAState to access resources
associated with the agent within service_main(). Currently this is
sufficient for starting the agent since we open the channel once prior
to calling service_main(), and simply start the GMainLoop to start the
agent from within service_main().

Eventually we want to be able to also [re-]open the communication
channel from within service_main(), which requires access to
config/socket_activation variables, so we hang them off GAState in
preparation for that.

Signed-off-by: Michael Roth <[email protected]>
Signed-off-by: Sameeh Jubran <[email protected]>
*dont move GAConfig struct, just the typedef
*fix build bisect for w32
Signed-off-by: Michael Roth <[email protected]>
qga/main.c
This page took 0.02603 seconds and 4 git commands to generate.