sysbus: make SysBusDeviceClass::init optional
Make the SysBusDeviceClass::init optional, for devices whichgenuinely don't need to do anything here. In particular, simpledevices which can do all their initialization in theirinstance_init method don't need either a DeviceClass::realize...
musicpal: qdevify musicpal-misc
Make musicpal-misc into its own (trivial) qdev device, so wecan get rid of the abuse of sysbus_add_memory().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>...
milkymist-minimac2: Just expose buffers as a sysbus mmio region
Just expose the register buffers memory as a standard sysbus mmioregion which the creator of the device can map, rather thanproviding a qdev property which the creator has to set to thebase address and then doing the mapping in the device's own...
piix_pci: Use DEVICE and ISA_BUS()
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>Reviewed-by: Andreas Färber <afaerber@suse.de>Tested-by: Laszlo Ersek <lersek@redhat.com>Reviewed-by: Laszlo Ersek <lersek@redhat.com>Message-id: 1361580039-4459-3-git-send-email-dwmw2@infradead.org...
piix_pci: Fix C99 comments
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>Reviewed-by: Andreas Färber <afaerber@suse.de>Tested-by: Laszlo Ersek <lersek@redhat.com>Reviewed-by: Laszlo Ersek <lersek@redhat.com>Message-id: 1361580039-4459-4-git-send-email-dwmw2@infradead.org...
piix_pci: Clean up i440FX object handling
Define and use I440FX_PCI_DEVICE() instead of using DO_UPCAST().
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>Reviewed-by: Andreas Färber <afaerber@suse.de>Tested-by: Laszlo Ersek <lersek@redhat.com>...
virtio-balloon-ccw: switch to the new API.
Here the virtio-balloon-ccw is modified for the new API. The devicevirtio-balloon-ccw extends virtio-ccw-device as before. It creates andconnects a virtio-balloon during the init. The properties are not modified....
virtio-balloon: cleanup: init and exit function.
This remove old init and exit function as they are no longer needed.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>Reviewed-by: Peter Maydell <peter.maydell@linaro.org>...
virtio-balloon: cleanup: QOM casts.
As the virtio-balloon-pci is switched to the new API, we can use QOMcasts.
virtio-balloon: cleanup: remove qdev field.
The qdev field is no longer needed, just drop it.
View revisions
Also available in: Atom