xen: cleanup IOREQ server on exit
PATCH 1/1 xen: cleanup IOREQ server on exit
Device model is supposed to destroy IOREQ server for itself.
Signed-off-by Igor Druzhinin <[email protected]>
--- hw/i386/xen/xen-hvm.c | 2 ++ 1 file changed, 2 insertions(+)
hw/i386/xen/xen-hvm.c +2 -0
@@ -1242,6 +1242,8 @@ static void xen_exit_notifier(Notifier *n, void *data) {XenIOState *state =container_of (n, XenIOState, exit); +xen_destroy_ioreq_server (xen_domid, state->ioservid); +xenevtchn_close (state->xce_handle);xs_daemon_close (state->xenstore); }
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 11 lines
-----Original Message-----
From: Igor Druzhinin <[email protected]>
Sent: 29 July 2019 20:29
To: [email protected]; [email protected]
Cc: [email protected]; Anthony Perard <[email protected]>; Paul Durrant <[email protected]>; [email protected]; Igor Druzhinin <[email protected]>
Subject: [PATCH] xen: cleanup IOREQ server on exitDevice model is supposed to destroy IOREQ server for itself.
Signed-off-by Igor Druzhinin <[email protected]>
Acked-by Paul Durrant <[email protected]>
Quoted 18 lines
--- hw/i386/xen/xen-hvm.c | 2 ++ 1 file changed, 2 insertions(+)hw/i386/xen/xen-hvm.c +2
-1@@ -1242,6 +1242,8 @@ static void xen_exit_notifier(Notifier *n, void *data) {XenIOState *state =container_of (n, XenIOState, exit); +xen_destroy_ioreq_server (xen_domid, state->ioservid); +xenevtchn_close (state->xce_handle);xs_daemon_close (state->xenstore); } --
Quoted 1 line
2.7.4
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel