qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 1/4] cutils: Introduce bundle mechanism


From: Paolo Bonzini
Subject: Re: [PATCH v4 1/4] cutils: Introduce bundle mechanism
Date: Wed, 15 Jun 2022 10:19:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

On 6/14/22 23:07, Akihiko Odaki wrote:
diff --git a/util/cutils.c b/util/cutils.c
index a58bcfd80e7..fe3bbb1c4eb 100644
--- a/util/cutils.c
+++ b/util/cutils.c
@@ -1086,3 +1086,36 @@ char *get_relocated_path(const char *dir)
      }
      return g_string_free(result, false);
  }
+
+static const char * const bundle_formats[] = {
+    "%s" G_DIR_SEPARATOR_S ".." G_DIR_SEPARATOR_S "%s",
+    "%s" G_DIR_SEPARATOR_S "qemu-bundle" G_DIR_SEPARATOR_S "%s"
+};

Why do you need both?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]