Re: [Qemu-devel] [PATCH 1/1] block: use /var/tmp instead of /tmp for -snapshot

2014-02-27 Thread Eric Blake
On 02/27/2014 04:33 AM, Amit Shah wrote: > On (Thu) 27 Feb 2014 [11:18:15], Stefan Hajnoczi wrote: >> On Wed, Feb 26, 2014 at 03:12:37PM +0530, Amit Shah wrote: >>> If TMPDIR is not specified, the default was to use /tmp for the working >>> copy of the block devices. Update this to /var/tmp instea

Re: [Qemu-devel] [PATCH 1/1] block: use /var/tmp instead of /tmp for -snapshot

2014-02-27 Thread Amit Shah
On (Thu) 27 Feb 2014 [11:18:15], Stefan Hajnoczi wrote: > On Wed, Feb 26, 2014 at 03:12:37PM +0530, Amit Shah wrote: > > If TMPDIR is not specified, the default was to use /tmp for the working > > copy of the block devices. Update this to /var/tmp instead, so systems > > using tmp-on-tmpfs don't e

Re: [Qemu-devel] [PATCH 1/1] block: use /var/tmp instead of /tmp for -snapshot

2014-02-27 Thread Stefan Hajnoczi
On Wed, Feb 26, 2014 at 03:12:37PM +0530, Amit Shah wrote: > If TMPDIR is not specified, the default was to use /tmp for the working > copy of the block devices. Update this to /var/tmp instead, so systems > using tmp-on-tmpfs don't end up inadvertently using RAM for the block > device. > > Signe

[Qemu-devel] [PATCH 1/1] block: use /var/tmp instead of /tmp for -snapshot

2014-02-26 Thread Amit Shah
If TMPDIR is not specified, the default was to use /tmp for the working copy of the block devices. Update this to /var/tmp instead, so systems using tmp-on-tmpfs don't end up inadvertently using RAM for the block device. Signed-off-by: Amit Shah --- block.c | 5 +++-- 1 file changed, 3 insertio