mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-25 08:58:36 -07:00
- Reduce race conditions on QEMUMachine::shutdown()
1. Remove the "bare except" pattern in the existing shutdown code,
which can mask problems and make debugging difficult.
2. Ensure that post-shutdown cleanup is always performed, even when
graceful termination fails.
3. Unify cleanup paths such that no matter how the VM is terminated,
the same functions and steps are always taken to reset the object
state.
4. Rewrite shutdown() such that any error encountered when attempting
a graceful shutdown will be raised as an AbnormalShutdown exception.
The pythonic idiom is to allow the caller to decide if this is a
problem or not.
- Modify part of the python/qemu library to comply with:
. mypy --strict
. pylint
. flake8
- Script for the TCG Continuous Benchmarking project that uses
callgrind to dissect QEMU execution into three main phases:
. code generation
. JIT execution
. helpers execution
CI jobs results:
. https://cirrus-ci.com/build/5421349961203712
.
|
||
|---|---|---|
| .. | ||
| avocado_qemu | ||
| boot_linux.py | ||
| boot_linux_console.py | ||
| cpu_queries.py | ||
| empty_cpu_model.py | ||
| linux_initrd.py | ||
| linux_ssh_mips_malta.py | ||
| machine_arm_canona1100.py | ||
| machine_arm_integratorcp.py | ||
| machine_arm_n8x0.py | ||
| machine_avr6.py | ||
| machine_m68k_nextcube.py | ||
| machine_mips_malta.py | ||
| machine_rx_gdbsim.py | ||
| machine_sparc64_sun4u.py | ||
| machine_sparc_leon3.py | ||
| migration.py | ||
| pc_cpu_hotplug_props.py | ||
| ppc_prep_40p.py | ||
| README.rst | ||
| replay_kernel.py | ||
| version.py | ||
| virtio_check_params.py | ||
| virtio_version.py | ||
| vnc.py | ||
| x86_cpu_model_versions.py | ||
============================================ Acceptance tests using the Avocado Framework ============================================ This directory contains functional tests, also known as acceptance level tests. They're usually higher level, and may interact with external resources and with various guest operating systems. For more information, please refer to ``docs/devel/testing.rst``, section "Acceptance tests using the Avocado Framework".