aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rwxr-xr-xscripts/disk_image5
2 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index f4213d5..cb0cb13 100644
--- a/README.md
+++ b/README.md
@@ -203,6 +203,10 @@ Where:
- DOMU_CPUPOOL[number] specifies the id of the cpupool (created using
CPUPOOL[number] option, where number == id) that will be assigned to domU.
+- DOMU_DRIVER_DOMAIN[number] if set to 1 the domain is a driver domain.
+ Set driver_domain in xl config file. This option is only available for
+ the disk_image script.
+
- LINUX is optional but specifies the Linux kernel for when Xen is NOT
used. To enable this set any LINUX\_\* variables and do NOT set the
XEN variable.
diff --git a/scripts/disk_image b/scripts/disk_image
index 97e798f..07245f9 100755
--- a/scripts/disk_image
+++ b/scripts/disk_image
@@ -396,6 +396,11 @@ function generate_domU_configs()
echo "memory=${DOMU_MEM[$i]}" >> $dest
echo "vcpus=${DOMU_VCPUS[$i]}" >> $dest
+ if test "${DOMU_DRIVER_DOMAIN[$i]}"
+ then
+ echo "driver_domain=${DOMU_DRIVER_DOMAIN[$i]}" >> $dest
+ fi
+
echo "# mount $first_part /boot" >> $dest
echo "kernel=\"/boot/${DOMU_KERNEL[$i]}\"" >> $dest
if test "${DOMU_RAMDISK[$i]}"