diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2015-07-02 16:23:07 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-07-07 17:44:50 +0200 |
commit | 183930c0d753e53d22c27d573b1803b04f8d68ac (patch) | |
tree | 2067b227934d9747fc6f5330f0da0388608d5845 /hw/ppc | |
parent | 1b71890729953825c57d52ace48a7671c295e899 (diff) | |
download | qemu-183930c0d753e53d22c27d573b1803b04f8d68ac.zip qemu-183930c0d753e53d22c27d573b1803b04f8d68ac.tar.gz qemu-183930c0d753e53d22c27d573b1803b04f8d68ac.tar.bz2 |
spapr: Add sPAPRMachineClass
Currently although we have an sPAPRMachineState descended from MachineState
we don't have an sPAPRMAchineClass descended from MachineClass. So far it
hasn't been needed, but several upcoming features are going to want it,
so this patch creates a stub implementation.
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc')
-rw-r--r-- | hw/ppc/spapr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 3aeb2ea..0dba32f 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -1808,6 +1808,7 @@ static const TypeInfo spapr_machine_info = { .abstract = true, .instance_size = sizeof(sPAPRMachineState), .instance_init = spapr_machine_initfn, + .class_size = sizeof(sPAPRMachineClass), .class_init = spapr_machine_class_init, .interfaces = (InterfaceInfo[]) { { TYPE_FW_PATH_PROVIDER }, |