dualfroz 5f10cfd754 fix #7525: vga: allow setting the number of outputs for VirtIO GPU
With SPICE and QXL, Linux guests get 'max_outputs=4' on the display
device, so they can use up to four displays with a single device. For
the VirtIO GPU, there is no way to change QEMU's default of a single
output, so using multiple displays requires passing the whole device
via custom arguments.

Add a 'max-outputs' option to the 'vga' property, which sets the
'max_outputs' property of the VirtIO GPU, for both 'virtio' and
'virtio-gl'. QEMU supports up to 16 outputs. Other display types
reject the option, as QXL handles multiple displays on its own.

Signed-off-by: Michal Fox <me@dualfroz.com>
2026-10-03 01:53:20 +02:00
S
Description
My contributions to proxmox-git/qemu-server: 12 commits
166 KiB
0 Stars 1 Watchers 0 Forks
Languages
Perl 99.6%
Batchfile 0.4%