diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-09-26 17:24:10 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-09-28 11:21:46 +0100 |
commit | 844c82296f8bd6ceff8d170f3740740f3ce84b73 (patch) | |
tree | 03d6f6f8a5340a66e71620904ae8e0abe0db2a3a /tpm.c | |
parent | eb7b5c35117bfb90dcfa881a0e3b23368c73fba6 (diff) | |
download | 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 'tpm.c')
0 files changed, 0 insertions, 0 deletions