[Spice-devel] [RFC PATCH spice 1/2] QXL interface: add functions to identify monitors in the guest
Gerd Hoffmann
kraxel at redhat.com
Fri Oct 12 10:42:22 UTC 2018
Hi,
> > When using qemu_console_get_head() it doesn't work correctly, it would
> > use the qxl card's data. It would work if spice-server would filter the
> > list to only include the entries for the given display channel before
> > calling the ->client_monitors_config() callback. But it doesn't, we get
> > the complete set.
>
> That's why I said is a bug, IMHO it should.
Hmm, this should be easily detectable on qemu side I think. If
num_of_monitors (for a non-qxl card) is > 1, then we have an old,
non-filtering spice-server. If num_of_monitors == 1, then it is a new,
filtering spice-server. Or a single-head channel configuration, in
which case it doesn't matter whenever it filters or not.
So this should be fixable without causing too much compatibility pain.
cheers,
Gerd
More information about the Spice-devel
mailing list