enable spice also for virtio-gl display

It can be used with that and the agent features can make it a nicer
experience.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-04-28 08:07:08 +02:00
parent 6b4320545d
commit 463bb05f93

View File

@ -3844,7 +3844,7 @@ sub config_to_command {
my $spice_port;
if ($qxlnum) {
if ($qxlnum || $vga->{type} eq 'virtio-gl') {
if ($qxlnum > 1) {
if ($winversion){
for (my $i = 1; $i < $qxlnum; $i++){