Hi,
Yes. Assuming the virtual hardware in question can actually act as
secondary, i.e. is fully programmable without the legacy vga ports. The
standard vga can't. The cirrus looks doable, at least you can access
the vga ports using the mmio bar.
I see, good point.
I guess the right fix here would be to return -1 in the stdvga case but
continue in the cirrus case and avoid registering the vga ioports when
used as secondary adapter.
Except that this most likely is a non-trivial effort as we have to find
and test sane ways to handle multiple guest displays.
I think having two gfx screens mapped to two qemu consoles, then be able
to switch between them via Ctrl-Alt-<nr> (like you switch today to text
consoles) could be doable without too much effort. Question is how
useful this would be as you can't see your two screens at the same time.
With qxl+spice the spice client will open a new window for the secondary
display. With vnc+sdl you'll see the primary display only.
cheers,
Gerd