Revert tools/python part of "tools: remove support for running a guest with qemu-traditional"
PATCH 1/1 Revert tools/python part of "tools: remove support for running a guest with qemu-traditional"
The migration stream is a stable ABI. What this does is break the ability to inspection and operate on pre-Xen-4.21 streams.
---
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Anthony PERARD <[email protected]>
CC: Juergen Gross <[email protected]>
--- tools/python/xen/migration/libxl.py | 2 ++ 1 file changed, 2 insertions(+)
tools/python/xen/migration/libxl.py +2 -0
@@ -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", }
base-commit: 286c4cc267005f73aba831d22d65abe6874ceaea
Signature · 1 line
2.39.5
Quoted 2 lines · Andrew Cooper
The migration stream is a stable ABI. What this does is break the ability to inspection and operate on pre-Xen-4.21 streams.
Do you mean Xen 4.21 should be able to accept migration of a domU with qemu trad? I don't think it's a desirable feature...
Quoted 31 lines
Signed-off-by Andrew Cooper <[email protected]>---
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Anthony PERARD <[email protected]>
CC: Juergen Gross <[email protected]>--- tools/python/xen/migration/libxl.py | 2 ++ 1 file changed, 2 insertions(+)tools/python/xen/migration/libxl.py +2
-0@@ -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", }base-commit:
286c4cc267005f73aba831d22d65abe6874ceaeaSignature · 1 line
2.39.5
Signature · 3 lines
Best Regards, Marek Marczykowski-Górecki Invisible Things Lab
Quoted 5 lines · Marek Marczykowski-Górecki
Quoted 2 lines · Andrew Cooper
The migration stream is a stable ABI. What this does is break the ability to inspection and operate on pre-Xen-4.21 streams.
Do you mean Xen 4.21 should be able to accept migration of a domU with qemu trad? I don't think it's a desirable feature...
xl is free to reject a qemu-trad stream if it wants.
What's not ok is verify-stream-v2 exploding with "unknown emulator 1" when I ask it to tell me what the bytes in this stream mean.
~Andrew
Marek Marczykowski-Górecki
Acked-byQuoted 11 lines · Andrew Cooper
Quoted 5 lines · Marek Marczykowski-Górecki
Quoted 2 lines · Andrew Cooper
The migration stream is a stable ABI. What this does is break the ability to inspection and operate on pre-Xen-4.21 streams.
Do you mean Xen 4.21 should be able to accept migration of a domU with qemu trad? I don't think it's a desirable feature...
xl is free to reject a qemu-trad stream if it wants.
What's not ok is verify-stream-v2 exploding with "unknown emulator 1" when I ask it to tell me what the bytes in this stream mean.
I see, in that case:
Signature · 3 lines
Best Regards, Marek Marczykowski-Górecki Invisible Things Lab
Quoted 4 lines · Andrew Cooper
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 <[email protected]>
Thanks,
Signature · 5 lines
Anthony Perard | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech