qemu-patch-raspberry4/include/hw/vfio
Markus Armbruster e1eb292ace vfio: Use warn_report() & friends to report warnings
The vfio code reports warnings like

    error_report(WARN_PREFIX "Could not frobnicate", DEV-NAME);

where WARN_PREFIX is defined so the message comes out as

    vfio warning: DEV-NAME: Could not frobnicate

This usage predates the introduction of warn_report() & friends in
commit 97f40301f1.  It's time to convert to that interface.  Since
these functions already prefix the message with "warning: ", replace
WARN_PREFIX by VFIO_MSG_PREFIX, so the messages come out like

    warning: vfio DEV-NAME: Could not frobnicate

The next commit will replace ERR_PREFIX.

Cc: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20181017082702.5581-6-armbru@redhat.com>
2018-10-19 14:51:34 +02:00
..
vfio-amd-xgbe.h hw/vfio/platform: amd-xgbe device 2016-02-19 09:42:29 -07:00
vfio-calxeda-xgmac.h hw/vfio/platform: calxeda xgmac device 2015-06-09 08:17:17 -06:00
vfio-common.h vfio: Use warn_report() & friends to report warnings 2018-10-19 14:51:34 +02:00
vfio-platform.h vfio/platform: Make the vfio-platform device non-abstract 2018-10-15 10:52:09 -06:00
vfio.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00