When the destination of a VM core dump is a block device (e.g. NBD) avoid file operations that are unnecessary.
Simon Rowe (2): iohelper: skip lseek() and ftruncate() on block devices qemu: check unlink hint from virQEMUFileOpenAs() src/qemu/qemu_driver.c | 8 +++----- src/util/iohelper.c | 10 ++++++++-- 2 files changed, 11 insertions(+), 7 deletions(-) -- 2.22.3