]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Support copy on read for disk
authorOsier Yang <jyang@redhat.com>
Thu, 12 Jan 2012 09:31:14 +0000 (17:31 +0800)
committerOsier Yang <jyang@redhat.com>
Fri, 13 Jan 2012 02:08:15 +0000 (10:08 +0800)
commit5edfcaae6f7ebbee120c0d44b3a2d9710772f197
treed6d4504b5c2fef402c5704904659db96a848c7cd
parentb54de0830a1bd236c07f729a4592d77251c1b5a3
qemu: Support copy on read for disk

The new introduced optional attribute "copy_on_read</code> controls
whether to copy read backing file into the image file. The value can
be either "on" or "off". 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.
12 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemuhelptest.c
tests/qemuxml2argvdata/qemuxml2argv-disk-copy_on_read.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-copy_on_read.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c