diff options
author | Kostiantyn Kostiuk <kkostiuk@redhat.com> | 2025-06-20 11:31:32 +0300 |
---|---|---|
committer | Kostiantyn Kostiuk <kkostiuk@redhat.com> | 2025-06-30 13:17:10 +0300 |
commit | 012bb70cd16512dbcc1ba423c3f7f260e177afe7 (patch) | |
tree | f5931c115974edb2f80eb0517146f72255cf54d4 /scripts/qapi/commands.py | |
parent | 776bd01809fe0f524a578257ff82787d067dbe93 (diff) | |
download | qemu-012bb70cd16512dbcc1ba423c3f7f260e177afe7.zip qemu-012bb70cd16512dbcc1ba423c3f7f260e177afe7.tar.gz qemu-012bb70cd16512dbcc1ba423c3f7f260e177afe7.tar.bz2 |
qga-vss: Exit with non-zero code when register fail
QGA installer uses rundll32 to run the DLLCOMRegister function
from qga-vss.dll and perform VSS provider registration.
rundll32 ignores the return value of the function and always
exits with a zero exit code. This causes a situation where
the installer does not know the status of VSS provider registration.
This commit forces to change exit code when the VSS provider
registration fails.
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/rundll32
Reviewed-by: Yan Vugenfirer <yvugenfi@redhat.com>
Tested-by: Dehan Meng <demeng@redhat.com>
Message-ID: <20250620083132.28347-1-kkostiuk@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions