mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
virt-install: Support --video vram64= (bz 1377080)
This commit is contained in:
parent
d31e933f24
commit
1757e394bb
@ -281,7 +281,7 @@
|
||||
<model type="cirrus"/>
|
||||
</video>
|
||||
<video>
|
||||
<model type="qxl" vram="3" heads="4" vgamem="1" ram="2">
|
||||
<model type="qxl" vram="3" heads="4" vgamem="1" ram="2" vram64="65">
|
||||
<acceleration accel3d="yes"/>
|
||||
</model>
|
||||
</video>
|
||||
|
@ -525,7 +525,7 @@ c.add_compare(""" \
|
||||
--sound ac97 \
|
||||
\
|
||||
--video cirrus \
|
||||
--video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes \
|
||||
--video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 \
|
||||
\
|
||||
--smartcard passthrough,type=spicevmc \
|
||||
--smartcard type=host \
|
||||
|
@ -2571,6 +2571,7 @@ ParserVideo.add_arg("accel3d", "accel3d", is_onoff=True)
|
||||
ParserVideo.add_arg("heads", "heads")
|
||||
ParserVideo.add_arg("ram", "ram")
|
||||
ParserVideo.add_arg("vram", "vram")
|
||||
ParserVideo.add_arg("vram64", "vram64")
|
||||
ParserVideo.add_arg("vgamem", "vgamem")
|
||||
|
||||
|
||||
|
@ -40,6 +40,7 @@ class VirtualVideoDevice(VirtualDevice):
|
||||
default_cb=lambda s: "cirrus",
|
||||
default_name=MODEL_DEFAULT)
|
||||
vram = XMLProperty("./model/@vram", is_int=True)
|
||||
vram64 = XMLProperty("./model/@vram64", is_int=True)
|
||||
ram = XMLProperty("./model/@ram", is_int=True)
|
||||
heads = XMLProperty("./model/@heads", is_int=True)
|
||||
vgamem = XMLProperty("./model/@vgamem", is_int=True)
|
||||
|
Loading…
Reference in New Issue
Block a user