dev, virtio: Use of Unix socket for virtIO 9P device
authorAnouk Van Laer <anouk.vanlaer@arm.com>
Wed, 1 Mar 2017 13:50:58 +0000 (13:50 +0000)
committerAnouk Van Laer <anouk.vanlaer@arm.com>
Fri, 16 Jun 2017 16:06:29 +0000 (16:06 +0000)
commitd9843b21b7ddd3a9ab2ce403ced88ad68d6f1d55
tree78add1f671cccdd1851ad26f94c757bcf571df88
parent460afbbdfd987c221c04268929095615b56670b4
dev, virtio: Use of Unix socket for virtIO 9P device

This commit adds support for diod to use a unix socket, rather
than a TCP port.  We don't rely on the IP-based connection as we
directly use pipes to interact with diod.  This allows it to work
on any system, even if the specific port is taken by another diod
instance (or similar).  Secondly, the Unix socket could in theory
be used to debug.  However, this functionality has not been
tested.

Change-Id: I616e0ad8768da1dfc867de3af98cdfbb22a72d63
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2820
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/dev/virtio/VirtIO9P.py
src/dev/virtio/fs9p.cc