Skip to contentSkip to conversation

ivshmem: Delete duplicate debug message

PATCH In review Stefano Dong (董兴水) 3 participants 4 messages Aug 7, 2016 – Aug 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ivshmem: Delete duplicate debug message

When Debug switch is open, this debug message will print again in function 'process_msg'. Delete it.

---
 hw/misc/ivshmem.c | 1 -
 1 file changed, 1 deletion(-)
hw/misc/ivshmem.c +0 -1
index 40a2ebc..f803dfd 100644
@@ -628,7 +628,6 @@ static void ivshmem_read(void *opaque, const uint8_t *buf, int size)
     s->msg_buffered_bytes = 0;
 
     fd = qemu_chr_fe_get_msgfd(s->server_chr);
-    IVSHMEM_DPRINTF("posn is %" PRId64 ", fd is %d\n", msg, fd);
 
     process_msg(s, msg, fd, &err);
     if (err) {
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Stefano Dong (董兴水)

When Debug switch is open, this debug message will print again in function 'process_msg'. Delete it.

Quoted 17 lines
---
 hw/misc/ivshmem.c | 1 -
 1 file changed, 1 deletion(-)
hw/misc/ivshmem.c +0 -1
index 40a2ebc..f803dfd 100644
@@ -628,7 +628,6 @@ static void ivshmem_read(void *opaque, const uint8_t
 *buf, int size)
     s->msg_buffered_bytes = 0;
 
     fd = qemu_chr_fe_get_msgfd(s->server_chr);
-    IVSHMEM_DPRINTF("posn is %" PRId64 ", fd is %d\n", msg, fd);
 
     process_msg(s, msg, fd, &err);
     if (err) {
Quoted 5 lines

--
2.7.4

--

Marc-André Lureau

#3 lore raw
Quoted 8 lines · Markus Armbruster

This could go in via qemu-trivial.

Quoted 2 lines · Stefano Dong (董兴水)

When Debug switch is open, this debug message will print again in function 'process_msg'. Delete it.

Suggest to say "Duplicated in commit ca0b756. Delete it."

Ok, i'll update the log message and send the patch to qemu-trivial. Thanks!

Quoted 5 lines
Quoted 2 lines