commit | 855e0c5288177bcb193f6f6316952d2490478e1c | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Mon Oct 14 18:11:51 2013 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Oct 17 10:55:37 2013 +1030 |
tree | 7c5cfed44c9def1a7ca3388f37a9520de52af44b | |
parent | 0b90d0622ad290b3717a13489b396af52aea9d2d [diff] |
virtio: use size-based config accessors. 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>