[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 12/24] qemu-img: fix rebase src_cache option document
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PULL 12/24] qemu-img: fix rebase src_cache option documentation |
Date: |
Mon, 8 Sep 2014 11:51:37 +0100 |
The src_cache option (-T) specifies the cache mode for backing files.
It applies both the image's old backing file as well as the new backing
file:
ret = bdrv_open(&bs_old_backing, backing_name, NULL, NULL, src_flags,
old_backing_drv, &local_err);
if (ret) {
...
}
if (out_baseimg[0]) {
bs_new_backing = bdrv_new("new_backing", &error_abort);
ret = bdrv_open(&bs_new_backing, out_baseimg, NULL, NULL, src_flags,
new_backing_drv, &local_err);
if (ret) {
...
}
}
The documentation only mentions the new backing file but it really
applies to both.
Suggested-by: Jeff Nelson <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
---
qemu-img.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-img.texi b/qemu-img.texi
index 4380d56..cc4668e 100644
--- a/qemu-img.texi
+++ b/qemu-img.texi
@@ -341,7 +341,7 @@ string), then the image is rebased onto no backing file
(i.e. it will exist
independently of any backing file).
@var{cache} specifies the cache mode to be used for @var{filename}, whereas
address@hidden specifies the cache mode for reading the new backing file.
address@hidden specifies the cache mode for reading backing files.
There are two different modes in which @code{rebase} can operate:
@table @option
--
1.9.3
- [Qemu-devel] [PULL 01/24] block: kill tail whitespace in block.c, (continued)
- [Qemu-devel] [PULL 01/24] block: kill tail whitespace in block.c, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 02/24] pflash_cfi01: fixup stale DPRINTF() calls, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 03/24] pflash_cfi01: write flash contents to bdrv on incoming migration, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 04/24] tests: Functions bus_foreach and device_find from libqos virtio API, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 05/24] tests: Add virtio device initialization, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 06/24] libqos: Added basic virtqueue support to virtio implementation, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 07/24] libqos: Added indirect descriptor support to virtio implementation, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 08/24] libqos: Added test case for configuration changes in virtio-blk test, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 09/24] libqos: Added MSI-X support, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 10/24] libqos: Added EVENT_IDX support, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 12/24] qemu-img: fix rebase src_cache option documentation,
Stefan Hajnoczi <=
- [Qemu-devel] [PULL 11/24] qemu-img: clarify src_cache option documentation, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 17/24] MAINTAINERS: update sheepdog maintainer, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 16/24] qemu-nbd: fix indentation and coding style, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 13/24] block/archipelago: Use QEMU atomic builtins, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 15/24] qemu-nbd: add option to set detect-zeroes mode, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 18/24] libqos: add a simple first-fit memory allocator, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 14/24] rename parse_enum_option to qapi_enum_parse and make it public, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 19/24] qtest/ide: Uninitialize PC allocator, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 20/24] ide: Add wwn support to IDE-ATAPI drive, Stefan Hajnoczi, 2014/09/08
- [Qemu-devel] [PULL 21/24] vmdk: fix vmdk_parse_extents() extent_file leaks, Stefan Hajnoczi, 2014/09/08