[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH for-4.10 3/3] examples: add a PVH guest config file template



Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/examples/xlexample.pvhlinux | 42 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 tools/examples/xlexample.pvhlinux

diff --git a/tools/examples/xlexample.pvhlinux 
b/tools/examples/xlexample.pvhlinux
new file mode 100644
index 0000000000..18305b80af
--- /dev/null
+++ b/tools/examples/xlexample.pvhlinux
@@ -0,0 +1,42 @@
+# =====================================================================
+# Example PVH Linux guest configuration
+# =====================================================================
+#
+# This is a fairly minimal example of what is required for a
+# PVH Linux guest. For a more complete guide see xl.cfg(5)
+
+# This configures a PVH rather than PV guest
+type = "pvh"
+
+# Guest name
+name = "example.pvhlinux"
+
+# 128-bit UUID for the domain as a hexadecimal number.
+# Use "uuidgen" to generate one if required.
+# The default behavior is to generate a new UUID each time the guest is 
started.
+#uuid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
+
+# Kernel image to boot
+kernel = "/boot/vmlinuz"
+
+# Ramdisk (optional)
+#ramdisk = "/boot/initrd.gz"
+
+# Kernel command line options
+extra = "root=/dev/xvda1"
+
+# Initial memory allocation (MB)
+memory = 512
+
+# Number of VCPUS
+vcpus = 4
+
+# Network devices
+# A list of 'vifspec' entries as described in
+# docs/misc/xl-network-configuration.markdown
+vif = [ '' ]
+
+# Disk Devices
+# A list of `diskspec' entries as described in
+# docs/misc/xl-disk-configuration.txt
+disk = [ '/dev/zvol/tank/guest-volume,raw,xvda,rw' ]
-- 
2.13.5 (Apple Git-94)


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.