qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v0 0/2] enable/disable copy-on-read via qmp
@ 2018-06-13 15:47 Denis Plotnikov
  2018-06-13 15:47 ` [Qemu-devel] [PATCH v0 1/2] block: check for read-only on copy-on-read setting Denis Plotnikov
  2018-06-13 15:47 ` [Qemu-devel] [PATCH v0 2/2] qmp: add block-set-copy-on-read command Denis Plotnikov
  0 siblings, 2 replies; 8+ messages in thread
From: Denis Plotnikov @ 2018-06-13 15:47 UTC (permalink / raw)
  To: qemu-block
  Cc: armbru, kwolf, eblake, famz, mreitz, stefanha, jcody, qemu-devel,
	den, rkagan

In some cases there is a need to perform a special access pattern to a disk
backend. This may be done by providing disk reading access to external readers.
In this case there should be the ability to enable/disable the copy-on-read mode
for the disk during VM runtime. 
By the moment, there is no such ability. The patch set adds qmp command to 
enable/disable the copy-on-read mode.

Denis Plotnikov (2):
  block: check for read-only on copy-on-read setting
  qmp: add block-set-copy-on-read command

 block.c               |  4 +---
 block/io.c            | 10 ++++++++--
 block/stream.c        |  5 +++--
 blockdev.c            | 38 ++++++++++++++++++++++++++++++++++++++
 include/block/block.h |  2 +-
 qapi/block-core.json  | 20 ++++++++++++++++++++
 6 files changed, 71 insertions(+), 8 deletions(-)

-- 
2.17.0

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

end of thread, other threads:[~2018-06-14  9:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-13 15:47 [Qemu-devel] [PATCH v0 0/2] enable/disable copy-on-read via qmp Denis Plotnikov
2018-06-13 15:47 ` [Qemu-devel] [PATCH v0 1/2] block: check for read-only on copy-on-read setting Denis Plotnikov
2018-06-13 15:47 ` [Qemu-devel] [PATCH v0 2/2] qmp: add block-set-copy-on-read command Denis Plotnikov
2018-06-13 16:02   ` Eric Blake
2018-06-13 16:41     ` Max Reitz
2018-06-14  9:00       ` Kevin Wolf
2018-06-14  9:03         ` Alberto Garcia
2018-06-14  9:19           ` Kevin Wolf

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