From ffa511b9dac03d3fbf3c3fe85514e8ed135a955a Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Mon, 2 Jun 2025 12:15:53 +0100 Subject: [PATCH] Revert tools/python part of "tools: remove support for running a guest with qemu-traditional" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The migration stream is a stable ABI. What this does is break the ability to inspection and operate on pre-Xen-4.21 streams. Signed-off-by: Andrew Cooper Acked-by: Marek Marczykowski-Górecki Acked-by: Anthony PERARD --- tools/python/xen/migration/libxl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/python/xen/migration/libxl.py b/tools/python/xen/migration/libxl.py index dc5c7ac355..5dcb50fe02 100644 --- a/tools/python/xen/migration/libxl.py +++ b/tools/python/xen/migration/libxl.py @@ -51,10 +51,12 @@ rec_type_to_str = { EMULATOR_HEADER_FORMAT = "II" EMULATOR_ID_unknown = 0x00000000 +EMULATOR_ID_qemu_trad = 0x00000001 EMULATOR_ID_qemu_upstream = 0x00000002 emulator_id_to_str = { EMULATOR_ID_unknown : "Unknown", + EMULATOR_ID_qemu_trad : "Qemu Traditional", EMULATOR_ID_qemu_upstream : "Qemu Upstream", }