summaryrefslogtreecommitdiffstats
path: root/migration-exec.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-07-22 22:58:42 +0200
committerKevin Wolf <kwolf@redhat.com>2014-08-22 14:54:44 +0200
commit40055951a7afbfc037c6c7351d72a5c5d83ed99b (patch)
treee425e2394fa968466ffbe55ca7a2f65b61e053e2 /migration-exec.c
parent0a156f7c750c4e4e1c5dfb2135debcf399e4e2a7 (diff)
downloadhqemu-40055951a7afbfc037c6c7351d72a5c5d83ed99b.zip
hqemu-40055951a7afbfc037c6c7351d72a5c5d83ed99b.tar.gz
qemu-img: Allow source cache mode specification
Many qemu-img subcommands only read the source file(s) once. For these use cases, a full write-back cache is unnecessary and mainly clutters host cache memory. Though this is generally no concern as cache memory is freely available and can be scaled by the host OS, it may become a concern with thin provisioning. For these cases, it makes sense to allow users to freely specify the source cache mode (e.g. use no cache at all). This commit adds a new switch (-T) for the qemu-img subcommands check, compare, convert and rebase to specify the cache to be used for source images (the backing file in case of rebase). Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'migration-exec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud