nbdkit/0002-vddk-Update-comment-ab...

32 lines
1.1 KiB
Diff

From 98da45afe98a59a1dc783968bb3b08008a3d6a68 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 26 Oct 2021 12:55:14 +0100
Subject: [PATCH] vddk: Update comment about VixDiskLib_PrepareForAccess
(cherry picked from commit 5875b3d93c8c913aa96ac5d5a605d081d6a21393)
---
plugins/vddk/vddk.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/plugins/vddk/vddk.c b/plugins/vddk/vddk.c
index c6e023eb..ee9853a7 100644
--- a/plugins/vddk/vddk.c
+++ b/plugins/vddk/vddk.c
@@ -676,10 +676,9 @@ vddk_open (int readonly)
h->params->specType = VIXDISKLIB_SPEC_VMX;
}
- /* XXX Some documentation suggests we should call
- * VixDiskLib_PrepareForAccess here. It may be required for
- * Advanced Transport modes, but I could not make it work with
- * either ESXi or vCenter servers.
+ /* XXX We should call VixDiskLib_PrepareForAccess here. It disables
+ * live storage migration (Storage VMotion) of the VM while we are
+ * accessing it, and may be required for "Advanced Transport modes".
*/
VDDK_CALL_START (VixDiskLib_ConnectEx,
--
2.31.1