]> git.proxmox.com Git - mirror_qemu.git/commit - qga/main.c
qga: group agent init/cleanup init separate routines
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Sun, 7 Oct 2018 11:02:17 +0000 (14:02 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 31 Oct 2018 14:04:20 +0000 (09:04 -0500)
commit50d5b3c465ffafbd6973acb8afde1f1e4ca5a2da
tree7e9d287485c2862f1cffe0014ca47522b8f31c3e
parentd9c85b6cc5a2597e72299bc6644c966236378e50
qga: group agent init/cleanup init separate routines

This patch better separates the init/cleanup routines out into
separate functions to make the start-up procedure a bit easier to
follow. This will be useful when we eventually break out the actual
start/stop of the agent's main loop into separates routines that
can be called multiple times after the init phase.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/main.c