qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: instance_init() and the realize() functions


From: Thomas Huth
Subject: Re: instance_init() and the realize() functions
Date: Sat, 18 Jul 2020 16:21:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 18/07/2020 09.09, Pratik Parvati wrote:
> Hi team,
> 
> Could someone please guild me to understand the difference
> between *instance_init()* and the*realize()* functions? The
> *class_init() *function is straight forward (it is similar to the
> constructor in C++ OOP); But I am, finding hard to quote the difference
> between *instance_init()* and *realize()*.
> 
> What is the code flow when both functions are defined?

Beside the other good answers that you've already got, maybe this helps
a little bit, too:

 http://people.redhat.com/~thuth/blog/qemu/2018/09/10/instance-init-realize.html

 Cheers,
  Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]