Received: from eggs.gnu.org ([2001:4830:134:3::10]:37533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3PXf-0003VA-OX for qemu-devel@nongnu.org; Fri, 12 Jun 2015 10:02:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3PXZ-0000s3-VJ for qemu-devel@nongnu.org; Fri, 12 Jun 2015 10:02:43 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:53320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3PXZ-0000rz-OG for qemu-devel@nongnu.org; Fri, 12 Jun 2015 10:02:37 -0400 Date: Fri, 12 Jun 2015 10:02:35 -0400 (EDT) From: Frediano Ziglio Message-ID: <976593691.14315326.1434117755175.JavaMail.zimbra@redhat.com> In-Reply-To: <1434017457.27114.34.camel@redhat.com> References: <1434015506-6955-1-git-send-email-fziglio@redhat.com> <1434017457.27114.34.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] RFC: qxl: allow to specify head limit to qxl driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: spice-devel@lists.freedesktop.org, qemu-devel@nongnu.org > > On Do, 2015-06-11 at 10:38 +0100, Frediano Ziglio wrote: > > libvirt has this as a video card parameter (actually set to 1 but not > > used). This parameter will allow to limit setting a use can do (which > > could be confusing). > > Hmm. So heads is '1' by default but ignored today. When this starts to > be actually applied that will break existing multihead setups I suspect. > Yes, unfortunately libvirt always set the default to 1 even if not used by driver. However the Qemu default (with no parameter) is still unlimited so it's a libvirt issue more then Qemu. > > This patch rely on some change in spice-protocol which are not still > > accepted. See > > http://lists.freedesktop.org/archives/spice-devel/2015-June/020221.html. > > Spice-server changes, right? > Needs #ifdefs so qemu continues to build with old spice-server versions. > The spice-server changes need to be upstream first. > Yes, I'll do. > Also: when we pass on the limit to spice-server anyway spice-server can > take care to apply the limit both ways and not call the > ->client_monitors_config() callback with more than $limit monitors. Has > the advantage to reduce the test matrix: Limit either works or doesn't. > There will be no spice-server/qemu version combination where the limit > is applied one way only. > > Gerd > Is always Qemu that decide to apply the limitation, default (even for spice-server) is still unlimited. As Qemu compiled with option on won't run with older version there will never this problem. However I would agree that the patch for Qemu keeping all limits on one place would be smaller. Frediano