dev-virtio: VIO9P turns on diod verbose output with -d 1
authorCiro Santilli <ciro.santilli@arm.com>
Thu, 24 Oct 2019 16:26:59 +0000 (17:26 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Fri, 13 Dec 2019 16:51:06 +0000 (16:51 +0000)
Change-Id: I97e5762f4aca384068b87e22902e071fa3014ceb
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22829
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>

src/dev/virtio/fs9p.cc

index 87333b6dc6f1bfa3bf45c86cb27f69d196652aa6..d763f2c2fca8d0555e4e68e2c6e138b9d3a0b871 100644 (file)
@@ -394,6 +394,7 @@ VirtIO9PDiod::startDiod()
 
         // Start diod
         execlp(diod, diod,
+               "-d", DTRACE(VIO9P) ? "1" : "0", // show debug output
                "-f", // start in foreground
                "-r", "3", // setup read FD
                "-w", "4", // setup write FD