]> git.proxmox.com Git - mirror_qemu.git/commit
util: replace qemu_get_local_state_pathname()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 20 Apr 2022 13:26:21 +0000 (17:26 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 21 Apr 2022 13:09:09 +0000 (17:09 +0400)
commit1fbf2665e6773d87657c2a1654d9bf272a4f1ec0
treecca3c06c3112551683a35f96fe1a04ab0a202c51
parent1b34d08f0b529ccf80e9da9d0928afa97d5d7807
util: replace qemu_get_local_state_pathname()

Simplify the function to only return the directory path. Callers are
adjusted to use the GLib function to build paths, g_build_filename().

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220420132624.2439741-39-marcandre.lureau@redhat.com>
include/qemu/osdep.h
qga/main.c
scsi/qemu-pr-helper.c
tools/virtiofsd/fuse_virtio.c
util/oslib-posix.c
util/oslib-win32.c