Received: from eggs.gnu.org ([140.186.70.92]:59280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqiIp-00019D-UU for qemu-devel@nongnu.org; Fri, 27 Jan 2012 04:41:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqiIj-0007wt-Qd for qemu-devel@nongnu.org; Fri, 27 Jan 2012 04:41:03 -0500 Message-ID: <4F2270A3.4060707@suse.de> Date: Fri, 27 Jan 2012 10:38:43 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1327425457-31313-1-git-send-email-afaerber@suse.de> <20120127062355.GA20307@stefanha-thinkpad.localdomain> In-Reply-To: <20120127062355.GA20307@stefanha-thinkpad.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v6] qdev: Add support for property type bool List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , Vasilis Liaskovitis Cc: Kevin Wolf , Anthony Liguori , Juan Quintela , qemu-trivial@nongnu.org, Jan Kiszka , qemu-devel@nongnu.org, Markus Armbruster , Blue Swirl , Amit Shah , Paolo Bonzini Am 27.01.2012 07:23, schrieb Stefan Hajnoczi: > On Tue, Jan 24, 2012 at 06:17:36PM +0100, Andreas F=E4rber wrote: >> From: Andreas F=E4rber >> >> VMState supports the type bool but qdev instead supports bit, backed b= y >> uint32_t. Therefore let's add DEFINE_PROP_BOOL() and qdev_prop_set_boo= l(). >> >> bool by definition is either true or false. Should the need arise to >> parse yes/no, on/off, 1/0 or whatever as well, we can still add that a= t >> a later point in time. >> >> Signed-off-by: Andreas F=E4rber >> Cc: Juan Quintela >> Cc: Markus Armbruster >> Cc: Jan Kiszka >> Cc: Vasilis Liaskovitis >> --- >> v5 -> v6: >=20 > Please merge through a qemu.git committer. v6 and discussion means thi= s > isn't trivial. Unfortunately that hasn't happened for half a year though. Generally no qemu.git committer seems to care about cherry-picking useful infrastructures from bigger series even once discussions are resolved. And for the record, it's net v3 as shown in the part you snipped. Vasilis, unless Jan or someone has further nitpicks, just prepend my v8 to your series and reuse its DEFINE_PROP_BOOL(). Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg