On 1/19/23 03:54, Fabiano Rosas wrote:
QEMU machines might not have a default value defined for the -cpu
option. Add a custom init function that takes care of selecting the
default cpu in case the test did not specify one. For the machines
that do not have a default, the value MUST be provided by the test.
Signed-off-by: Fabiano Rosas<[email protected]>
---
tests/qtest/libqtest.c | 99 ++++++++++++++++++++++++++++++++++++++++++
tests/qtest/libqtest.h | 11 +++++
2 files changed, 110 insertions(+)
Looks plausible.
Reviewed-by: Richard Henderson <[email protected]>
r~