From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acmlk-0001a0-VU for qemu-devel@nongnu.org; Sun, 06 Mar 2016 23:27:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acmlk-0006CG-3f for qemu-devel@nongnu.org; Sun, 06 Mar 2016 23:27:44 -0500 Date: Mon, 7 Mar 2016 12:27:25 +0800 From: Peter Xu Message-ID: <20160307042725.GA7438@pxdev.xzpeter.org> References: <1456993272-32292-1-git-send-email-peterx@redhat.com> <1456993272-32292-4-git-send-email-peterx@redhat.com> <1457007587.4468.2.camel@redhat.com> <20160304025255.GF30973@pxdev.xzpeter.org> <1457081004.4468.4.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1457081004.4468.4.camel@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 3/3] arm: implement query-gic-capability List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrea Bolognani Cc: wei@redhat.com, peter.maydell@linaro.org, drjones@redhat.com, armbru@redhat.com, mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org On Fri, Mar 04, 2016 at 09:43:24AM +0100, Andrea Bolognani wrote: > On Fri, 2016-03-04 at 10:52 +0800, Peter Xu wrote: > > Andrea, do you know how much effort we need to add this support for > > libvirt, say, we can specify "accel=" or "-enable-kvm" as extra > > parameter when probing? > > I'm afraid this is not going to be possible for the same reason > we have to use '-M none' when probing: at that point in time, we > simply have no idea what the guests will look like. Actually, > it's the other way around, in that the result of probing (host > and domain capabilities) will influence the guest configuration > created by the user / management tool. > > And we definitely can't use 'accel=kvm' unconditionally, because > then we won't be able to probe eg. the qemu-system-aarch64 binary > installed on a x86_64 host. Agreed. It is awkward to specify these for probing. Posting v3 to allow it work even without kvm enabled. I am using the hacky way to do it since I still have no better way to do it. Let's see whether we can get more review comments on that. Thanks! Peter