Change the default amount of video ram to 16MB (#1435)

Libvirt did already change the current 9216kb
to 16384kb when starting a domain so in practice this is a no-op.

The libvirt default was changed in 2014 in 81ba2298b2
This commit is contained in:
Ruben Kerkhof
2022-01-17 15:10:23 +01:00
committed by GitHub
parent 6ba7dcf178
commit a9e0fefa1d
23 changed files with 23 additions and 23 deletions

View File

@@ -610,7 +610,7 @@ end
values](http://libvirt.org/formatdomain.html#elementsVideo) are "vga", values](http://libvirt.org/formatdomain.html#elementsVideo) are "vga",
"cirrus", "vmvga", "xen", "vbox", or "qxl". "cirrus", "vmvga", "xen", "vbox", or "qxl".
* `video_vram` - Used by some graphics card types to vary the amount of RAM * `video_vram` - Used by some graphics card types to vary the amount of RAM
dedicated to video. Defaults to 9216. dedicated to video. Defaults to 16384.
* `video_accel3d` - Set to `true` to enable 3D acceleration. Defaults to * `video_accel3d` - Set to `true` to enable 3D acceleration. Defaults to
`false`. `false`.
* `sound_type` - [Set the virtual sound card](https://libvirt.org/formatdomain.html#elementsSound) * `sound_type` - [Set the virtual sound card](https://libvirt.org/formatdomain.html#elementsSound)

View File

@@ -879,7 +879,7 @@ module VagrantPlugins
@graphics_port = -1 if @graphics_port == UNSET_VALUE @graphics_port = -1 if @graphics_port == UNSET_VALUE
@graphics_ip = '127.0.0.1' if @graphics_ip == UNSET_VALUE @graphics_ip = '127.0.0.1' if @graphics_ip == UNSET_VALUE
@video_type = 'cirrus' if @video_type == UNSET_VALUE @video_type = 'cirrus' if @video_type == UNSET_VALUE
@video_vram = 9216 if @video_vram == UNSET_VALUE @video_vram = 16384 if @video_vram == UNSET_VALUE
@video_accel3d = false if @video_accel3d == UNSET_VALUE @video_accel3d = false if @video_accel3d == UNSET_VALUE
@graphics_gl = @video_accel3d if @graphics_gl == UNSET_VALUE @graphics_gl = @video_accel3d if @graphics_gl == UNSET_VALUE
@sound_type = nil if @sound_type == UNSET_VALUE @sound_type = nil if @sound_type == UNSET_VALUE

View File

@@ -43,7 +43,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -37,7 +37,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -37,7 +37,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -43,7 +43,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -41,7 +41,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -49,7 +49,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -66,7 +66,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -61,7 +61,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -61,7 +61,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -42,7 +42,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us' /> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us' />
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -32,7 +32,7 @@
<input bus='ps2' type='mouse'/> <input bus='ps2' type='mouse'/>
<graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc'/> <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc'/>
<video> <video>
<model heads='1' type='cirrus' vram='9216'/> <model heads='1' type='cirrus' vram='16384'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -30,7 +30,7 @@
<input bus='ps2' type='mouse'/> <input bus='ps2' type='mouse'/>
<graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc'/> <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc'/>
<video> <video>
<model heads='1' type='cirrus' vram='9216'/> <model heads='1' type='cirrus' vram='16384'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -30,7 +30,7 @@
<input bus='ps2' type='mouse'/> <input bus='ps2' type='mouse'/>
<graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc'/> <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc'/>
<video> <video>
<model heads='1' type='cirrus' vram='9216'/> <model heads='1' type='cirrus' vram='16384'/>
</video> </video>
<tpm model='tpm-tis'><backend type='passthrough'><device path='/dev/tpm0'/></backend></tpm></devices> <tpm model='tpm-tis'><backend type='passthrough'><device path='/dev/tpm0'/></backend></tpm></devices>
</domain> </domain>

View File

@@ -30,7 +30,7 @@
<input bus='ps2' type='mouse'/> <input bus='ps2' type='mouse'/>
<graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc'/> <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc'/>
<video> <video>
<model heads='1' type='cirrus' vram='9216'/> <model heads='1' type='cirrus' vram='16384'/>
</video> </video>
<tpm model='tpm-crb'><backend type='emulator' version='2.0'/></tpm></devices> <tpm model='tpm-crb'><backend type='emulator' version='2.0'/></tpm></devices>
</domain> </domain>

View File

@@ -52,7 +52,7 @@
</graphics> </graphics>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1' primary='yes'/> <model type='cirrus' vram='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video> </video>
<memballoon model='virtio'> <memballoon model='virtio'>

View File

@@ -98,7 +98,7 @@
<gl enable='yes'/> <gl enable='yes'/>
</graphics> </graphics>
<video> <video>
<model type='cirrus' vram='9216' heads='1'> <model type='cirrus' vram='16384' heads='1'>
<acceleration accel3d='yes'/> <acceleration accel3d='yes'/>
</model> </model>
</video> </video>

View File

@@ -33,7 +33,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -31,7 +31,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -31,7 +31,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
</devices> </devices>
</domain> </domain>

View File

@@ -31,7 +31,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
<tpm model='tpm-tis'> <tpm model='tpm-tis'>
<backend type='passthrough'> <backend type='passthrough'>

View File

@@ -31,7 +31,7 @@
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='16384' heads='1'/>
</video> </video>
<tpm model='tpm-crb'> <tpm model='tpm-crb'>
<backend type='emulator' version='2.0'> <backend type='emulator' version='2.0'>