qga: don't disable fsfreeze commands if vss_init fails
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 12 Jul 2024 13:24:55 +0000 (14:24 +0100)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Fri, 19 Jul 2024 08:50:35 +0000 (11:50 +0300)
commitb81837f0d37ab1e1ee718d6a356e88089ec604b5
treecfb684f073103ddc29d0067fb5ea71ce8e50f6c3
parent4be55a4fce18de5ce660a0c2b0961a6333fd957f
qga: don't disable fsfreeze commands if vss_init fails

The fsfreeze commands are already written to report an error if
vss_init() fails. Reporting a more specific error message is more
helpful than a generic "command is disabled" message, which cannot
between an admin config decision and lack of platform support.

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240712132459.3974109-19-berrange@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
qga/commands-win32.c
qga/main.c