diff options
author | Ari Sundholm | 2018-07-04 16:59:35 +0200 |
---|---|---|
committer | Kevin Wolf | 2018-07-05 10:50:20 +0200 |
commit | 0878b3c113145d4e01d65aadd4efaf097a3fda4b (patch) | |
tree | f1bdf1c9facbbae5d712b07c7c1add6678d60c76 /qapi | |
parent | block/blklogwrites: Change log_sector_size from int64_t to uint64_t (diff) | |
download | qemu-0878b3c113145d4e01d65aadd4efaf097a3fda4b.tar.gz qemu-0878b3c113145d4e01d65aadd4efaf097a3fda4b.tar.xz qemu-0878b3c113145d4e01d65aadd4efaf097a3fda4b.zip |
block/blklogwrites: Add an option for appending to an old log
Suggested by Kevin Wolf. May be useful when testing multiple batches
of writes or doing long-term testing involving restarts of the VM.
Signed-off-by: Ari Sundholm <ari@tuxera.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index a9eab8cab8..d1753a2ae7 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -3062,7 +3062,8 @@ { 'struct': 'BlockdevOptionsBlklogwrites', 'data': { 'file': 'BlockdevRef', 'log': 'BlockdevRef', - '*log-sector-size': 'uint32' } } + '*log-sector-size': 'uint32', + '*log-append': 'bool' } } ## # @BlockdevOptionsBlkverify: |