dataplane: simplify indirect descriptor read
commit572ec519ed6fe68f10ec65963527536c2322eab0
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 28 Oct 2015 15:48:02 +0000 (28 17:48 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 9 Nov 2015 09:59:32 +0000 (9 09:59 +0000)
tree8c197f6a2ed5f29dac13451492bee4cc4a919425
parentc4a7bf54e588ff2de9fba0898b686156251b2063
dataplane: simplify indirect descriptor read

Use address_space_read to make sure we handle the case of an indirect
descriptor crossing DIMM boundary correctly.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 1446047243-3221-1-git-send-email-mst@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/virtio/dataplane/vring.c