Searched hist:"8 bfea15ddac3a0ae832f181653c36e020f24f007" (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/include/block/ |
H A D | block.h | diff 8bfea15ddac3a0ae832f181653c36e020f24f007 Fri Apr 11 12:16:36 CDT 2014 Kevin Wolf <kwolf@redhat.com> block: Unlink temporary files in raw-posix/win32
Instead of having unlink() calls in the generic block layer, where we aren't even guarateed to have a file name, move them to those block drivers that are actually used and that always have a filename. Gets us rid of some #ifdefs as well.
The patch also converts bs->is_temporary to a new BDRV_O_TEMPORARY open flag so that it is inherited in the protocol layer and the raw-posix and raw-win32 drivers can unlink the file.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
|
H A D | block_int.h | diff 8bfea15ddac3a0ae832f181653c36e020f24f007 Fri Apr 11 12:16:36 CDT 2014 Kevin Wolf <kwolf@redhat.com> block: Unlink temporary files in raw-posix/win32
Instead of having unlink() calls in the generic block layer, where we aren't even guarateed to have a file name, move them to those block drivers that are actually used and that always have a filename. Gets us rid of some #ifdefs as well.
The patch also converts bs->is_temporary to a new BDRV_O_TEMPORARY open flag so that it is inherited in the protocol layer and the raw-posix and raw-win32 drivers can unlink the file.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
|
/openbmc/qemu/ |
H A D | block.c | diff 8bfea15ddac3a0ae832f181653c36e020f24f007 Fri Apr 11 12:16:36 CDT 2014 Kevin Wolf <kwolf@redhat.com> block: Unlink temporary files in raw-posix/win32
Instead of having unlink() calls in the generic block layer, where we aren't even guarateed to have a file name, move them to those block drivers that are actually used and that always have a filename. Gets us rid of some #ifdefs as well.
The patch also converts bs->is_temporary to a new BDRV_O_TEMPORARY open flag so that it is inherited in the protocol layer and the raw-posix and raw-win32 drivers can unlink the file.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
|