summaryrefslogtreecommitdiffstats
path: root/scripts/modules
diff options
context:
space:
mode:
authorHaozhong Zhang2016-10-27 06:22:58 +0200
committerPaolo Bonzini2016-11-01 16:06:57 +0100
commitd6af99c9f8d577927a52d00af3fa8e6ec0b2a4e2 (patch)
tree167b621b32133f1e0a263b8497bff56c9d24fe43 /scripts/modules
parentexec.c: ensure all AddressSpaceDispatch updates under RCU (diff)
downloadqemu-d6af99c9f8d577927a52d00af3fa8e6ec0b2a4e2.tar.gz
qemu-d6af99c9f8d577927a52d00af3fa8e6ec0b2a4e2.tar.xz
qemu-d6af99c9f8d577927a52d00af3fa8e6ec0b2a4e2.zip
exec.c: do not truncate non-empty memory backend file
For '-object memory-backend-file,mem-path=foo,size=xyz', if the size of file 'foo' does not match the given size 'xyz', the current QEMU will truncate the file to the given size, which may corrupt the existing data in that file. To avoid such data corruption, this patch disables truncating non-empty backend files. Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com> Message-Id: <20161027042300.5929-2-haozhong.zhang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions