From patchwork Thu Feb 16 14:00:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Kuchin X-Patchwork-Id: 13143172 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A4FACC64EC4 for ; Thu, 16 Feb 2023 14:01:36 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSeoL-0003ka-Uh; Thu, 16 Feb 2023 09:00:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSeoG-0003je-6h for qemu-devel@nongnu.org; Thu, 16 Feb 2023 09:00:29 -0500 Received: from forwardcorp1a.mail.yandex.net ([178.154.239.72]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSeoD-000331-V2 for qemu-devel@nongnu.org; Thu, 16 Feb 2023 09:00:27 -0500 Received: from vla1-81430ab5870b.qloud-c.yandex.net (vla1-81430ab5870b.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:35a1:0:640:8143:ab5]) by forwardcorp1a.mail.yandex.net (Yandex) with ESMTP id ACD245FE15; Thu, 16 Feb 2023 17:00:16 +0300 (MSK) Received: from antonkuchin-nix.yandex-team.ru (unknown [2a02:6b8:b081:7313::1:33]) by vla1-81430ab5870b.qloud-c.yandex.net (smtpcorp/Yandex) with ESMTPSA id 30mChN0RvGk1-DWSC8aP3; Thu, 16 Feb 2023 17:00:15 +0300 Precedence: bulk X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1676556016; bh=LWStvpjF+X9INvQtKoyy/tfGUCKy8vkWL1oG4k796nw=; h=Message-Id:Date:Cc:Subject:To:From; b=GfiIA1g+2bPcsmFSgfvDBmzQ+TYLroVNwSknuLHbVpknZvmRbtmoUaCcQn5G9brJ9 Gbz21x3aSEFH6B0IEMNX6dfTlxUWY2B4rQp88jPrxbY86mJGe0FbYuM8s+3S+2VYG0 LNDDv3usSPoa44rzIahsK7qQGG/qTFMtsLqJH7tY= Authentication-Results: vla1-81430ab5870b.qloud-c.yandex.net; dkim=pass header.i=@yandex-team.ru From: Anton Kuchin To: qemu-devel@nongnu.org Cc: "Dr. David Alan Gilbert" , Eduardo Habkost , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , "Michael S. Tsirkin" , Markus Armbruster , yc-core@yandex-team.ru, Stefan Hajnoczi , virtio-fs@redhat.com, Eric Blake , Juan Quintela , Paolo Bonzini , Anton Kuchin Subject: [PATCH v2 0/1] virtio-fs: implement option for stateless migration. Date: Thu, 16 Feb 2023 16:00:02 +0200 Message-Id: <20230216140003.1103681-1-antonkuchin@yandex-team.ru> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Received-SPF: pass client-ip=178.154.239.72; envelope-from=antonkuchin@yandex-team.ru; helo=forwardcorp1a.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org v2: Use device property instead of migration capability Anton Kuchin (1): vhost-user-fs: add property to allow migration hw/core/qdev-properties-system.c | 10 +++++++++ hw/virtio/vhost-user-fs.c | 34 ++++++++++++++++++++++++++++- include/hw/qdev-properties-system.h | 1 + include/hw/virtio/vhost-user-fs.h | 1 + qapi/migration.json | 16 ++++++++++++++ 5 files changed, 61 insertions(+), 1 deletion(-)