QEMU supports -v1 variant of any CPU model even though the list of versions is not defined (i.e., even { .version = 1 } item is missing). Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx> --- src/cpu_map/sync_qemu_models_i386.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_models_i386.py index 82437a6788..f71a3ab9a6 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -512,6 +512,9 @@ def expand_model(outdir, model): print(result['name']) yield result + if len(versions) == 0: + versions.append({".version": "1"}) + name = result["name"] for version in versions: result = copy.deepcopy(result) -- 2.47.0