How to change vm VGA compatible controller

Hi,
Recently I have setup a Ubuntu 18.04 kvm vm machine with gui successfully, but I can’t make it on Ubuntu 20.04. Anyway VNC doesnt work on Ubuntu 20.04 but works on 18.04. Can someone clarify the issue? So my question is how can I change vms vga controller?
In Ubuntu 20.04, here is the output of the display driver.

root@ubuntu2004:~# lspci -v | grep -i vga
00:02.0 VGA compatible controller: Cirrus Logic GD 5446 (prog-if 00 [VGA Controller]) 

Regards.

Hi @czd,

AFAIK OpenNebula does not manage the <video> element in the domain xml.

You could define a definition of a video device in the RAW section of the VM. There are some validations implemented in recent version of OpenNebula that could need to be disabled, though.

Alternative that I prefer is to use a module to tweak the video definition implemented with the deploy-tweaks from addon-storpool. This piece of code could be extracted and used as an independent script.

Best Regards,
Anton Todorov

Thanks Anton for the info and reply.
Regards.