From 72f0a3ce7635c4a94135cb037ae9d36e82bd5f73 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" 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 8955bc51..fc377a29 100644 --- a/plugins/vddk/vddk.c +++ b/plugins/vddk/vddk.c @@ -721,10 +721,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