Optional. Handle to a xen,cpupool device tree node that identifies the
cpupool where the guest will be started at boot.
+- xen,enhanced
+
+ A string property. Possible property values are:
+
+ - "enabled" (or missing property value)
+ Xen PV interfaces, including grant-table and xenstore, will be
+ enabled for the VM.
+
+ - "disabled"
+ Xen PV interfaces are disabled.
+
+ If the xen,enhanced property is present with no value, it defaults
+ to "enabled". If the xen,enhanced property is not present, PV
+ interfaces are disabled.
+
+ In the future other possible property values might be added to
+ enable only selected interfaces.
+
Under the "xen,domain" compatible node, one or more sub-nodes are present
for the DomU kernel and ramdisk.
const struct dt_device_node *node)
{
struct kernel_info kinfo = {};
+ const char *dom0less_enhanced;
int rc;
u64 mem;
kinfo.vpl011 = dt_property_read_bool(node, "vpl011");
+ rc = dt_property_read_string(node, "xen,enhanced", &dom0less_enhanced);
+ if ( rc == -EILSEQ ||
+ rc == -ENODATA ||
+ (rc == 0 && !strcmp(dom0less_enhanced, "enabled")) )
+ {
+ if ( hardware_domain )
+ kinfo.dom0less_enhanced = true;
+ else
+ panic("Tried to use xen,enhanced without dom0\n");
+ }
+
if ( vcpu_create(d, 0) == NULL )
return -ENOMEM;