Revert qemu debugs (#40138)

Captured some in https://github.com/systemd/systemd/issues/38240 and
they do not look too useful, and add noise, so remove them again
This commit is contained in:
Daan De Meyer
2025-12-18 22:14:21 +01:00
committed by GitHub
@@ -75,18 +75,6 @@ class Summary:
)
def tools_os_release(field: str) -> str:
return subprocess.run(
[
'bash',
'-c',
f'set -eu; . /etc/os-release; echo ${field}',
],
stdout=subprocess.PIPE,
text=True,
).stdout.rstrip()
def process_coredumps(args: argparse.Namespace, journal_file: Path) -> bool:
# Collect executable paths of all coredumps and filter out the expected ones.
@@ -627,16 +615,6 @@ def main() -> None:
*(['--', '--capability=CAP_BPF'] if not vm else []),
] # fmt: skip
# XXX: debug for https://github.com/systemd/systemd/issues/38240
if vm:
# Tracing is not supported in centos/fedora qemu builds
if tools_os_release('ID') 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)