summaryrefslogtreecommitdiffstats
path: root/src/vmspawn/vmspawn-util.h
diff options
context:
space:
mode:
authorSam Leonard <sam.leonard@codethink.co.uk>2024-02-14 16:38:31 +0100
committerSam Leonard <sam.leonard@codethink.co.uk>2024-02-21 11:22:40 +0100
commit018cc9eaf649eb04ebf3d353bf0a665a9deb0f1e (patch)
treee97a56d30d6b437e4730f41a494ba6d89b3d3f53 /src/vmspawn/vmspawn-util.h
parentMerge pull request #31405 from yuwata/network-ndisc-reachable-time (diff)
downloadsystemd-018cc9eaf649eb04ebf3d353bf0a665a9deb0f1e.tar.xz
systemd-018cc9eaf649eb04ebf3d353bf0a665a9deb0f1e.zip
vmspawn: correctly escape ',' in certain values passed to qemu
Diffstat (limited to 'src/vmspawn/vmspawn-util.h')
-rw-r--r--src/vmspawn/vmspawn-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vmspawn/vmspawn-util.h b/src/vmspawn/vmspawn-util.h
index 90cb97ec00..1e9da8530c 100644
--- a/src/vmspawn/vmspawn-util.h
+++ b/src/vmspawn/vmspawn-util.h
@@ -87,3 +87,5 @@ int load_ovmf_config(const char *path, OvmfConfig **ret);
int find_ovmf_config(int search_sb, OvmfConfig **ret);
int find_qemu_binary(char **ret_qemu_binary);
int vsock_fix_child_cid(int vsock_fd, unsigned *machine_cid, const char *machine);
+
+char* escape_qemu_value(const char *s);