From: Oliver Kurth Date: Fri, 15 Sep 2017 18:23:39 +0000 (-0700) Subject: Add a generic interface for accepting backup manifest files. X-Git-Tag: stable-10.2.0~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb569f29cd9780872eb212fc5a6dda9d85d2711;p=thirdparty%2Fopen-vm-tools.git Add a generic interface for accepting backup manifest files. The interface provided by VMX to allow VMTools to notify it that there is a backup manifest file to be transferred from the guest is specific to Windows guests. A more generic interface is being implemented to enable backup manifest files for Linux guests. A new vmbackup event is added for passing to vmx the guest's path for the manifest file, along with code for handling the event. --- diff --git a/open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h b/open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h index 6bb53ee31..dfef1d03c 100644 --- a/open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h +++ b/open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2007-2016 VMware, Inc. All rights reserved. + * Copyright (C) 2007-2017 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -67,6 +67,7 @@ #define VMBACKUP_EVENT_REQUESTOR_DONE "req.done" #define VMBACKUP_EVENT_REQUESTOR_ERROR "req.error" #define VMBACKUP_EVENT_REQUESTOR_MANIFEST "req.manifest" +#define VMBACKUP_EVENT_GENERIC_MANIFEST "req.genericManifest" #define VMBACKUP_EVENT_SNAPSHOT_ABORT "prov.snapshotAbort" #define VMBACKUP_EVENT_SNAPSHOT_COMMIT "prov.snapshotCommit" #define VMBACKUP_EVENT_SNAPSHOT_PREPARE "prov.snapshotPrepare"