diff options
Diffstat (limited to 'drivers/hv/connection.c')
-rw-r--r-- | drivers/hv/connection.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index b27220a425f4..acd50e9d666a 100644 --- a/drivers/hv/connection.c +++ b/drivers/hv/connection.c | |||
@@ -227,6 +227,11 @@ cleanup: | |||
227 | 227 | ||
228 | void vmbus_disconnect(void) | 228 | void vmbus_disconnect(void) |
229 | { | 229 | { |
230 | /* | ||
231 | * First send the unload request to the host. | ||
232 | */ | ||
233 | vmbus_initiate_unload(); | ||
234 | |||
230 | if (vmbus_connection.work_queue) { | 235 | if (vmbus_connection.work_queue) { |
231 | drain_workqueue(vmbus_connection.work_queue); | 236 | drain_workqueue(vmbus_connection.work_queue); |
232 | destroy_workqueue(vmbus_connection.work_queue); | 237 | destroy_workqueue(vmbus_connection.work_queue); |