util/qemu-sockets: Use g_get_tmp_dir() to get the directory for temporary files
commit926a895c2cfcd621373eb86288dd83d08cb53f15
authorBin Meng <bin.meng@windriver.com>
Tue, 27 Sep 2022 11:05:42 +0000 (27 19:05 +0800)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 26 Oct 2022 12:32:08 +0000 (26 13:32 +0100)
tree37dc5125db79b1ed0b61cd7aa1c97298a9742aa1
parentbf98afc75efedf10965a3f2d98aa43c234cf69ed
util/qemu-sockets: Use g_get_tmp_dir() to get the directory for temporary files

Replace the existing logic to get the directory for temporary files
with g_get_tmp_dir(), which works for win32 too.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
util/qemu-sockets.c