[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 0/4] virtio: Convert feature properties to OnOffAuto
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v4 0/4] virtio: Convert feature properties to OnOffAuto |
Date: |
Thu, 09 Jan 2025 13:53:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Akihiko Odaki <akihiko.odaki@daynix.com> writes:
> 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>
How is this related to "[PATCH v2 0/4] hw/pci: Convert rom_bar into
OnOffAuto"?
https://lore.kernel.org/all/20240714-rombar-v2-0-af1504ef55de@daynix.com/
- Re: [PATCH v4 2/4] qdev-properties: Accept bool for OnOffAuto, (continued)
[PATCH v4 3/4] qdev-properties: Add DEFINE_PROP_ON_OFF_AUTO_BIT64(), Akihiko Odaki, 2025/01/08
[PATCH v4 4/4] virtio: Convert feature properties to OnOffAuto, Akihiko Odaki, 2025/01/08
Re: [PATCH v4 4/4] virtio: Convert feature properties to OnOffAuto, Daniel P . Berrangé, 2025/01/10
Re: [PATCH v4 0/4] virtio: Convert feature properties to OnOffAuto,
Markus Armbruster <=