Re: [Qemu-devel] [PATCH] pci-bridge/i82801b11: Convert to realize

2017-05-30 Thread Mao Zhongyi
Hi, Marcel & Markus On 05/29/2017 07:37 PM, Markus Armbruster wrote: Marcel Apfelbaum writes: On 27/05/2017 9:58, Mao Zhongyi wrote: On 05/26/2017 10:08 PM, Marcel Apfelbaum wrote: On 26/05/2017 15:15, Mao Zhongyi wrote: The pci-birdge device i82801b11 still implements the old PCIDevic

Re: [Qemu-devel] [PATCH] pci-bridge/i82801b11: Convert to realize

2017-05-29 Thread Markus Armbruster
Marcel Apfelbaum writes: > On 27/05/2017 9:58, Mao Zhongyi wrote: >> >> >> On 05/26/2017 10:08 PM, Marcel Apfelbaum wrote: >>> >>> >>> On 26/05/2017 15:15, Mao Zhongyi wrote: The pci-birdge device i82801b11 still implements the old PCIDeviceClass .init() through i82801b11_bridge_init()

Re: [Qemu-devel] [PATCH] pci-bridge/i82801b11: Convert to realize

2017-05-27 Thread Marcel Apfelbaum
On 27/05/2017 9:58, Mao Zhongyi wrote: On 05/26/2017 10:08 PM, Marcel Apfelbaum wrote: On 26/05/2017 15:15, Mao Zhongyi wrote: The pci-birdge device i82801b11 still implements the old PCIDeviceClass .init() through i82801b11_bridge_init() instead of the new .realize(). All devices need to

Re: [Qemu-devel] [PATCH] pci-bridge/i82801b11: Convert to realize

2017-05-27 Thread Mao Zhongyi
On 05/26/2017 10:08 PM, Marcel Apfelbaum wrote: On 26/05/2017 15:15, Mao Zhongyi wrote: The pci-birdge device i82801b11 still implements the old PCIDeviceClass .init() through i82801b11_bridge_init() instead of the new .realize(). All devices need to be converted to .realize(). So convert it

Re: [Qemu-devel] [PATCH] pci-bridge/i82801b11: Convert to realize

2017-05-26 Thread Marcel Apfelbaum
On 26/05/2017 15:15, Mao Zhongyi wrote: The pci-birdge device i82801b11 still implements the old PCIDeviceClass .init() through i82801b11_bridge_init() instead of the new .realize(). All devices need to be converted to .realize(). So convert it and rename it to i82801b11_bridge_realize(). Sign

[Qemu-devel] [PATCH] pci-bridge/i82801b11: Convert to realize

2017-05-26 Thread Mao Zhongyi
The pci-birdge device i82801b11 still implements the old PCIDeviceClass .init() through i82801b11_bridge_init() instead of the new .realize(). All devices need to be converted to .realize(). So convert it and rename it to i82801b11_bridge_realize(). Signed-off-by: Mao Zhongyi --- hw/pci-bridge/i