[PATCH] kbase: virtiofs: Clarify migration support statement

Peter Krempa posted 1 patch 3 weeks ago
docs/kbase/virtiofs.rst | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
[PATCH] kbase: virtiofs: Clarify migration support statement
Posted by Peter Krempa 3 weeks ago
virtiofs 1.11 contains support for migration so update the 'Note' which
states that migration is not supported.

Additionally mention that VM snapshots don't save state of the files
shared via virtiofs so reverting is not a good idea.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 docs/kbase/virtiofs.rst | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/docs/kbase/virtiofs.rst b/docs/kbase/virtiofs.rst
index 457c15da7f..d0e09b078f 100644
--- a/docs/kbase/virtiofs.rst
+++ b/docs/kbase/virtiofs.rst
@@ -13,9 +13,13 @@ is designed to offer local file system semantics and performance.

 See https://virtio-fs.gitlab.io/

-*Note:* virtiofs currently does not support migration so operations such as
-migration, save/managed-save, or snapshots with memory are not supported if
-a VM has a virtiofs filesystem connected.
+*Note:* Older versions of ``virtiofsd`` (prior to ``1.11``)  do not not support
+migration so operations such as migration, save/managed-save, or snapshots with
+memory may not supported if a VM has a virtiofs filesystem connected.
+
+Additionally snapshot operations managed by libvirt do not snapshot the state
+of the files shared via ``virtiofs``, and thus reverting to an earlier state is
+not recommended.

 Sharing a host directory with a guest
 =====================================
-- 
2.47.0
Re: [PATCH] kbase: virtiofs: Clarify migration support statement
Posted by Michal Prívozník 3 weeks ago
On 11/15/24 10:02, Peter Krempa wrote:
> virtiofs 1.11 contains support for migration so update the 'Note' which
> states that migration is not supported.
> 
> Additionally mention that VM snapshots don't save state of the files
> shared via virtiofs so reverting is not a good idea.
> 
> Signed-off-by: Peter Krempa <pkrempa@redhat.com>
> ---
>  docs/kbase/virtiofs.rst | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal