diff options
author | Igor Druzhinin <igor.druzhinin@citrix.com> | 2019-07-29 20:29:23 +0100 |
---|---|---|
committer | Anthony PERARD <anthony.perard@citrix.com> | 2019-08-27 14:18:28 +0100 |
commit | ba7fdd64b6714af7e42dfbe5969caf62c0823f75 (patch) | |
tree | e07acd2a4213ee3821a48f1c19d202402f20312a | |
parent | d297e533a5f653336dbc1c5a24ea196391dff9f5 (diff) | |
download | qemu-ba7fdd64b6714af7e42dfbe5969caf62c0823f75.zip |
xen: cleanup IOREQ server on exit
Device model is supposed to destroy IOREQ server for itself.
Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Acked-by: Paul Durrant <paul.durrant@citrix.com>
Message-Id: <1564428563-1006-1-git-send-email-igor.druzhinin@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
-rw-r--r-- | hw/i386/xen/xen-hvm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i386/xen/xen-hvm.c b/hw/i386/xen/xen-hvm.c index 5d3e4750e6..6b5e5bb7f5 100644 --- a/hw/i386/xen/xen-hvm.c +++ b/hw/i386/xen/xen-hvm.c @@ -1247,6 +1247,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); } |