From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MasAS-0003ay-8i for qemu-devel@nongnu.org; Tue, 11 Aug 2009 10:17:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MasAN-0003ZU-VT for qemu-devel@nongnu.org; Tue, 11 Aug 2009 10:17:36 -0400 Received: from [199.232.76.173] (port=34413 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MasAN-0003ZQ-Nk for qemu-devel@nongnu.org; Tue, 11 Aug 2009 10:17:31 -0400 Received: from mx2.redhat.com ([66.187.237.31]:59959) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MasAN-0000Cx-4y for qemu-devel@nongnu.org; Tue, 11 Aug 2009 10:17:31 -0400 Message-ID: <4A817D73.4020200@redhat.com> Date: Tue, 11 Aug 2009 16:17:23 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 4/4] qdev: add display capability References: <1249982427-14481-1-git-send-email-kraxel@redhat.com> <1249982427-14481-4-git-send-email-kraxel@redhat.com> <4A81755F.3060600@codemonkey.ws> In-Reply-To: <4A81755F.3060600@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org On 08/11/09 15:42, Anthony Liguori wrote: > Gerd Hoffmann wrote: >> ... and tag devices. > > Shouldn't there be a direct relationship between a capability and the > interfaces the device accepts? That is the case for some devices only. > That is, instead of explicitly marking something as having a capability > of { "ethernet" }, wouldn't you be able to infer that from the present > of a VLANClientState property? Works for ethernet (well, not yet, but most likely some day ...). What property do you use to identify sound devices? What property do you use to identify display devices? What property do you use to identify watchdog devices? cheers, Gerd