diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 48b1a7f534..1a7eeaefbe 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -4679,7 +4679,7 @@ qemu-kvm -net nic,model=? /dev/null ... <devices> <video> - <model type='vga' vram='8192' heads='1'> + <model type='vga' vram='16384' heads='1'> <acceleration accel3d='yes' accel2d='yes'/> </model> </video> @@ -4689,33 +4689,51 @@ qemu-kvm -net nic,model=? /dev/null
video
video
element is the container for describing
- video devices. For backwards compatibility, if no video
- is set but there is a graphics
in domain xml, then libvirt
- will add a default video
according to the guest type.
- For a guest of type "kvm", the default video
for it is:
- type
with value "cirrus", vram
with value
- "9216", and heads
with value "1". By default, the first
- video device in domain xml is the primary one, but the optional
- attribute primary
(since 1.0.2)
- with value 'yes' can be used to mark the primary in cases of multiple
- video device. The non-primary must be type of "qxl". The optional
- attribute ram
(since
- 1.0.2) is allowed for "qxl" type only and specifies
- the size of the primary bar, while vram
specifies the
- secondary bar size. If "ram" or "vram" are not supplied a default
- value is used.
+
+ The video
element is the container for describing
+ video devices. For backwards compatibility, if no video
+ is set but there is a graphics
in domain xml, then
+ libvirt will add a default video
according to the guest
+ type.
+
+ For a guest of type "kvm", the default video
is:
+ type
with value "cirrus", vram
with value
+ "16384" and heads
with value "1". By default, the first
+ video device in domain xml is the primary one, but the optional
+ attribute primary
(since 1.0.2)
+ with value 'yes' can be used to mark the primary in cases of multiple
+ video device. The non-primary must be type of "qxl".
+
model
model
element has a mandatory type
- attribute which takes the value "vga", "cirrus", "vmvga", "xen",
- "vbox", or "qxl" (since 0.8.6)
- depending on the hypervisor features available.
- You can also provide the amount of video memory in kibibytes
- (blocks of 1024 bytes) using
- vram
and the number of screen with heads
.
+
+ The model
element has a mandatory type
+ attribute which takes the value "vga", "cirrus", "vmvga", "xen",
+ "vbox", or "qxl" (since 0.8.6) depending
+ on the hypervisor features available.
+
+ You can provide the amount of video memory in kibibytes (blocks of
+ 1024 bytes) using vram
. This is supported only for guest
+ type of "libxl", "parallels", "qemu", "vbox", "vmx" and "xen". If no
+ value is provided the default is used. If the size is not a power of
+ two it will be rounded to closest one.
+
+ The number of screen can be set using heads
. This is
+ supported only for guests type of "parallels", "kvm", "vbox" and "vmx".
+
+ For guest type of kvm the optional attribute ram
+ (since 1.0.2) is allowed for "qxl" type
+ only and specifies the size of the primary bar, while the optional
+ attribute vram
specifies the secondary bar size.
+ If "ram" or "vram" are not supplied a default value is used. The ram
+ should also be rounded to power of two as vram.
+
acceleration