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
display.c hw/display/ramfb: initialize fw-config space with xres/ yres 2019-05-24 09:10:29 +02:00
Kconfig
Makefile.objs
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