[Qemu-devel] [PATCH for-1.6 v2 2/2] pci-bridge: Move common class initializations to base type

2013-08-05 Thread Andreas Färber
Set PCIDeviceClass::is_bridge as well as PCIDeviceClass::config_write(), PCIDeviceClass::exit() and DeviceClass::reset() defaults directly for TYPE_PCI_BRIDGE (complements f055e96bd4311d287c0e03faec02a1bdbc351925). This avoids another pci_bridge_config_write() missing somewhere, unless explicitly

Re: [Qemu-devel] [PATCH for-1.6 v2 2/2] pci-bridge: Move common class initializations to base type

2013-08-05 Thread Paolo Bonzini
On 08/05/2013 04:36 PM, Andreas Färber wrote: Set PCIDeviceClass::is_bridge as well as PCIDeviceClass::config_write(), PCIDeviceClass::exit() and DeviceClass::reset() defaults directly for TYPE_PCI_BRIDGE (complements f055e96bd4311d287c0e03faec02a1bdbc351925). This avoids another

Re: [Qemu-devel] [PATCH for-1.6 v2 2/2] pci-bridge: Move common class initializations to base type

2013-08-05 Thread Andreas Färber
Am 05.08.2013 16:41, schrieb Paolo Bonzini: On 08/05/2013 04:36 PM, Andreas Färber wrote: Set PCIDeviceClass::is_bridge as well as PCIDeviceClass::config_write(), PCIDeviceClass::exit() and DeviceClass::reset() defaults directly for TYPE_PCI_BRIDGE (complements