[PATCH 3/3] qemu_shim: Update temporary directory template

Andrea Bolognani abologna at redhat.com
Mon Jan 27 17:01:18 UTC 2020


The template still references libvirt-qemu-shim, which was at one
point the name used to refer to what we now know as virt-qemu-run.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 src/qemu/qemu_shim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_shim.c b/src/qemu/qemu_shim.c
index 6c6029e232..07ae6eab90 100644
--- a/src/qemu/qemu_shim.c
+++ b/src/qemu/qemu_shim.c
@@ -151,7 +151,7 @@ int main(int argc, char **argv)
     signal(SIGHUP, qemuShimSigShutdown);
 
     if (root == NULL) {
-        if (!(root = g_dir_make_tmp("libvirt-qemu-shim-XXXXXX", &error))) {
+        if (!(root = g_dir_make_tmp("virt-qemu-run-XXXXXX", &error))) {
             g_printerr("%s: cannot create temporary dir: %s\n",
                        argv[0], error->message);
             return 1;
-- 
2.24.1




More information about the libvir-list mailing list