qemu-e2k/hw/vfio
Philippe Mathieu-Daudé a2596aee6c hw/vfio/pci: Use the QOM DEVICE() macro to access DeviceState.qdev
Rather than looking inside the definition of a DeviceState with
"s->qdev", use the QOM prefered style: "DEVICE(s)".

This patch was generated using the following Coccinelle script:

    // Use DEVICE() macros to access DeviceState.qdev
    @use_device_macro_to_access_qdev@
    expression obj;
    identifier dev;
    @@
    -&obj->dev.qdev
    +DEVICE(obj)

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Message-Id: <20190528164020.32250-10-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2019-06-06 11:35:21 +02:00
..
amd-xgbe.c hw: vfio: drop TYPE_FOO MACRO in VMStateDescription 2019-05-22 17:35:27 +02:00
ap.c hw: vfio: drop TYPE_FOO MACRO in VMStateDescription 2019-05-22 17:35:27 +02:00
calxeda-xgmac.c hw: vfio: drop TYPE_FOO MACRO in VMStateDescription 2019-05-22 17:35:27 +02:00
ccw.c hw: vfio: drop TYPE_FOO MACRO in VMStateDescription 2019-05-22 17:35:27 +02:00
common.c vfio: Make vfio_get_region_info_cap public 2019-03-12 16:17:35 +11:00
display.c hw/display/ramfb: initialize fw-config space with xres/ yres 2019-05-24 09:10:29 +02:00
Kconfig vfio-pci: enable by default 2019-03-11 14:45:10 +01:00
Makefile.objs hw/vfio/Makefile.objs: Create new CONFIG_* variables for VFIO core and PCI 2019-02-05 16:50:21 +01:00
pci-quirks.c spapr: Support NVIDIA V100 GPU with NVLink2 2019-04-26 10:41:23 +10:00
pci.c hw/vfio/pci: Use the QOM DEVICE() macro to access DeviceState.qdev 2019-06-06 11:35:21 +02:00
pci.h spapr: Support NVIDIA V100 GPU with NVLink2 2019-04-26 10:41:23 +10:00
platform.c vfio: platform: fix a typo 2019-05-22 17:35:27 +02:00
spapr.c exec: Introduce qemu_maxrampagesize() and rename qemu_getrampagesize() 2019-04-25 13:47:27 +02:00
trace-events spapr: Support NVIDIA V100 GPU with NVLink2 2019-04-26 10:41:23 +10:00