Following up on commit 9c0eed61 ("qemu-trad: stop using the default IOREQ server"), clean up the IOREQ server on exit. This fixes a bug with soft-reset that shows up as "bind interdomain ioctl error 22" because the event channels were not closed at the soft-reset and can't be bound again.
For this I used the exit notifiers from QEMU that I backported together with the required generic notifier lists. Anthony Liguori (1): Add support for generic notifier lists Gerd Hoffmann (1): Add exit notifiers. Maximilian Heyne (1): xen: cleanup IOREQ server on exit Makefile | 1 + hw/xen_machine_fv.c | 11 +++++++++++ notify.c | 39 +++++++++++++++++++++++++++++++++++++++ notify.h | 43 +++++++++++++++++++++++++++++++++++++++++++ sys-queue.h | 5 +++++ sysemu.h | 5 +++++ vl.c | 20 ++++++++++++++++++++ 7 files changed, 124 insertions(+) create mode 100644 notify.c create mode 100644 notify.h -- 2.16.6 Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel