virtio dataplane: adapt dataplane for virtio Version 1
Let dataplane allocate different region for the desc/avail/used
ring regions.
Take VIRTIO_RING_F_EVENT_IDX into account to increase the used/avail
rings accordingly.
[Fix 32-bit builds by changing 16lx format specifier to HWADDR_PRIx.
--Stefan]
Signed-off-by: Pierre Morel <[email protected]>
Tested-by: Greg Kurz <[email protected]>
Signed-off-by: Greg Kurz <[email protected]>
Message-id:
1441625636[email protected]
(changed __virtio16 into uint16_t,
map descriptor table and available ring read-only)
Signed-off-by: Greg Kurz <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>