qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: qemu-block@nongnu.org, "Hanna Reitz" <hreitz@redhat.com>,
	"Vladimir Sementsov-Ogievskiy" <vsementsov@yandex-team.ru>,
	"Kevin Wolf" <kwolf@redhat.com>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Eric Blake" <eblake@redhat.com>, "John Snow" <jsnow@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH 0/2] block/qcow2: QAPI'fy Qcow2DiscardType
Date: Fri, 24 Feb 2023 16:20:17 +0100	[thread overview]
Message-ID: <20230224152019.19278-1-philmd@linaro.org> (raw)

QAPI seems designed to maintain such enums,
so convert Qcow2DiscardType to be QAPI generated.
Besides, this is how Qcow2CompressionType is maintained.

Philippe Mathieu-Daudé (2):
  block/qcow2: Rename QCOW2_DISCARD_TYPE enum definitions
  block/qcow2: QAPI'fy Qcow2DiscardType

 block/qcow2-bitmap.c   | 12 ++++++------
 block/qcow2-cluster.c  | 32 ++++++++++++++++----------------
 block/qcow2-refcount.c | 36 ++++++++++++++++++------------------
 block/qcow2-snapshot.c |  8 ++++----
 block/qcow2.c          | 26 +++++++++++++-------------
 block/qcow2.h          | 19 +++++--------------
 qapi/block-core.json   | 10 ++++++++++
 7 files changed, 72 insertions(+), 71 deletions(-)

-- 
2.38.1



             reply	other threads:[~2023-02-24 15:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24 15:20 Philippe Mathieu-Daudé [this message]
2023-02-24 15:20 ` [PATCH 1/2] block/qcow2: Rename QCOW2_DISCARD_TYPE enum definitions Philippe Mathieu-Daudé
2023-02-24 15:20 ` [PATCH 2/2] block/qcow2: QAPI'fy Qcow2DiscardType Philippe Mathieu-Daudé
2023-02-24 21:26 ` [PATCH 0/2] " Richard Henderson

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=20230224152019.19278-1-philmd@linaro.org \
    --to=philmd@linaro.org \
    --cc=armbru@redhat.com \
    --cc=eblake@redhat.com \
    --cc=hreitz@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vsementsov@yandex-team.ru \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).