mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
XSA-180 provides a patch to QEMU to bodge QEMU logging issue. We explicitly set the limit in libxl for 4.7. Introduce a function for setting the environment variable and call it in the right places. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Release-acked-by: Wei Liu <wei.liu2@citrix.com> (cherry picked from commitb0d409d9c4) (cherry picked from commitfe82a96a65) Conflicts: tools/libxl/libxl_dm.c This version of libxl does not pass a dm_envs to the *build_device_model_args* functions. Instead, call libxl__set_qemu_env_for_xsa_180 in libxl__spawn_local_dm. The other call ultimate site of *build_device_model_args* (ie of libxl__build_device_model_args) is in libxl__spawn_stub_dm, where we don't need to set the env var. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> (cherry picked from commit44a703dfbe) (cherry picked from commit27f0143ef5) Conflicts: tools/libxl/libxl_dm.c Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>