OSDN Git Service

milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 29 Oct 2018 13:00:34 +0000 (14:00 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 30 Oct 2018 08:13:31 +0000 (09:13 +0100)
commit7b2b797cf0addac789ba858fdbd95c55128d72d5
treed13df28b6b9a2a6aa0404df22af7bb199c029117
parentb3b7627263bcd01f0e6e849bebc36dbccfc74345
milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report

qemu_log_mask(GUEST_ERROR) is more appropriate:

  $ qemu -d help
  Log items (comma separated):
  guest_errors    log when the guest OS does something invalid (eg accessing a non-existent register)

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael Walle <michael@walle.cc>
Message-Id: <20181029130034.26750-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/net/milkymist-minimac2.c