mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00

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>
17 lines
590 B
C
17 lines
590 B
C
#ifndef VSS_HANDLES_H
|
|
#define VSS_HANDLES_H
|
|
|
|
/* Constants for QGA VSS Provider */
|
|
|
|
#define QGA_PROVIDER_NAME "QEMU Guest Agent VSS Provider"
|
|
#define QGA_PROVIDER_LNAME L(QGA_PROVIDER_NAME)
|
|
#define QGA_PROVIDER_VERSION L(QEMU_VERSION)
|
|
#define QGA_PROVIDER_REGISTRY_ADDRESS "SYSTEM\\CurrentControlSet"\
|
|
"\\Services"\
|
|
"\\" QGA_PROVIDER_NAME
|
|
|
|
#define EVENT_NAME_FROZEN "Global\\QGAVSSEvent-frozen"
|
|
#define EVENT_NAME_THAW "Global\\QGAVSSEvent-thaw"
|
|
#define EVENT_NAME_TIMEOUT "Global\\QGAVSSEvent-timeout"
|
|
|
|
#endif
|