From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tal4j-00087m-Et for qemu-devel@nongnu.org; Tue, 20 Nov 2012 05:29:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tal4f-0001w1-HY for qemu-devel@nongnu.org; Tue, 20 Nov 2012 05:29:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tal4f-0001vu-9W for qemu-devel@nongnu.org; Tue, 20 Nov 2012 05:29:01 -0500 Message-ID: <50AB5B68.7080203@redhat.com> Date: Tue, 20 Nov 2012 11:28:56 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1353330711-20207-1-git-send-email-alexl@redhat.com> <50AB3631.2080000@redhat.com> <87r4noehaa.fsf@blackfin.pond.sub.org> In-Reply-To: <87r4noehaa.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qxl: Export "mode" as a property List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Alexander Larsson , Anthony Liguori , qemu-devel@nongnu.org On 11/20/12 10:48, Markus Armbruster wrote: > [Cc'ing Anthony because this could be of general QOM interest] > > Gerd Hoffmann writes: > >> On 11/19/12 14:11, Alexander Larsson wrote: >>> This way you can easily tell from qemu if the guest is using >>> a qxl driver or not. >> >> Device properties are for configuration, not inspection. > > Read-only properties could serve fine as generic inspection mechanism. We don't have read-only properties, at least not in the qdev world. Dunno whenever QOM is different and whenever there is some way to query QOM properties via monitor. All those funky qom monitor commands seem not to be in master yet ... cheers, Gerd