commit | 844c82296f8bd6ceff8d170f3740740f3ce84b73 | [log] [tgz] |
---|---|---|
author | Laurent Vivier <lvivier@redhat.com> | Mon Sep 26 17:24:10 2016 +0200 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Wed Sep 28 11:21:46 2016 +0100 |
tree | 03d6f6f8a5340a66e71620904ae8e0abe0db2a3a | |
parent | eb7b5c35117bfb90dcfa881a0e3b23368c73fba6 [diff] |
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>