hw/net/pcnet: Use qemu_log_mask(GUEST_ERROR) instead of printf
commit8f59905330ce6dbaf929e1ad1784c5e3ed7e69b6
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 11 Mar 2019 10:27:12 +0000 (11 11:27 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 2 May 2019 16:12:58 +0000 (2 18:12 +0200)
tree937ffce16589ad2b96549b34c5abef25dcac397f
parent8482ff2eb3bb95020eb2f370a9b3ea26511e41df
hw/net/pcnet: Use qemu_log_mask(GUEST_ERROR) instead of printf

Avoid to clutter stdout until explicitly requested
(with -d guest_errors):

  $ qemu-system-mips -M malta -m 512 -kernel vmlinux-3.2.0-4-4kc-malta
  Bad SWSTYLE=0x04

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190311102712.8572-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/net/pcnet.c