From 52cbe499cf34ffb216872cad401e3b3b693a114a Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 24 Oct 2019 17:17:25 +0100 Subject: [PATCH] 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 Reviewed-by: Bobby R. Bruce Maintainer: Jason Lowe-Power --- src/dev/virtio/VirtIO9P.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.30.2