diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-01-12 15:23:37 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-01-21 06:58:45 +0100 |
commit | a4379fd841cc1af60ef495b8e5598b1f7327ec0c (patch) | |
tree | aa76c268d0ac57ed4a50b63bd694a9051af318fc /drivers/char/virtio_console.c | |
parent | virtio/9p: verify device has config space (diff) | |
download | linux-a4379fd841cc1af60ef495b8e5598b1f7327ec0c.tar.xz linux-a4379fd841cc1af60ef495b8e5598b1f7327ec0c.zip |
virtio/blk: verify device has config space
Some devices might not implement config space access
(e.g. remoteproc used not to - before 3.9).
virtio/blk 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>
Diffstat (limited to 'drivers/char/virtio_console.c')
0 files changed, 0 insertions, 0 deletions