]> xenbits.xensource.com Git - xen.git/commitdiff
docs: Document the ELF_FEATURES entry
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 28 Jan 2013 17:24:02 +0000 (12:24 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 26 Mar 2013 12:36:19 +0000 (08:36 -0400)
Mark-up for inclusion of generated docs.

Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/include/public/features.h

index 5b70418eeba58f0fbc192196121b06533bd6e00f..a149aa6508208b7746ba3cedc7e66ad49227be07 100644 (file)
 #ifndef __XEN_PUBLIC_FEATURES_H__
 #define __XEN_PUBLIC_FEATURES_H__
 
+/*
+ * `incontents 200 elfnotes_features XEN_ELFNOTE_FEATURES
+ *
+ * The list of all the features the guest supports. They are set by
+ * parsing the XEN_ELFNOTE_FEATURES and XEN_ELFNOTE_SUPPORTED_FEATURES
+ * string. The format is the  feature names (as given here without the
+ * "XENFEAT_" prefix) separated by '|' characters.
+ * If a feature is required for the kernel to function then the feature name
+ * must be preceded by a '!' character.
+ *
+ * Note that if XEN_ELFNOTE_SUPPORTED_FEATURES is used, then in the
+ * XENFEAT_dom0 MUST be set if the guest is to be booted as dom0,
+ */
+
 /*
  * If set, the guest does not need to write-protect its pagetables, and can
  * update them via direct writes.