]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
virtio/9p: verify device has config space
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 12 Jan 2015 14:23:37 +0000 (16:23 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jan 2015 05:58:45 +0000 (16:28 +1030)
commit7754f53e944122fa95ef36039d3a5009910ce6fc
tree71b287d6c4585270ce40b22764577a9c8afbace0
parent7f870c81a068fd1e69fe556f7fe85a5ece144b0c
virtio/9p: verify device has config space

Some devices might not implement config space access
(e.g. remoteproc used not to - before 3.9).
virtio/9p needs config space access so make it
fail gracefully if not there.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
net/9p/trans_virtio.c