[dts] [PATCH v2 15/16] conf/virt_global: add vm management related configuration

Marvin Liu yong.liu at intel.com
Wed Jan 10 01:11:13 CET 2018


Signed-off-by: Marvin Liu <yong.liu at intel.com>

diff --git a/conf/virt_global.cfg b/conf/virt_global.cfg
index 176650a..58ca061 100644
--- a/conf/virt_global.cfg
+++ b/conf/virt_global.cfg
@@ -1,6 +1,23 @@
 # virtualization global configurations
 #[LIBVIRT]
 #[KVM]
+# start: settings for VM startup check
+#    wait_second: [wait seconds for VM startup]
+#                  Will retry once if can't start in this time
+#    login_timeout: [seconds for login session timeout]
+#                    used in login action command, login session will reset when timeout happened
+#    login_prompt: [prompt string]
+#    password_prompt: [prompt string]
+# control: type for connect and manage the virtual machine
+#   type : [qga|telnet|socket]
+#           qga: control VM by quest qemu agent
+#           telnet: control VM by serial port, serial port will redirect to telnet port
+#           socket : control VM by serial port, serial port will redirect to unix socket domain
+# vnc: setting for the virtual machine
+#    disable: [True|False]
+#              True: Disable display
+#              False: Enable display, will automatically allocate display port if no displayNumber option
+#    displayNumber: [display number]
 #[XEN]
 [LIBVIRT]
 cpu =
@@ -12,6 +29,12 @@ cpu =
     model=host,number=4,cpupin=3 4 5 6;
 mem =
     size=2048;
+start =
+    wait_seconds=120,login_timeout=60,login_prompt=login:,password_prompt=Password:;
+control =
+    type=qga;
+vnc =
+    disable=False;
 [XEN]
 cpu = 
     number=4,cpupin=3 4 5 6;
@@ -19,4 +42,3 @@ mem =
     size=2048;
 vif =
     mac=random,bridge=br0
-    
-- 
1.9.3



More information about the dts mailing list