diff options
| author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-05-30 20:33:04 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-06-02 07:25:51 -0400 |
| commit | 7e0edc1bc343231029084761ebf59e522902eb49 (patch) | |
| tree | cf5fa89641b80b2775616e2224c39b7cae37d2f2 /include/xen/interface | |
| parent | d07af1f0e3a3e378074fc36322dd7b0e72d9a3e2 (diff) | |
xen: add new Xen elfnote types and use them appropriately
Define recently added XEN_ELFNOTEs, and use them appropriately.
Most significantly, this enables domain checkpointing (xm save -c).
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/xen/interface')
| -rw-r--r-- | include/xen/interface/elfnote.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/xen/interface/elfnote.h b/include/xen/interface/elfnote.h index a64d3df5bd95..7a8262c375cc 100644 --- a/include/xen/interface/elfnote.h +++ b/include/xen/interface/elfnote.h | |||
| @@ -120,6 +120,26 @@ | |||
| 120 | */ | 120 | */ |
| 121 | #define XEN_ELFNOTE_BSD_SYMTAB 11 | 121 | #define XEN_ELFNOTE_BSD_SYMTAB 11 |
| 122 | 122 | ||
| 123 | /* | ||
| 124 | * The lowest address the hypervisor hole can begin at (numeric). | ||
| 125 | * | ||
| 126 | * This must not be set higher than HYPERVISOR_VIRT_START. Its presence | ||
| 127 | * also indicates to the hypervisor that the kernel can deal with the | ||
| 128 | * hole starting at a higher address. | ||
| 129 | */ | ||
| 130 | #define XEN_ELFNOTE_HV_START_LOW 12 | ||
| 131 | |||
| 132 | /* | ||
| 133 | * List of maddr_t-sized mask/value pairs describing how to recognize | ||
| 134 | * (non-present) L1 page table entries carrying valid MFNs (numeric). | ||
| 135 | */ | ||
| 136 | #define XEN_ELFNOTE_L1_MFN_VALID 13 | ||
| 137 | |||
| 138 | /* | ||
| 139 | * Whether or not the guest supports cooperative suspend cancellation. | ||
| 140 | */ | ||
| 141 | #define XEN_ELFNOTE_SUSPEND_CANCEL 14 | ||
| 142 | |||
| 123 | #endif /* __XEN_PUBLIC_ELFNOTE_H__ */ | 143 | #endif /* __XEN_PUBLIC_ELFNOTE_H__ */ |
| 124 | 144 | ||
| 125 | /* | 145 | /* |
