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 ws5-mx01.kavi.com (ws5-mx01.kavi.com [34.193.7.191]) (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 302F4C61D9C for ; Wed, 22 Nov 2023 10:05:36 +0000 (UTC) Received: from lists.oasis-open.org (oasis.ws5.connectedcommunity.org [10.110.1.242]) by ws5-mx01.kavi.com (Postfix) with ESMTP id 6DEFB2AEEA for ; Wed, 22 Nov 2023 10:05:35 +0000 (UTC) Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 2E42A9868A8 for ; Wed, 22 Nov 2023 10:05:35 +0000 (UTC) Received: from host09.ws5.connectedcommunity.org (host09.ws5.connectedcommunity.org [10.110.1.97]) by lists.oasis-open.org (Postfix) with QMQP id 1110A986895; Wed, 22 Nov 2023 10:05:35 +0000 (UTC) Mailing-List: contact virtio-comment-help@lists.oasis-open.org; run by ezmlm List-ID: Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 72974986896 for ; Wed, 22 Nov 2023 10:04:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at kavi.com X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="478231322" X-IronPort-AV: E=Sophos;i="6.04,218,1695711600"; d="scan'208";a="478231322" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="1014184346" X-IronPort-AV: E=Sophos;i="6.04,218,1695711600"; d="scan'208";a="1014184346" Message-ID: <1563eeea-9c8e-45d4-938d-048226f5b2d5@intel.com> Date: Wed, 22 Nov 2023 18:03:57 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "Michael S. Tsirkin" Cc: Jason Wang , Parav Pandit , "eperezma@redhat.com" , "cohuck@redhat.com" , "stefanha@redhat.com" , "virtio-comment@lists.oasis-open.org" References: <20231108124625-mutt-send-email-mst@kernel.org> <20231121161218-mutt-send-email-mst@kernel.org> <7e440ddc-1765-406c-80b4-6a486ec2a232@intel.com> <20231122013133-mutt-send-email-mst@kernel.org> From: "Zhu, Lingshan" In-Reply-To: <20231122013133-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [virtio-comment] RE: [PATCH V2 3/6] virtio: dont reset vqs when SUSPEND On 11/22/2023 2:49 PM, Michael S. Tsirkin wrote: > On Wed, Nov 22, 2023 at 09:51:45AM +0800, Zhu, Lingshan wrote: >> >> On 11/22/2023 5:18 AM, Michael S. Tsirkin wrote: >>> On Tue, Nov 21, 2023 at 03:33:07PM +0800, Jason Wang wrote: >>>>> Lingshan claimed that suspending device is for live migration in commit log and in discussion he portray it as some basic facility unrelated to device migration such as debug etc. >>>>> Instead of claiming it as some non_device_migration facility does not make sense. >>>> It is used for migration for sure. >>> Well having a generic facility to stop device sounds like a nice thing. >>> However the devil is in the detail. A lot of detail here seems very much >>> tailored to a very specific implementation in mind. >>> So thinking through how it will work e.g. for power management >>> would be a good excercise to figure out how it should work in detail. >>> Parav did you indicate at some point a virtio specific SUSPEND >>> bit can be useful for PM? Could you share how it's better than >>> transport level PM and what the requirements are? >>> Thanks! >> Do you mean letting the device enter a new power state when SUSPEND, >> and such description in transport-pci.tex? Then resume normal >> state on DRIVER_OK. > That would be one example. OK, I will look into this. Roughly say in transport-pci.tex: When SUSPEND, the device MAY optionally enter a power-saving state. Please allow me some time working on the details > This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/