From 24e0171b86e2d24ecc58b5b56f05084ab3fa6b4c Mon Sep 17 00:00:00 2001 From: Florian Vichot Date: Tue, 22 Sep 2009 10:32:14 +0200 Subject: [PATCH] add doc for graphic and video elements * docs/formatdomain.html.in: explain the new syntax of the video and graphic elements in the domain XML --- docs/formatdomain.html.in | 83 ++++++++++++++++++++++++++++++++------- 1 file changed, 69 insertions(+), 14 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 915814d792..39b2b56b3c 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -687,26 +687,81 @@ qemu-kvm -net nic,model=? /dev/null
           ...
+	  <graphics type='sdl' display=':0.0'/>
 	  <graphics type='vnc' port='5904'/>
+	  <graphics type='rdp' autoport='yes' multiUser='yes' />
+	  <graphics type='desktop' fullscreen='yes'/>
 	  ...
graphics
The graphics element has a mandatory type - attribute which takes the value "sdl" or "vnc". The former displays - a window on the host desktop, while the latter activates a VNC server. - The former accepts 3 optional arguments: a display - attribute for the display to use, an xauth attribute for - the authentication identifier, and an optional fullscreen - attribute accepting values 'yes' or 'no'. - If the latter is used the port attribute specifies the TCP - port number (with -1 as legacy syntax indicating that it should be - auto-allocated). The autoport attribute is the new - preferred syntax for indicating autoallocation of the TCP port to use. - The listen attribute is an IP address for the server to - listen on. The passwd attribute provides a VNC password - in clear text. The keymap attribute specifies the keymap - to use.
+ attribute which takes the value "sdl", "vnc", "rdp" or "desktop": +
+
"sdl"
+
+ This displays a window on the host desktop, it can take 3 optional arguments: + a display attribute for the display to use, an xauth + attribute for the authentication identifier, and an optional fullscreen + attribute accepting values 'yes' or 'no'. +
+
"vnc"
+
+ Starts a VNC server. The port attribute specifies the TCP + port number (with -1 as legacy syntax indicating that it should be + auto-allocated). The autoport attribute is the new + preferred syntax for indicating autoallocation of the TCP port to use. + The listen attribute is an IP address for the server to + listen on. The passwd attribute provides a VNC password + in clear text. The keymap attribute specifies the keymap + to use. +
+
"rdp"
+
+ Starts a RDP server. The port attribute + specifies the TCP port number (with -1 as legacy syntax indicating + that it should be auto-allocated). The autoport attribute + is the new preferred syntax for indicating autoallocation of the TCP + port to use. The replaceUser attribute is a boolean deciding + whether multiple simultaneous connections to the VM are permitted. + The multiUser whether the existing connection must be dropped + and a new connection must be established by the VRDP server, when a new + client connects in single connection mode. + +
+
"desktop"
+
+ This value is reserved for VirtualBox domains for the moment. It displays + a window on the host desktop, similarly to "sdl", but using the VirtualBox + viewer. Just like "sdl", it accepts the optional attributes display + and fullscreen. +
+
+ +
+ +

Video devices

+

+ A video device. +

+ +
+      ...
+      <video type='vga' nvram='8192' heads='1'>
+        <acceleration accel3d='yes' accel3d='yes' />
+      </video>
+      ...
+    
+ +
+
video
+
The video element has a mandatory type + attribute which takes the value "vga", "cirrus", "vmvga", "xen" or "vbox". + You can also provide the amount of video memory using nvram, + the number of screen with heads, and whether acceleration + should be enabled (if supported) using the accel3d and + accel2d attributes in the acceleration element. +

Consoles, serial & parallel devices