numa-guest-support elfnote
Subsystems (3)
PATCH 11/11 numa-guest-support elfnote
Add numa-guest-support elfnote, if compiled with CONFIG_XEN_NUMA_GUEST
-dulloor
Signed-off-by Dulloor Rao <[email protected]>
arch/x86/xen/xen-head.S +3 -0
@@ -44,6 +44,9 @@ ENTRY(hypercall_page) ELFNOTE(Xen, XEN_ELFNOTE_ENTRY, _ASM_PTR startup_xen) ELFNOTE(Xen, XEN_ELFNOTE_HYPERCALL_PAGE, _ASM_PTR hypercall_page) ELFNOTE(Xen, XEN_ELFNOTE_FEATURES, .asciz "!writable_page_tables|pae_pgdir_above_4gb") +#ifdef CONFIG_XEN_NUMA_GUEST + ELFNOTE(Xen, XEN_ELFNOTE_FEATURES, .asciz "numa_guest_support") +#endif ELFNOTE(Xen, XEN_ELFNOTE_PAE_MODE, .asciz "yes") ELFNOTE(Xen, XEN_ELFNOTE_LOADER, .asciz "generic") ELFNOTE(Xen, XEN_ELFNOTE_L1_MFN_VALID,
include/xen/interface/features.h +15 -0
@@ -41,6 +41,21 @@/* x86: Does this Xen host support the MMU_PT_UPDATE_PRESERVE_AD hypercall? */ #define XENFEAT_mmu_pt_update_preserve_ad 5 +/* x86: Does this Xen host support the MMU_{CLEAR,COPY}_PAGE hypercall? */ +#define XENFEAT_highmem_assist 6 + +/* +* If set, GNTTABOP_map_grant_ref honors flags to be placed into guest kernel +* available pte bits. +*/ +#define XENFEAT_gnttab_map_avail_bits 7 + +/* +* If set, the guest is made aware of the underlying NUMA characteristics +* (numa guest enlightenment) +*/ +#define XENFEAT_numa_guest_support 8 +#define XENFEAT_NR_SUBMAPS 1#endif /* __XEN_PUBLIC_FEATURES_H__ */
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel