diff options
author | Laurent Vivier | 2016-09-26 17:24:10 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2016-09-28 12:21:46 +0200 |
commit | 844c82296f8bd6ceff8d170f3740740f3ce84b73 (patch) | |
tree | 03d6f6f8a5340a66e71620904ae8e0abe0db2a3a /hw/net/imx_fec.c | |
parent | iothread: check iothread->ctx before aio_context_unref to avoid assertion (diff) | |
download | qemu-844c82296f8bd6ceff8d170f3740740f3ce84b73.tar.gz qemu-844c82296f8bd6ceff8d170f3740740f3ce84b73.tar.xz qemu-844c82296f8bd6ceff8d170f3740740f3ce84b73.zip |
libqos: fix qvring_init()
"vq->desc[i].addr" is a 64bit value,
so write it with writeq(), not writew().
struct vring_desc {
__virtio64 addr;
__virtio32 len;
__virtio16 flags;
__virtio16 next;
};
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Message-id: 1474903450-9605-1-git-send-email-lvivier@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/net/imx_fec.c')
0 files changed, 0 insertions, 0 deletions