virtio: use size-based config accessors.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 07:41:51 +0000 (18:11 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Oct 2013 00:25:37 +0000 (10:55 +1030)
This lets the transport do endian conversion if necessary, and insulates
the drivers from the difference.

Most drivers can use the simple helpers virtio_cread() and virtio_cwrite().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found