summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/introspect.py
diff options
context:
space:
mode:
authorVivek Goyal2021-09-30 17:30:28 +0200
committerDr. David Alan Gilbert2021-10-25 19:58:20 +0200
commitc68276556a1e6e035f9a27d0dbb2f87b349f3aea (patch)
treea002db6ffe4a3cddfbad12734fbf7c260e2c2112 /scripts/qapi/introspect.py
parentvirtiofsd: Remove unused virtio_fs_config definition (diff)
downloadqemu-c68276556a1e6e035f9a27d0dbb2f87b349f3aea.tar.gz
qemu-c68276556a1e6e035f9a27d0dbb2f87b349f3aea.tar.xz
qemu-c68276556a1e6e035f9a27d0dbb2f87b349f3aea.zip
virtiofsd: Add a helper to send element on virtqueue
We have open coded logic to take locks and push element on virtqueue at three places. Add a helper and use it everywhere. Code is easier to read and less number of lines of code. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Message-Id: <20210930153037.1194279-5-vgoyal@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions