Re: [PATCHv2 0/2] Support VM core dump to block device

2021-08-24 Thread Michal Prívozník
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/q

Re: [PATCHv2 0/2] Support VM core dump to block device

2021-08-24 Thread Michal Prívozník
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/q

[PATCHv2 0/2] Support VM core dump to block device

2021-08-23 Thread Simon Rowe
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