tmp_suning_uos_patched/drivers/virtio
Rusty Russell ef688e151c virtio: meet virtio spec by finalizing features before using device
Virtio devices are supposed to negotiate features before they start using
the device, but the current code doesn't do this.  This is because the
driver's probe() function invariably has to add buffers to a virtqueue,
or probe the disk (virtio_blk).

This currently doesn't matter since no existing backend is strict about
the feature negotiation.  But it's possible to imagine a future feature
which completely changes how a device operates: in this case, we'd need
to acknowledge it before using the device.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-06-12 22:16:35 +09:30
..
config.c Virtio interface 2007-10-23 15:49:54 +10:00
Kconfig virtio: balloon driver 2008-02-04 23:50:13 +11:00
Makefile virtio: balloon driver 2008-02-04 23:50:13 +11:00
virtio_balloon.c virtio: fix suspend when using virtio_balloon 2009-04-19 23:14:01 +09:30
virtio_pci.c virtio-pci: do not oops on config change if driver not loaded 2009-02-02 19:17:56 -08:00
virtio_ring.c virtio: more neatening of virtio_ring macros. 2009-03-30 21:55:23 +10:30
virtio.c virtio: meet virtio spec by finalizing features before using device 2009-06-12 22:16:35 +09:30