commit | 1fcf0512c9c870e78e1c9898ecb9458593403466 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Dec 11 13:59:51 2014 +0200 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Jan 21 16:28:53 2015 +1030 |
tree | 002fa2a03688453e491f2224c31a96c1b3a47be6 | |
parent | 71d70c266c84c4e708bb36b20d0c0a29af42821c [diff] |
virtio_pci: modern driver Lightly tested against qemu. One thing *not* implemented here is separate mappings for descriptor/avail/used rings. That's nice to have, will be done later after we have core support. This also exposes the PCI layout to userspace, and adds macros for PCI layout offsets: QEMU wants it, so why not? Trust, but verify. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>