From nobody Thu Nov 21 12:41:25 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1731661364598755.5129165324755; Fri, 15 Nov 2024 01:02:44 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 7B8201912; Fri, 15 Nov 2024 04:02:43 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 738E61935; Fri, 15 Nov 2024 04:02:27 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 5619218E7; Fri, 15 Nov 2024 04:02:24 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id CCBCE1838 for ; Fri, 15 Nov 2024 04:02:23 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-288-P2Qopjn7PqClljYxd5qocw-1; Fri, 15 Nov 2024 04:02:22 -0500 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2BDC11956083 for ; Fri, 15 Nov 2024 09:02:21 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.6]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 360583003B71 for ; Fri, 15 Nov 2024 09:02:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1731661343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rH/c/y2b2vAJ3ZBxm19P7nkmhcIdDCyiT9lfqiMi3gE=; b=PwXlOWcE4FYfrFZ72IfucP0aNbov0jEYk/TT/9L3slAMX268pImmrKBdnbxmituHFCiBbg qKcd1NKqKLQS3/rZeucDkkWymFG8/GqERUEvObH3xIxGmkcsAAHstKAHGQe/jZy6oSe/qn kMhuH6sUofVIdnuaM9m/4LKbJa34oaE= X-MC-Unique: P2Qopjn7PqClljYxd5qocw-1 X-Mimecast-MFC-AGG-ID: P2Qopjn7PqClljYxd5qocw From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH] kbase: virtiofs: Clarify migration support statement Date: Fri, 15 Nov 2024 10:02:18 +0100 Message-ID: <50c9f4f20076f283970d610893ff6646c3003ea6.1731661338.git.pkrempa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: FikCDkA19VUVvyo9aSD-dIy3eGwYKDHMimVvFH8AlVc_1731661341 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: FYW2DK7IEIZLYA6NUOAZXWE5XMS2KJLR X-Message-ID-Hash: FYW2DK7IEIZLYA6NUOAZXWE5XMS2KJLR X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1731661365441116600 Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Michal Privoznik --- 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 per= formance. 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 su= pport +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 st= ate +of the files shared via ``virtiofs``, and thus reverting to an earlier sta= te is +not recommended. Sharing a host directory with a guest =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.47.0