qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] qemu-img: Allow source cache mode specification
@ 2014-07-19 20:35 Max Reitz
  2014-07-19 20:35 ` [Qemu-devel] [PATCH 1/2] " Max Reitz
  2014-07-19 20:35 ` [Qemu-devel] [PATCH 2/2] qemu-img: Allow cache mode specification for amend Max Reitz
  0 siblings, 2 replies; 9+ messages in thread
From: Max Reitz @ 2014-07-19 20:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Peter Lieven, Stefan Hajnoczi, Max Reitz

Currently, qemu-img does not allow setting the cache mode for source
images. However, it reads images generally only once, therefore a full
writeback cache unnecessarily clutters the host cache. In case the user
finds this undesirable, there has to be a way of disabling that cache.
This series first introduces such a way for check, compare, convert and
rebase and then (while at it) adds a cache mode switch to amend (which
was missing so far).

Peter already tried to add a BDRV_O_SEQUENTIAL mode to qemu-img convert.
If we want to add such a mode (which in my opinion would be the logical
consequence of this series), we may want to make it just another cache
mode which can be selected by the user.


Max Reitz (2):
  qemu-img: Allow source cache mode specification
  qemu-img: Allow cache mode specification for amend

 qemu-img-cmds.hx | 20 ++++++------
 qemu-img.c       | 97 ++++++++++++++++++++++++++++++++++++++++++++------------
 qemu-img.texi    | 16 +++++++---
 3 files changed, 98 insertions(+), 35 deletions(-)

-- 
2.0.1

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

end of thread, other threads:[~2014-07-24 23:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-19 20:35 [Qemu-devel] [PATCH 0/2] qemu-img: Allow source cache mode specification Max Reitz
2014-07-19 20:35 ` [Qemu-devel] [PATCH 1/2] " Max Reitz
2014-07-21 15:52   ` Eric Blake
2014-07-22 20:06     ` Max Reitz
2014-07-23  8:10       ` Kevin Wolf
2014-07-24 23:44         ` Max Reitz
2014-07-19 20:35 ` [Qemu-devel] [PATCH 2/2] qemu-img: Allow cache mode specification for amend Max Reitz
2014-07-21 15:57   ` Eric Blake
2014-07-22 20:09     ` Max Reitz

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