qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] block/qcow2: QAPI'fy Qcow2DiscardType
@ 2023-02-24 15:20 Philippe Mathieu-Daudé
  2023-02-24 15:20 ` [PATCH 1/2] block/qcow2: Rename QCOW2_DISCARD_TYPE enum definitions Philippe Mathieu-Daudé
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-02-24 15:20 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-block, Hanna Reitz, Vladimir Sementsov-Ogievskiy, Kevin Wolf,
	Markus Armbruster, Eric Blake, John Snow,
	Philippe Mathieu-Daudé

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-24 21:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-24 15:20 [PATCH 0/2] block/qcow2: QAPI'fy Qcow2DiscardType Philippe Mathieu-Daudé
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

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).