trivial: qga: Log version on start
PATCH 1/1 trivial: qga: Log version on start
Signed-off-by Konstantin Kostiuk <[email protected]>
--- qga/main.c | 2 ++ 1 file changed, 2 insertions(+)
qga/main.c +2 -0
@@ -1271,6 +1271,8 @@ static GAState *initialize_agent(GAConfig *config, int socket_activation)g_log_set_fatal_mask (NULL ,G_LOG_LEVEL_ERROR );ga_enable_logging (s); +g_debug ("Guest agent version %s started" ,QEMU_VERSION ); +#ifdef _WIN32/* On win32 the state directory is application specific (be it the default * or a user override). We got past the command line parsing; let's create
Signature · 1 line
2.25.1
Quoted 2 lines · Konstantin Kostiuk
Signed-off-by Konstantin Kostiuk <[email protected]>
why not, and why not QEMU_FULL_VERSION? :)
Reviewed-by Marc-André Lureau <[email protected]>
Quoted 20 lines
--- qga/main.c | 2 ++ 1 file changed, 2 insertions(+)qga/main.c +2
-1@@ -1271,6 +1271,8 @@ static GAState *initialize_agent(GAConfig *config, int socket_activation)g_log_set_fatal_mask (NULL ,G_LOG_LEVEL_ERROR );ga_enable_logging (s); +g_debug ("Guest agent version %s started" ,QEMU_VERSION ); +#ifdef _WIN32/* On win32 the state directory is application specific (be it the default * or a user override). We got past the command line parsing; let's create -- 2.25.1
Quoted 7 lines · Marc-André Lureau
Quoted 2 lines · Konstantin Kostiuk
Signed-off-by Konstantin Kostiuk <[email protected]>why not, and why not
QEMU_FULL_VERSION? :)
QEMU_FULL_VERSION is good too, no specific reason to use QEMU_VERSION.
Quoted 27 lines
Reviewed-by Marc-André Lureau <[email protected]>qga/main.c static GAState *initialize_agent(GAConfig *config,
Quoted 9 lines
--- qga/main.c | 2 ++ 1 file changed, 2 insertions(+)qga/main.c +0
-0@@ -1271,6 +1271,8 @@ static GAState *initialize_agent(GAConfig *config,int
socket_activation)qga/main.c static GAState *initialize_agent(GAConfig *config, int socket_activation)
Quoted 7 lines
qga/main.c +2
-0g_log_set_fatal_mask (NULL ,G_LOG_LEVEL_ERROR );ga_enable_logging (s); +g_debug ("Guest agent version %s started" ,QEMU_VERSION ); +#ifdef _WIN32/* On win32 the state directory is application specific (be it the default
qga/main.c static GAState *initialize_agent(GAConfig *config, · line 1278
Quoted 1 line
qga/main.c +0
-0* or a user override). We got past the command line parsing; let's create
Quoted 3 lines
--
2.25.1