diff options
author | Kostiantyn Kostiuk <kkostiuk@redhat.com> | 2025-08-25 17:05:48 +0300 |
---|---|---|
committer | Kostiantyn Kostiuk <kkostiuk@redhat.com> | 2025-09-01 14:02:18 +0300 |
commit | 3b0ba59762380fff9c91a031301f6f661abaac96 (patch) | |
tree | 67267ec72e457a53bafc75b2017ec1741fa71bb9 | |
parent | ed42682a66ef9f5e892abb7bcc3f211e1180f075 (diff) | |
download | qemu-3b0ba59762380fff9c91a031301f6f661abaac96.zip qemu-3b0ba59762380fff9c91a031301f6f661abaac96.tar.gz qemu-3b0ba59762380fff9c91a031301f6f661abaac96.tar.bz2 |
qga: Fix channel initialization check in run_agent_once
Reviewed-by: Yan Vugenfirer <yvugenfi@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250825140549.146617-2-kkostiuk@redhat.com
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
-rw-r--r-- | qga/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1563,7 +1563,7 @@ static void cleanup_agent(GAState *s) static int run_agent_once(GAState *s) { if (!s->channel && - channel_init(s, s->config->method, s->config->channel_path, + !channel_init(s, s->config->method, s->config->channel_path, s->socket_activation ? FIRST_SOCKET_ACTIVATION_FD : -1)) { g_critical("failed to initialize guest agent channel"); return EXIT_FAILURE; |