diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2017-12-08 12:47:34 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-12-15 09:49:24 +1100 |
commit | bcb5ce08cf3ddf69af87cc0fe750c3b564f1e6af (patch) | |
tree | bd10befa3f53e96b3e0b5678480d8922aa832abd /iothread.c | |
parent | 2a83f9976efa9a85e8ceb9d1035a68f25c321334 (diff) | |
download | qemu-bcb5ce08cf3ddf69af87cc0fe750c3b564f1e6af.zip |
spapr: Rename machine init functions for clarity
Machine objects have two init functions - the generic QOM level
instance_init which should only do static object initialization, and
the Machine specific MachineClass::init which does the actual
construction of the machine.
In spapr the functions implementing these two have names -
ppc_machine_initfn() and ppc_spapr_init() - which don't correspond closely
to either of those. To prevent people (read, me) from confusing which is
which, rename them spapr_instance_init() and spapr_machine_init() to
make it clearer which is which.
While we're there rename ppc_spapr_reset() to spapr_machine_reset() to
match.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Diffstat (limited to 'iothread.c')
0 files changed, 0 insertions, 0 deletions