]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Add a generic interface for accepting backup manifest files.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:39 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:39 +0000 (11:23 -0700)
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.

open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h

index 6bb53ee31fbb2f456aef6cb79965937818530085..dfef1d03c0def06a4f44219df171beb8ffe531e3 100644 (file)
@@ -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"