### backend
Specifies the backend domain which this device should attach to. This
-defaults to domain 0. Specifying another domain requires setting up a
-driver domain which is outside the scope of this document.
+defaults to domain 0. This option does not work if `run_hotplug_scripts`
+is not disabled in xl.conf (see xl.conf(5) man page for more information
+on this option). Specifying another domain requires setting up a driver
+domain which is outside the scope of this document.
### rate
fprintf(stderr, "Specified backend domain does not exist, defaulting to Dom0\n");
nic->backend_domid = 0;
}
+ if (nic->backend_domid != 0 && run_hotplug_scripts) {
+ fprintf(stderr, "ERROR: the vif 'backend=' option "
+ "cannot be used in conjunction with "
+ "run_hotplug_scripts, please set "
+ "run_hotplug_scripts to 0 in xl.conf\n");
+ exit(EXIT_FAILURE);
+ }
} else if (!strcmp(p, "rate")) {
parse_vif_rate(&config, (p2 + 1), nic);
} else if (!strcmp(p, "accel")) {