[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/16] hw/remote: Fix vfu_cfg trace offset format
From: |
Michael Tokarev |
Subject: |
[PULL 04/16] hw/remote: Fix vfu_cfg trace offset format |
Date: |
Sat, 10 Jun 2023 09:57:42 +0300 |
From: Mattias Nissler <mnissler@rivosinc.com>
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>
---
hw/remote/trace-events | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/remote/trace-events b/hw/remote/trace-events
index c167b3c7a5..0d1b7d56a5 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""
--
2.39.2
- [PULL 00/16] trivial patches 2023-06-10, Michael Tokarev, 2023/06/10
- [PULL 01/16] docs: Fix trivial typos in vhost-user.rst, Michael Tokarev, 2023/06/10
- [PULL 03/16] spelling: information, Michael Tokarev, 2023/06/10
- [PULL 02/16] hw/virtio/virtio-qmp.c: spelling: suppoted, Michael Tokarev, 2023/06/10
- [PULL 04/16] hw/remote: Fix vfu_cfg trace offset format,
Michael Tokarev <=
- [PULL 05/16] block.c: add newline for "Detected format" warning, Michael Tokarev, 2023/06/10
- [PULL 06/16] meson: install keyboard maps only if necessary, Michael Tokarev, 2023/06/10
- [PULL 07/16] target/m68k/fpu_helper: Use FloatRelation enum to hold comparison result, Michael Tokarev, 2023/06/10
- [PULL 09/16] hw/i386/microvm: Simplify using object_dynamic_cast(), Michael Tokarev, 2023/06/10
- [PULL 08/16] hw/core/cpu: Simplify realize() using MACHINE_GET_CLASS() macro, Michael Tokarev, 2023/06/10
- [PULL 10/16] hw/pci/pci: Simplify pci_bar_address() using MACHINE_GET_CLASS() macro, Michael Tokarev, 2023/06/10
- [PULL 12/16] linux-user: add comments for TARGET_NR_[gs]etgroups{, 32}, Michael Tokarev, 2023/06/10
- [PULL 13/16] linux-user: Return EINVAL for getgroups() with negative gidsetsize, Michael Tokarev, 2023/06/10
- [PULL 15/16] linux-user: elfload: s/min_mmap_addr/mmap_min_addr/, Michael Tokarev, 2023/06/10
- [PULL 14/16] vnc: move assert in vnc_worker_thread_loop, Michael Tokarev, 2023/06/10