diff options
| author | Jason Wang | 2017-07-14 14:08:18 +0200 |
|---|---|---|
| committer | Jason Wang | 2017-07-17 14:13:56 +0200 |
| commit | 189ae6bb5ce1f5a322f8691d00fe942ba43dd601 (patch) | |
| tree | 75e7026c81e3a321a13c44112ef21a90b4d0bf3c /include/exec | |
| parent | virtion-net: Prefer is_power_of_2() (diff) | |
| download | qemu-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
