All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@pond.sub.org>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com,  eblake@redhat.com,  stefanha@redhat.com,
	 Peter Krempa <pkrempa@redhat.com>
Subject: Re: [PATCH] file-posix: Fix loss of QAPI feature 'dynamic-auto-read-only'
Date: Fri, 27 Nov 2026 10:59:40 +0100	[thread overview]
Message-ID: <87se0mtx0z.fsf@pond.sub.org> (raw)
In-Reply-To: <20261124152218.2562390-1-armbru@redhat.com> (Markus Armbruster's message of "Tue, 24 Nov 2026 16:22:18 +0100")

Markus Armbruster <armbru@redhat.com> writes:

> Recent commit 691094b7091b added a variant member to BlockdevOptions
> branch 'host-device' by changing the branch type to new struct type
> BlockdevOptionsHostDevice that has the old branch type
> BlockdevOptionsFile as base.  This is a perfectly reasonable thing to
> do.  However, since a type only inherits its base's members, and not
> its features or conditions, this lost BlockdevOptionsFile's feature
> 'dynamic-auto-read-only'.
>
> Considering we are in deep freeze, fix the regression the stupidest
> and safest way possible: copy the feature from BlockdevOptionsFile to
> BlockdevOptionsHostDevice.
>
> Reported-by: Peter Krempa <pkrempa@redhat.com>
> Fixes: 691094b7091b ("file-posix: Add 'accept-read-only-device' option")
> Signed-off-by: Markus Armbruster <armbru@redhat.com>

Queued for 11.2.


  parent reply	other threads:[~2026-11-27 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 15:22 [PATCH] file-posix: Fix loss of QAPI feature 'dynamic-auto-read-only' Markus Armbruster
2026-11-24 19:30 ` Eric Blake
2026-11-27  9:59 ` Markus Armbruster [this message]
2026-11-27 10:07 ` Kevin Wolf

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=87se0mtx0z.fsf@pond.sub.org \
    --to=armbru@pond.sub.org \
    --cc=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pkrempa@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.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.