]> xenbits.xensource.com Git - osstest/qemu.git/commit
qga: move agent run in a separate function
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 26 Aug 2015 23:34:55 +0000 (01:34 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Sep 2015 18:15:41 +0000 (13:15 -0500)
commite3d3103975112a1ab8a0129a4be1cfe3314bce8b
tree761e24aacb549c8789b51b9b28c6dc59afbb1cc7
parentef8be55429b9a6718c7e07ede20391c09be65974
qga: move agent run in a separate function

Once the options are populated, move the running state to
a run_agent() function.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
* fixed up an s/ga_state/s/ artifact causing segfault
* replaced g_list_free_full with g_list_foreach to maintain glib
  2.22 compatibility
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/main.c