kernel-ark/drivers/hv
Andrey Smetanin 17efbee8ba drivers/hv: cleanup synic msrs if vmbus connect failed
Before vmbus_connect() synic is setup per vcpu - this means
hypervisor receives writes at synic msr's and probably allocate
hypervisor resources per synic setup.

If vmbus_connect() failed for some reason it's neccessary to cleanup
synic setup by call hv_synic_cleanup() at each vcpu to get a chance
to free allocated resources by hypervisor per synic.

This patch does appropriate cleanup in case of vmbus_connect() failure.

Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
CC: "K. Y. Srinivasan" <kys@microsoft.com>
CC: Haiyang Zhang <haiyangz@microsoft.com>
CC: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-12-14 19:12:21 -08:00
..
channel_mgmt.c Drivers: hv: vmbus: fix init_vp_index() for reloading hv_netvsc 2015-09-20 22:44:51 -07:00
channel.c Drivers: hv: vmbus: Permit sending of packets without payload 2015-08-04 22:28:39 -07:00
connection.c Drivers: hv: vmbus:Update preferred vmbus protocol version to windows 10. 2015-06-01 06:38:21 +09:00
hv_balloon.c Drivers: hv: balloon: Enable dynamic memory protocol negotiation with Windows 10 hosts 2015-08-04 22:28:39 -07:00
hv_fcopy.c Drivers: hv: utils: run polling callback always in interrupt context 2015-12-14 19:12:21 -08:00
hv_kvp.c Drivers: hv: utils: run polling callback always in interrupt context 2015-12-14 19:12:21 -08:00
hv_snapshot.c Drivers: hv: utils: run polling callback always in interrupt context 2015-12-14 19:12:21 -08:00
hv_util.c Drivers: hv: util: On device remove, close the channel after de-initializing the service 2015-03-01 19:31:02 -08:00
hv_utils_transport.c Drivers: hv: utils: use memdup_user in hvt_op_write 2015-12-14 19:12:21 -08:00
hv_utils_transport.h Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
hv.c Drivers: hv: vmbus: fix build warning 2015-12-14 13:34:50 -08:00
hyperv_vmbus.h Drivers: hv: utils: run polling callback always in interrupt context 2015-12-14 19:12:21 -08:00
Kconfig x86: Make Linux guest support optional 2013-03-04 13:14:25 -08:00
Makefile Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
ring_buffer.c Drivers: hv_vmbus: Fix signal to host condition 2015-08-05 11:44:29 -07:00
vmbus_drv.c drivers/hv: cleanup synic msrs if vmbus connect failed 2015-12-14 19:12:21 -08:00