[Spice-devel] [Qemu-devel] [RFC PATCH spice 1/2] QXL interface: add functions to identify monitors in the guest
Frediano Ziglio
fziglio at redhat.com
Fri Oct 12 10:46:37 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
>
Sorry, why fixing in Qemu is the bug is in spice-server?
I really don't follow your reasoning.
For me Qemu should not change at all and spice-server should
do the filtering. Is this not fixing everything?
Frediano
More information about the Spice-devel
mailing list