Re: [Qemu-devel] [RFC/RFT PATCH v1 1/2] audio/intel-hda: Fix Inheritance hierachy

2013-06-05 Thread Peter Crosthwaite
This is missing a hunk @@ -1329,6 +1329,7 @@ static int intel_hda_and_codec_init(PCIBus *bus) static void intel_hda_register_types(void) { type_register_static(&hda_codec_bus_info); +type_register_static(&intel_hda_info); type_register_static(&intel_hda_info_ich6); type_regist

[Qemu-devel] [RFC/RFT PATCH v1 1/2] audio/intel-hda: Fix Inheritance hierachy

2013-05-23 Thread peter . crosthwaite
From: Peter Crosthwaite The ich6 and ich9 variants either need to inherit one from the other, or both from a common base class, otherwise its not possible to create a QOM cast macro for use by the shared implementation functions. Went for option B, with a common base class. Signed-off-by: Peter