On 8/23/21 5:40 PM, Simon Rowe wrote:
> 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(-)
>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Michal