Commit 7a7f60af authored by Jim Fehlig's avatar Jim Fehlig

libxl: Call setsid(2) before exec'ing device model

While doing development on libvirt libxenlight driver I noticed
that terminating a libxenlight client causes any qemu-dm
processes that were indirectly created by the client to also
terminate.  Calling setsid(2) before exec'ing qemu-dm resolves
the issue.
Signed-off-by: default avatarJim Fehlig <>
Acked-by: default avatarIan Jackson <>
Acked-by: default avatarStefano Stabellini <>
Committed-by: default avatarIan Jackson <>
parent f95c07dd
......@@ -694,6 +694,7 @@ retry_transaction:
if (rc < 0)
goto out_close;
if (!rc) { /* inner child */
libxl__exec(null, logfile_w, logfile_w,
libxl__abs_path(&gc, info->device_model, libxl_libexec_path()),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment