Again to chase https://github.com/systemd/systemd/issues/38240
as suggested on QEMU's matrix channel
# XXX: debug for https://github.com/systemd/systemd/issues/38240
if vm:
- cmd += ['--qemu-args=-d cpu_reset,guest_errors -D /dev/stderr']
+ # Tracing is not supported in centos/fedora qemu builds
+ if summary.distribution in ('centos', 'fedora'):
+ cmd += ['--qemu-args=-d cpu_reset,guest_errors -D /dev/stderr']
+ else:
+ cmd += [
+ '--qemu-args=-d cpu_reset,guest_errors,trace:kvm_run_exit_system_event,trace:qemu_system_\*_request -D /dev/stderr' # noqa: E501
+ ]
try:
result = subprocess.run(cmd)