From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPruH-0000HQ-6q for qemu-devel@nongnu.org; Tue, 27 Jun 2017 10:55:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPruD-0001go-5p for qemu-devel@nongnu.org; Tue, 27 Jun 2017 10:55:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56712) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dPruD-0001eK-0k for qemu-devel@nongnu.org; Tue, 27 Jun 2017 10:55:53 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EE7508E766 for ; Tue, 27 Jun 2017 14:55:51 +0000 (UTC) Date: Tue, 27 Jun 2017 11:55:48 -0300 From: Eduardo Habkost Message-ID: <20170627145548.GZ12152@localhost.localdomain> References: <1498536619-14548-1-git-send-email-peterx@redhat.com> <1498536619-14548-3-git-send-email-peterx@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1498536619-14548-3-git-send-email-peterx@redhat.com> Subject: Re: [Qemu-devel] [PATCH v6 02/10] accel: introduce AccelClass.global_props List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu Cc: qemu-devel@nongnu.org, Laurent Vivier , Eric Blake , Markus Armbruster , Juan Quintela , "Dr . David Alan Gilbert" On Tue, Jun 27, 2017 at 12:10:11PM +0800, Peter Xu wrote: > Introduce this new field for the accelerator classes so that each > specific accelerator in the future can register its own global > properties to be used further by the system. It works just like how the > old machine compatible properties do, but only tailored for > accelerators. > > Introduce register_compat_props_array() for it. Export it so that it may > be used in other codes as well in the future. > > Suggested-by: Eduardo Habkost > Signed-off-by: Peter Xu Reviewed-by: Eduardo Habkost -- Eduardo