Use traces for debug message and qemu_log_mask for errors.
Signed-off-by: Boxuan Li
---
v1: https://patchew.org/QEMU/20190428110258.86681-1-libox...@connect.hku.hk/
v2: https://patchew.org/QEMU/20190501081039.58938-1-libox...@connect.hku.hk/
v3: https://patchew.org/QEMU/20190503084654.18413-1
Use traces for debug message and qemu_log_mask for errors.
Signed-off-by: Boxuan Li
---
v1: https://patchew.org/QEMU/20190428110258.86681-1-libox...@connect.hku.hk/
v2: https://patchew.org/QEMU/20190501081039.58938-1-libox...@connect.hku.hk/
v3: Use qemu_log_mask for errors
---
hw/virtio/trace
Signed-off-by: Boxuan Li
---
v2: Instead of using conditional debugs, convert DPRINTF to traces
---
hw/virtio/trace-events | 13 +
hw/virtio/virtio-mmio.c | 35 ---
2 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/hw/virtio/trace
Signed-off-by: Boxuan Li
---
target/ppc/kvm.c| 2 +-
target/ppc/trace-events | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/ppc/kvm.c b/target/ppc/kvm.c
index 02e22e2017..1a9caf8f40 100644
--- a/target/ppc/kvm.c
+++ b/target/ppc/kvm.c
@@ -1721,7 +1721,7
Wrap printf calls inside debug macros (DPRINTF) in `if` statement, and
change output to stderr as well. This will ensure that printf function
will always compile and prevent bitrot of the format strings.
Signed-off-by: Boxuan Li
---
hw/virtio/virtio-mmio.c | 17 -
1 file changed