]> git.proxmox.com Git - qemu.git/commit - hmp-commands.hx
block: add -drive copy-on-read=on|off
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 17 Nov 2011 13:40:32 +0000 (13:40 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 5 Dec 2011 13:51:38 +0000 (14:51 +0100)
commitfb0490f69feb96b7e92457f176dc834ff0b00b09
tree78f832101d9988753dac64f1f47946f2fa306a97
parentab1859218a95977dc6881fcccce328d8146a6bdb
block: add -drive copy-on-read=on|off

This patch adds the -drive copy-on-read=on|off command-line option:

  copy-on-read=on|off
  copy-on-read is "on" or "off" and enables whether to copy read backing
  file sectors into the image file.  Copy-on-read avoids accessing the
  same backing file sectors repeatedly and is useful when the backing
  file is over a slow network.  By default copy-on-read is off.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
hmp-commands.hx
qemu-config.c
qemu-options.hx