Re: [Qemu-devel] [PATCH v2 0/3] block/file-posix: File locking during creation

2018-06-01 Thread Max Reitz
On 2018-05-09 23:53, Max Reitz wrote: > [Unchanged text from v1 ahead] > > Currently we do not take permissions on a file while it is being > created. That is a bit sad. The simplest way to test this is the > following: > > $ qemu-img create -f qcow2 foo.qcow2 64M > Formatting 'foo.qcow

[Qemu-devel] [PATCH v2 0/3] block/file-posix: File locking during creation

2018-05-09 Thread Max Reitz
[Unchanged text from v1 ahead] Currently we do not take permissions on a file while it is being created. That is a bit sad. The simplest way to test this is the following: $ qemu-img create -f qcow2 foo.qcow2 64M Formatting 'foo.qcow2', fmt=qcow2 size=67108864 cluster_size=65536 lazy_r