From: Markus Armbruster <armbru@redhat.com>
To: Akihiko Odaki <akihiko.odaki@daynix.com>
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Jason Wang" <jasowang@redhat.com>,
"Dmitry Fleytman" <dmitry.fleytman@gmail.com>,
"Sriram Yagnaraman" <sriram.yagnaraman@ericsson.com>,
"Luigi Rizzo" <rizzo@iet.unipi.it>,
"Giuseppe Lettieri" <g.lettieri@iet.unipi.it>,
"Vincenzo Maffione" <v.maffione@gmail.com>,
"Andrew Melnychenko" <andrew@daynix.com>,
"Yuri Benditovich" <yuri.benditovich@daynix.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Eduardo Habkost" <eduardo@habkost.net>,
"Michael Roth" <michael.roth@amd.com>,
"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Yanan Wang" <wangyanan55@huawei.com>,
"Zhao Liu" <zhao1.liu@intel.com>, "Lei Yang" <leiyang@redhat.com>,
"BALATON Zoltan" <balaton@eik.bme.hu>,
qemu-devel@nongnu.org, devel@daynix.com
Subject: Re: [PATCH v6 0/4] virtio: Convert feature properties to OnOffAuto
Date: Tue, 06 May 2025 17:39:12 +0200 [thread overview]
Message-ID: <87msbprbof.fsf@pond.sub.org> (raw)
In-Reply-To: <db08fab9-682c-491c-bafc-9a701bbc73ee@daynix.com> (Akihiko Odaki's message of "Mon, 5 May 2025 15:44:43 +0900")
Akihiko Odaki <akihiko.odaki@daynix.com> writes:
> On 2025/04/26 0:08, Markus Armbruster wrote:
>> Daniel P. Berrangé <berrange@redhat.com> writes:
>>
>>> On Fri, Apr 25, 2025 at 08:14:13AM -0400, Michael S. Tsirkin wrote:
>>>> On Thu, Mar 06, 2025 at 03:16:26PM +0900, Akihiko Odaki wrote:
>>>>> This series was spun off from:
>>>>> "[PATCH 0/3] virtio-net: Convert feature properties to OnOffAuto"
>>>>> (https://patchew.org/QEMU/20240714-auto-v3-0-e27401aabab3@daynix.com/)
>>>>>
>>>>> Some features are not always available with vhost. Legacy features are
>>>>> not available with vp_vdpa in particular. virtio devices used to disable
>>>>> them when not available even if the corresponding properties were
>>>>> explicitly set to "on".
>>>>>
>>>>> QEMU already has OnOffAuto type, which includes the "auto" value to let
>>>>> it automatically decide the effective value. Convert feature properties
>>>>> to OnOffAuto and set them "auto" by default to utilize it. This allows
>>>>> QEMU to report an error if they are set "on" and the corresponding
>>>>> features are not available.
>>>>>
>>>>> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
>>>>
>>>>
>>>> Marcus, Paolo, Daniel, Eduardo, any feedback on the QOM bits?
>>>
>>> I've said on every previous version that I don't think we should be
>>> changing OnOffAuto to secretly accept bool values. That is bypassing
>>> QAPI schema definitions with a special code hack.
>>
>> I also objected to v4. Thread starts at
>> Message-ID: <87cyfwxveo.fsf@pond.sub.org>
>> https://lore.kernel.org/qemu-devel/87cyfwxveo.fsf@pond.sub.org/
>> I could be persuaded to accept a patch that changes exactly the
>> properties that need to be changed to tri-state, with suitable
>> rationale. This patch changes a bunch of unrelated properties, too.
>
> I replied to the thread as I found that I haven't replied to the last message in the thread and the newer versions of the series do not address its discussion points either.
I just reiterated and clarified my objection in said thread, and tried
to point towards possible solutions I could accept.
prev parent reply other threads:[~2025-05-06 15:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-06 6:16 [PATCH v6 0/4] virtio: Convert feature properties to OnOffAuto Akihiko Odaki
2025-03-06 6:16 ` [PATCH v6 1/4] qapi: Do not consume a value if failed Akihiko Odaki
2025-03-06 6:16 ` [PATCH v6 2/4] qapi: Accept bool for OnOffAuto and OnOffSplit Akihiko Odaki
2025-03-06 6:16 ` [PATCH v6 3/4] qdev-properties: Add DEFINE_PROP_ON_OFF_AUTO_BIT64() Akihiko Odaki
2025-03-06 6:16 ` [PATCH v6 4/4] virtio: Convert feature properties to OnOffAuto Akihiko Odaki
2025-04-25 12:14 ` [PATCH v6 0/4] " Michael S. Tsirkin
2025-04-25 12:20 ` Daniel P. Berrangé
2025-04-25 15:08 ` Markus Armbruster
2025-05-05 6:44 ` Akihiko Odaki
2025-05-06 15:39 ` Markus Armbruster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87msbprbof.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=akihiko.odaki@daynix.com \
--cc=andrew@daynix.com \
--cc=balaton@eik.bme.hu \
--cc=berrange@redhat.com \
--cc=devel@daynix.com \
--cc=dmitry.fleytman@gmail.com \
--cc=eduardo@habkost.net \
--cc=g.lettieri@iet.unipi.it \
--cc=jasowang@redhat.com \
--cc=leiyang@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=michael.roth@amd.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rizzo@iet.unipi.it \
--cc=sriram.yagnaraman@ericsson.com \
--cc=v.maffione@gmail.com \
--cc=wangyanan55@huawei.com \
--cc=yuri.benditovich@daynix.com \
--cc=zhao1.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.