diff options
author | Sam Leonard <sam.leonard@codethink.co.uk> | 2024-02-14 16:38:31 +0100 |
---|---|---|
committer | Sam Leonard <sam.leonard@codethink.co.uk> | 2024-02-21 11:22:40 +0100 |
commit | 018cc9eaf649eb04ebf3d353bf0a665a9deb0f1e (patch) | |
tree | e97a56d30d6b437e4730f41a494ba6d89b3d3f53 /src/vmspawn/vmspawn-util.h | |
parent | Merge pull request #31405 from yuwata/network-ndisc-reachable-time (diff) | |
download | systemd-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.h | 2 |
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); |