Hi team,
I've add a resolution sub-element to vga video device model, and the x
attribute is 1920, y attribute is 1080. Dumped domain xml as follow :
bash-4.4# virsh list
Authorization not available. Check if polkit service is running or
see
debug message for more information.
Id Name State
-----------------------------------
1 proj1_vm-4uaz57bh running
bash-4.4# virsh dumpxml proj1_vm-4uaz57bh | grep -i -10 vga
Authorization not available. Check if polkit service is running or see
debug message for more information.
<alias name='input1'/>
</input>
<input type='keyboard' bus='ps2'>
<alias name='input2'/>
</input>
<graphics type='vnc'
socket='/var/run/kubevirt-private/dfe7d514-63f1-4e97-b642-f93109d5aa2f/virt-vnc'>
<listen type='socket'
socket='/var/run/kubevirt-private/dfe7d514-63f1-4e97-b642-f93109d5aa2f/virt-vnc'/>
</graphics>
<audio id='1' type='none'/>
<video>
<model type='vga' vram='65536' heads='1'
primary='yes'>
<resolution x='1920' y='1080'/>
</model>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x01'
function='0x0'/>
</video>
<memballoon model='virtio-non-transitional'>
<stats period='10'/>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x07'
slot='0x00'
function='0x0'/>
</memballoon>
It does work on my ubuntu guest, but it doesn't work on centos / windows
guest. Is there any way to solve this problem ?