]> git.proxmox.com Git - mirror_qemu.git/commit
qga/win/vss: query VSS backup type
authorKfir Manor <kfir@daynix.com>
Thu, 9 Feb 2023 08:50:03 +0000 (10:50 +0200)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Wed, 8 Mar 2023 16:26:49 +0000 (18:26 +0200)
commit410542d4a2d7c1d8136d3e49fc3ca29fbb76789a
tree73574457bd256ebfa83f0e82fbef6658d5ef7ce2
parentfe67fc0eb47834840c54a065c99b55b5ff5120a6
qga/win/vss: query VSS backup type

Query VSS backup type number (DWORD) from QEMU Guest Agent VSS Provider registry key registry value VssOption

Translate the VSS backup type number (DWORD) into its VSS backup type (VSS_BACKUP_TYPE)

Returns the queried VSS backup type if the program encounters unexpected behaviors or values return default VSS backup type VSS_BT_FULL instead

Signed-off-by: Kfir Manor <kfir@daynix.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
qga/vss-win32/requester.cpp
qga/vss-win32/vss-handles.h