[libvirt] [PATCH 2/4] storage: Add created to virFileOpenAs
pkrempa at redhat.com
Wed Oct 7 06:50:42 UTC 2015
On Tue, Oct 06, 2015 at 18:34:54 -0400, John Ferlan wrote:
> Add a new boolean 'created' to virFileOpenAs to be set when a file
> is created either directly or in a fork'd child. This will allow
> a caller to make "decisions" regarding whether or not to delete the
> file since virFileOpenAs has many other failure scenarios and there's
> no guarantee that the O_CREAT was the cause for failure.
I don't like this approach. See 3/4 for explanation.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the libvir-list