]> git.proxmox.com Git - mirror_qemu.git/commit
hw/vfio/pci: fix vfio_pci_hot_reset_result trace point
authorEric Auger <eric.auger@redhat.com>
Mon, 2 May 2022 09:42:21 +0000 (02:42 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 6 May 2022 15:06:50 +0000 (09:06 -0600)
commit9d38ffc5d82839cdc9effb2e9ee84a6941a25e1a
tree56e6d683f55486b0cb44601b14b7c381b4e0d014
parent851d6d1a0ff29a87ec588205842edf6b86d99b5c
hw/vfio/pci: fix vfio_pci_hot_reset_result trace point

"%m" format specifier is not interpreted by the trace infrastructure
and thus "%m" is output instead of the actual errno string. Fix it by
outputting strerror(errno).

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Link: https://lore.kernel.org/r/20220502094223.36384-2-yi.l.liu@intel.com
[aw: replace commit log as provided by Eric]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c