[gem5-dev] Change in gem5/gem5[master]: dev-virtio: use diod basename as the default 9p path

2019-12-13 Thread Ciro Santilli (Gerrit)
Ciro Santilli has submitted this change. (  
https://gem5-review.googlesource.com/c/public/gem5/+/22827 )


Change subject: dev-virtio: use diod basename as the default 9p path
..

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 
---
M src/dev/virtio/VirtIO9P.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Bobby R. Bruce: Looks good to me, approved
  Jason Lowe-Power: Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/dev/virtio/VirtIO9P.py b/src/dev/virtio/VirtIO9P.py
index 02e50f3..55008ae 100644
--- a/src/dev/virtio/VirtIO9P.py
+++ b/src/dev/virtio/VirtIO9P.py
@@ -59,7 +59,7 @@
 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")


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/22827
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I9d0b6c9a75f32cf0cb5d8f52bb00c465e4d43e1b
Gerrit-Change-Number: 22827
Gerrit-PatchSet: 6
Gerrit-Owner: Ciro Santilli 
Gerrit-Reviewer: Bobby R. Bruce 
Gerrit-Reviewer: Ciro Santilli 
Gerrit-Reviewer: Jason Lowe-Power 
Gerrit-Reviewer: kokoro 
Gerrit-CC: Giacomo Travaglini 
Gerrit-MessageType: merged
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

[gem5-dev] Change in gem5/gem5[master]: dev-virtio: use diod basename as the default 9p path

2019-11-14 Thread Ciro Santilli (Gerrit)
Ciro Santilli has uploaded this change for review. (  
https://gem5-review.googlesource.com/c/public/gem5/+/22827 )



Change subject: dev-virtio: use diod basename as the default 9p path
..

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
---
M src/dev/virtio/VirtIO9P.py
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/dev/virtio/VirtIO9P.py b/src/dev/virtio/VirtIO9P.py
index 02e50f3..55008ae 100644
--- a/src/dev/virtio/VirtIO9P.py
+++ b/src/dev/virtio/VirtIO9P.py
@@ -59,7 +59,7 @@
 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")


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/22827
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I9d0b6c9a75f32cf0cb5d8f52bb00c465e4d43e1b
Gerrit-Change-Number: 22827
Gerrit-PatchSet: 1
Gerrit-Owner: Ciro Santilli 
Gerrit-MessageType: newchange
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev