dev-virtio: don't set the 9p default root
authorCiro Santilli <ciro.santilli@arm.com>
Thu, 24 Oct 2019 16:19:06 +0000 (17:19 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Fri, 13 Dec 2019 16:51:06 +0000 (16:51 +0000)
It is better to force users to explicitly set this argument, since
it is unlikely that we will find one safe option for all users.

Change-Id: I612520a44efd205a029a40cd13402584d16e1d88
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22828
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>

src/dev/virtio/VirtIO9P.py

index 55008ae9f3a22e68e4ec4ee790ac8064954eecde..7c5e132d6457bebf72ae806270e0a18960e7cb24 100644 (file)
@@ -60,7 +60,7 @@ class VirtIO9PDiod(VirtIO9PProxy):
     cxx_header = 'dev/virtio/fs9p.hh'
 
     diod = Param.String("diod", "Path to diod, optionally in PATH")
-    root = Param.String("/tmp", "Path to export through diod")
+    root = Param.String("Path to export through diod")
     socketPath = Param.String("Unused socket to diod")
 
 class VirtIO9PSocket(VirtIO9PProxy):