qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Refine some vdi code
@ 2018-07-30  2:46 yuchenlin
  2018-07-30  2:47 ` [Qemu-devel] [PATCH 1/2] vdi: remove CONFIG_VDI_WRITE yuchenlin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: yuchenlin @ 2018-07-30  2:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: sw, qemu-block, yuchenlin

From: yuchenlin <yuchenlin@synology.com>

This series refine some code in vdi.c, includes:

* Remvoe CONFIG_VDI_WRITE because there is no reason to leave an always on
  and cannot configure option in the code-side.
* decouple if else if chain to get more readability.

Thanks,
yuchenlin

yuchenlin (2):
  vdi: remove CONFIG_VDI_WRITE
  vdi: refine code for vdi_open

 block/vdi.c | 32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)

-- 
2.17.0

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

end of thread, other threads:[~2018-07-30  7:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30  2:46 [Qemu-devel] [PATCH 0/2] Refine some vdi code yuchenlin
2018-07-30  2:47 ` [Qemu-devel] [PATCH 1/2] vdi: remove CONFIG_VDI_WRITE yuchenlin
2018-07-30  2:47 ` [Qemu-devel] [PATCH 2/2] vdi: refine code for vdi_open yuchenlin
2018-07-30  7:12 ` [Qemu-devel] [PATCH 0/2] Refine some vdi code Stefan Weil
2018-07-30  7:49   ` yuchenlin

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