virtio: expose features in sysfs
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 04:16:37 +0000 (22:16 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:46:38 +0000 (22:16 +0930)
commita92892825a122a74ddad1d408fa27132e28b05ae
treec8dad18eb7842a10a33cdf632b5e0a0aa8fdf778
parent82af8ce84ed65d2fb6d8c017d3f2bbbf161061fb
virtio: expose features in sysfs

Each device negotiates feature bits; expose these in sysfs to help
diagnostics and debugging.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio.c