qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Cc: Peter Crosthwaite <peter.crosthwaite@xilinx.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2] Add i.MX I2C device emulator.
Date: Fri, 03 May 2013 14:35:23 +0200	[thread overview]
Message-ID: <5183AF0B.3030507@suse.de> (raw)
In-Reply-To: <5182B165.2010204@tribudubois.net>

Am 02.05.2013 20:33, schrieb Jean-Christophe DUBOIS:
> On 05/02/2013 02:16 PM, Peter Crosthwaite wrote:
>> On Thu, May 2, 2013 at 5:53 AM, Jean-Christophe DUBOIS
>> <jcd@tribudubois.net> wrote:
>>> +static int imx_i2c_init(SysBusDevice *dev)
>>> +{
>> Use of the SysBusDeviceClass::init function is deprecated. Please use
>> DeviceClass::realise or Object::init. With no reliance on properties I
>> would suggest this one can be done as just an Object::init fn.
> Could you point me to the documentation or an up to date example?

Documentation is in include/hw/qdev-core.h and include/qom/object.h.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  parent reply	other threads:[~2013-05-03 12:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01 19:53 [Qemu-devel] [PATCH 1/2] Add i.MX I2C device emulator Jean-Christophe DUBOIS
2013-05-02 12:16 ` Peter Crosthwaite
2013-05-02 18:33   ` Jean-Christophe DUBOIS
2013-05-02 23:58     ` Peter Crosthwaite
2013-05-03 12:35     ` Andreas Färber [this message]
2013-05-02 12:38 ` Andreas Färber
2013-05-03 15:16   ` Jean-Christophe DUBOIS
2013-05-03 15:20     ` Andreas Färber
2013-05-03 16:04       ` Jean-Christophe DUBOIS
2013-05-03 16:41         ` Andreas Färber
2013-05-04  8:22           ` Jean-Christophe DUBOIS
2013-05-04  8:27             ` Andreas Färber
2013-05-04  8:29               ` Peter Maydell
2013-05-04  8:38                 ` Jean-Christophe DUBOIS

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5183AF0B.3030507@suse.de \
    --to=afaerber@suse.de \
    --cc=jcd@tribudubois.net \
    --cc=peter.crosthwaite@xilinx.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).