mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
vfio: Clean up error reporting after previous commit
The previous commit changed vfio's warning messages from vfio warning: DEV-NAME: Could not frobnicate to warning: vfio DEV-NAME: Could not frobnicate To match this change, change error messages from vfio error: DEV-NAME: On fire to vfio DEV-NAME: On fire Note the loss of "error". If we think marking error messages that way is a good idea, we should mark *all* error messages, i.e. make error_report() print it. Cc: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Acked-by: Alex Williamson <alex.williamson@redhat.com> Message-Id: <20181017082702.5581-7-armbru@redhat.com>
This commit is contained in:
parent
e1eb292ace
commit
c3b8e3e0ed
4 changed files with 7 additions and 8 deletions
|
@ -690,7 +690,7 @@ out:
|
|||
}
|
||||
|
||||
if (vdev->vbasedev.name) {
|
||||
error_prepend(errp, ERR_PREFIX, vdev->vbasedev.name);
|
||||
error_prepend(errp, VFIO_MSG_PREFIX, vdev->vbasedev.name);
|
||||
} else {
|
||||
error_prepend(errp, "vfio error: ");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue