From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQq9t-0001Ho-5x for qemu-devel@nongnu.org; Tue, 14 Jul 2009 18:07:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQq9o-0001AC-JW for qemu-devel@nongnu.org; Tue, 14 Jul 2009 18:07:32 -0400 Received: from [199.232.76.173] (port=57612 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQq9o-0001A2-GB for qemu-devel@nongnu.org; Tue, 14 Jul 2009 18:07:28 -0400 Received: from mx2.redhat.com ([66.187.237.31]:59974) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQq9n-0001sZ-TB for qemu-devel@nongnu.org; Tue, 14 Jul 2009 18:07:28 -0400 From: Juan Quintela In-Reply-To: (Blue Swirl's message of "Tue\, 14 Jul 2009 21\:54\:52 +0300") References: Date: Wed, 15 Jul 2009 00:03:42 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH] Sparc32/PPC: convert escc to qdev List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Paul Brook , qemu-devel Blue Swirl wrote: > On 7/14/09, Juan Quintela wrote: >> Blue Swirl wrote: I didn't explain myself enough, I guess. >> > + qdev_set_prop_int(dev, "frequency", clock); ^^^^^^^^^ .... >> > + clock = qdev_get_prop_int(&dev->qdev, "clock", 0); ^^^^^ You are setting a property named "frequency" and read a property named "clock" :) I just asked to use the same property in both places. Later, Juan.