From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVG4y-0003kO-T3 for qemu-devel@nongnu.org; Mon, 15 Feb 2016 05:08:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVG4v-0007wL-Ks for qemu-devel@nongnu.org; Mon, 15 Feb 2016 05:08:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVG4v-0007vy-Ge for qemu-devel@nongnu.org; Mon, 15 Feb 2016 05:08:25 -0500 Message-ID: <1455530899.4617.69.camel@redhat.com> From: Andrea Bolognani Date: Mon, 15 Feb 2016 11:08:19 +0100 In-Reply-To: References: <1452016711.16471.6.camel@redhat.com> <1452018414.16471.8.camel@redhat.com> <20160106113402.GA13870@cbox> <1452084567.4759.6.camel@redhat.com> <20160122144432.GJ14825@redhat.com> <20160202114933.GA11792@cbox> <20160202121010.GH18461@redhat.com> <20160202125926.GE3688@hawk.localdomain> <20160202140528.GC6190@cbox> <56B0D0AC.3010003@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [libvirt] ARM KVM GICv3 Support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , Christoffer Dall , Eric Blake Cc: Peter Maydell , Andrew Jones , Eric Auger , Libvirt , Andre Przywara , QEMU Developers , Marc Zyngier On Tue, 2016-02-02 at 16:58 +0100, Christoffer Dall wrote: > ok, so that would mean we need to implement a QMP command to tell us > which gic versions are supported for a given machine.=C2=A0=C2=A0Curren= t > possible responses are "2", "3" and "2,3" >=C2=A0 > and we also need to add code to libvirt to try that QMP command, and > if it doesn't exist, fall back to not specifying gic-version, using > the old-qemu compatible default of providing a gicv2 to guests, and if > the QMP command exists, use the newest gic-version. >=C2=A0 > users can then always override this behavior by directly specifying a > gic version "host", "2", or "3" in their xml file. >=C2=A0 > any objections? Dan voiced his preference for probing the host GIC versions from libvirt and just passing that to QEMU dealing with any failure later on, but I think that was mostly to keep things simple and not because the QMP command approach was wrong? IOW Dan, if we went ahead with the QMP command approach, would you oppose it? Peter Xu has posted some RFC QEMU patches yesterday... Cheers. --=C2=A0 Andrea Bolognani Software Engineer - Virtualization Team