summary refs log tree commit diff stats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorJason Andryuk <jandryuk@gmail.com>2023-05-02 10:37:22 -0400
committerChristian Schoenebeck <qemu_oss@crudebyte.com>2023-05-16 16:21:54 +0200
commit92e667f6fd5806a6a705a2a43e572bd9ec6819da (patch)
tree8e5fb90f28af3433d81b0cc98973e9ff1028384b /scripts/qapi
parentf91ce58cb2eba96192bdbd730e7a0952873f6c05 (diff)
downloadfocaccia-qemu-92e667f6fd5806a6a705a2a43e572bd9ec6819da.tar.gz
focaccia-qemu-92e667f6fd5806a6a705a2a43e572bd9ec6819da.zip
9pfs/xen: Fix segfault on shutdown
xen_9pfs_free can't use gnttabdev since it is already closed and NULL-ed
out when free is called.  Do the teardown in _disconnect().  This
matches the setup done in _connect().

trace-events are also added for the XenDevOps functions.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Message-Id: <20230502143722.15613-1-jandryuk@gmail.com>
[C.S.: - Remove redundant return in xen_9pfs_free().
       - Add comment to trace-events. ]
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions