mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Contains: * Reverse-engineered notes of the legacy format from xg_save_restore.h * Python implementation of the legacy format * Public HVM Params used in the legacy stream * XL header format Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Ian Campbell <Ian.Campbell@citrix.com> CC: Ian Jackson <Ian.Jackson@eu.citrix.com> CC: Wei Liu <wei.liu2@citrix.com> --- New in v2 - removes various many magic numbers from subsequent scripts
22 lines
614 B
Python
22 lines
614 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
Xen public ABI constants, used in migration
|
|
"""
|
|
|
|
HVM_PARAM_STORE_PFN = 1
|
|
HVM_PARAM_IOREQ_PFN = 5
|
|
HVM_PARAM_BUFIOREQ_PFN = 6
|
|
HVM_PARAM_VIRIDIAN = 9
|
|
HVM_PARAM_IDENT_PT = 12
|
|
HVM_PARAM_VM86_TSS = 15
|
|
HVM_PARAM_CONSOLE_PFN = 17
|
|
HVM_PARAM_ACPI_IOPORTS_LOCATION = 19
|
|
HVM_PARAM_PAGING_RING_PFN = 27
|
|
HVM_PARAM_MONITOR_RING_PFN = 28
|
|
HVM_PARAM_SHARING_RING_PFN = 29
|
|
HVM_PARAM_IOREQ_SERVER_PFN = 32
|
|
HVM_PARAM_NR_IOREQ_SERVER_PAGES = 33
|
|
HVM_PARAM_VM_GENERATION_ID_ADDR = 34
|