versatile_pci: Update to realize and instance init functions
commitcd93dbf375bd3d7ccbb7005d8d4e2b91293e967b
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Apr 2013 10:15:18 +0000 (19 11:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Apr 2013 10:15:18 +0000 (19 11:15 +0100)
tree50f7d6599c49e35ff178c619ee884486583f8d18
parent5fb8084f31e9df7f0b2d63cfd3d10645d29b5eab
versatile_pci: Update to realize and instance init functions

Update the Versatile PCI controller to use a realize function rather
than SysBusDevice::init. To reflect the fact that the 'realview_pci'
class is taking most of its implementation from 'versatile_pci' (and
to make the QOM casts work) we make 'realview_pci' a subclass of
'versatile_pci'.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Paul Brook <paul@codesourcery.com>
hw/pci-host/versatile.c