aboutsummaryrefslogtreecommitdiff
path: root/hw/remote
diff options
context:
space:
mode:
authorMattias Nissler <mnissler@rivosinc.com>2023-04-26 09:35:18 +0000
committerMichael Tokarev <mjt@tls.msk.ru>2023-06-09 23:38:16 +0300
commit5fb9e8295531f957cf7ac20e89736c8963a25e04 (patch)
tree14d64fe746aba88a85885b32160b457bcad9bbdc /hw/remote
parent40b89515d026915a0593993712e322addac095b9 (diff)
downloadqemu-5fb9e8295531f957cf7ac20e89736c8963a25e04.zip
qemu-5fb9e8295531f957cf7ac20e89736c8963a25e04.tar.gz
qemu-5fb9e8295531f957cf7ac20e89736c8963a25e04.tar.bz2
hw/remote: Fix vfu_cfg trace offset format
The printed offset value is prefixed with 0x, but was actually printed in decimal. To spare others the confusion, adjust the format specifier to hexadecimal. Signed-off-by: Mattias Nissler <mnissler@rivosinc.com> Reviewed-by: Jagannathan Raman <jag.raman@oracle.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/remote')
-rw-r--r--hw/remote/trace-events4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/remote/trace-events b/hw/remote/trace-events
index c167b3c..0d1b7d5 100644
--- a/hw/remote/trace-events
+++ b/hw/remote/trace-events
@@ -5,8 +5,8 @@ mpqemu_recv_io_error(int cmd, int size, int nfds) "failed to receive %d size %d,
# vfio-user-obj.c
vfu_prop(const char *prop, const char *val) "vfu: setting %s as %s"
-vfu_cfg_read(uint32_t offset, uint32_t val) "vfu: cfg: 0x%u -> 0x%x"
-vfu_cfg_write(uint32_t offset, uint32_t val) "vfu: cfg: 0x%u <- 0x%x"
+vfu_cfg_read(uint32_t offset, uint32_t val) "vfu: cfg: 0x%x -> 0x%x"
+vfu_cfg_write(uint32_t offset, uint32_t val) "vfu: cfg: 0x%x <- 0x%x"
vfu_dma_register(uint64_t gpa, size_t len) "vfu: registering GPA 0x%"PRIx64", %zu bytes"
vfu_dma_unregister(uint64_t gpa) "vfu: unregistering GPA 0x%"PRIx64""
vfu_bar_register(int i, uint64_t addr, uint64_t size) "vfu: BAR %d: addr 0x%"PRIx64" size 0x%"PRIx64""