mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Support ram bar size for qxl devices
Adds a "ram" attribute globally to the video.model element, that changes the resulting qemu command line only if video.type == "qxl". <video> <model type='qxl' ram='65536' vram='65536' heads='1'/> </video> That attribute gets a default value of 64*1024. The schema is unchanged for other video element types. The resulting qemu command line change is the addition of -global qxl-vga.ram_size=<ram>*1024 or -global qxl.ram_size=<ram>*1024 For the main and secondary qxl devices respectively. The default for the qxl ram bar is 64*1024 kilobytes (the same as the default qxl vram bar size).
This commit is contained in:
@@ -34,10 +34,10 @@
|
||||
<clipboard copypaste='no'/>
|
||||
</graphics>
|
||||
<video>
|
||||
<model type='qxl' vram='18432' heads='1'/>
|
||||
<model type='qxl' ram='65536' vram='18432' heads='1'/>
|
||||
</video>
|
||||
<video>
|
||||
<model type='qxl' vram='32768' heads='1'/>
|
||||
<model type='qxl' ram='65536' vram='32768' heads='1'/>
|
||||
</video>
|
||||
<memballoon model='virtio'/>
|
||||
</devices>
|
||||
|
||||
Reference in New Issue
Block a user