]> Git Repo - qemu.git/commit
virtio dataplane: adapt dataplane for virtio Version 1
authorPierre Morel <[email protected]>
Mon, 7 Sep 2015 11:33:56 +0000 (13:33 +0200)
committerStefan Hajnoczi <[email protected]>
Mon, 12 Oct 2015 10:16:45 +0000 (11:16 +0100)
commita9718ef0005d6910097788936dc40c0204713729
tree1aba85f682cc0a7c3965b5db1f8fa5289c6053ce
parentfc73548e444ae3239f6cef44a5200b5d2c3e85d1
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]>
hw/virtio/dataplane/vring.c
include/hw/virtio/dataplane/vring.h
This page took 0.026308 seconds and 4 git commands to generate.