summaryrefslogtreecommitdiffstats
path: root/qemu-bridge-helper.c
diff options
context:
space:
mode:
authorCornelia Huck2021-01-22 19:00:29 +0100
committerJason Wang2021-03-15 09:41:22 +0100
commit3aa1b7af0f5fbfdf1b4759658e1445bda680b40d (patch)
tree7908c80f6c63ffe97e1d92c2888579bfd0140d93 /qemu-bridge-helper.c
parentlan9118: switch to use qemu_receive_packet() for loopback (diff)
downloadqemu-3aa1b7af0f5fbfdf1b4759658e1445bda680b40d.tar.gz
qemu-3aa1b7af0f5fbfdf1b4759658e1445bda680b40d.tar.xz
qemu-3aa1b7af0f5fbfdf1b4759658e1445bda680b40d.zip
pvrdma: wean code off pvrdma_ring.h kernel header
The pvrdma code relies on the pvrdma_ring.h kernel header for some basic ring buffer handling. The content of that header isn't very exciting, but contains some (q)atomic_*() invocations that (a) cause manual massaging when doing a headers update, and (b) are an indication that we probably should not be importing that header at all. Let's reimplement the ring buffer handling directly in the pvrdma code instead. This arguably also improves readability of the code. Importing the header can now be dropped. Signed-off-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Yuval Shaia <yuval.shaia.ml@gmail.com> Tested-by: Yuval Shaia <yuval.shaia.ml@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions