Skip to content
Commit 855e0c52 authored by Rusty Russell's avatar Rusty Russell
Browse files

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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 0b90d062
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment