summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorJason Wang2017-07-14 14:08:18 +0200
committerJason Wang2017-07-17 14:13:56 +0200
commit189ae6bb5ce1f5a322f8691d00fe942ba43dd601 (patch)
tree75e7026c81e3a321a13c44112ef21a90b4d0bf3c /include/exec
parentvirtion-net: Prefer is_power_of_2() (diff)
downloadqemu-189ae6bb5ce1f5a322f8691d00fe942ba43dd601.tar.gz
qemu-189ae6bb5ce1f5a322f8691d00fe942ba43dd601.tar.xz
qemu-189ae6bb5ce1f5a322f8691d00fe942ba43dd601.zip
virtio-net: fix offload ctrl endian
Spec said offloads should be le64, so use virtio_ldq_p() to guarantee valid endian. Fixes: 644c98587d4c ("virtio-net: dynamic network offloads configuration") Cc: qemu-stable@nongnu.org Cc: Dmitry Fleytman <dfleytma@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions