summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@arm.com>2019-10-24 17:17:25 +0100
committerCiro Santilli <ciro.santilli@arm.com>2019-12-13 16:51:06 +0000
commit52cbe499cf34ffb216872cad401e3b3b693a114a (patch)
treee6ac8627fc22f30e333b2b93328a189a5cfc1597 /src/dev
parent05156e673095de0ab296166e6508494fa6e21bf9 (diff)
downloadgem5-52cbe499cf34ffb216872cad401e3b3b693a114a.tar.xz
dev-virtio: use diod basename as the default 9p path
This allows diod to be present anywhere in the PATH by default, which works because we are already using execlp. Change-Id: I9d0b6c9a75f32cf0cb5d8f52bb00c465e4d43e1b Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22827 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/virtio/VirtIO9P.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/virtio/VirtIO9P.py b/src/dev/virtio/VirtIO9P.py
index 02e50f301..55008ae9f 100644
--- a/src/dev/virtio/VirtIO9P.py
+++ b/src/dev/virtio/VirtIO9P.py
@@ -59,7 +59,7 @@ class VirtIO9PDiod(VirtIO9PProxy):
type = 'VirtIO9PDiod'
cxx_header = 'dev/virtio/fs9p.hh'
- diod = Param.String("/usr/sbin/diod", "Path to diod")
+ diod = Param.String("diod", "Path to diod, optionally in PATH")
root = Param.String("/tmp", "Path to export through diod")
socketPath = Param.String("Unused socket to diod")