A video device.
To specify the video devices configuration settings, use a management tool to make the following changes to the domain XML:
<model type='vga' vram='8192' heads='1'>
<acceleration accel3d='yes' accel2d='yes'/>
Figure 20.58. Video devices
graphics element has a mandatory
type attribute which takes the value "sdl", "vnc", "rdp" or "desktop" as explained below:
Table 20.22. Graphical framebuffer elements
video element is the container for describing video devices. For backwards compatibility, if no video is set but there is a
graphics element in domain xml, then libvirt will add a default
video according to the guest virtual machine type. If "ram" or "vram" are not supplied a default value is used.
|This has a mandatory |
type attribute which takes the value
qxl 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 figure with heads.
|acceleration||If acceleration is supported it should be enabled using the |
accel2d attributes in the
|The optional address sub-element can be used to tie the video device to a particular PCI slot.|