]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
xen: cleanup IOREQ server on exit xen-4.14.0
authorMaximilian Heyne <mheyne@amazon.de>
Fri, 13 Mar 2020 12:35:26 +0000 (12:35 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 24 Apr 2020 14:44:22 +0000 (15:44 +0100)
commit3c659044118e34603161457db9934a34f816d78b
tree02b6646b3fde5ef7dbec3a3aa658179b3b367cf0
parenteb9bf793f5857ab5ca850bfecba4f11496881500
xen: cleanup IOREQ server on exit

Use the backported Notifier interface to register an atexit handler to
cleanup the IOREQ server. This is required since Xen commit a5a180f9
("x86/domain: don't destroy IOREQ servers on soft reset") is introduced
which requires Qemu to explicitly close the IOREQ server.

This is can be seen as a backport of ba7fdd64 ("xen: cleanup IOREQ
server on exit").

Signed-off-by: Maximilian Heyne <mheyne@amazon.de>
Reviewed-by: Paul Durrant <paul@xen.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
hw/xen_machine_fv.c