diff options
Diffstat (limited to 'drivers/hv/hv.c')
-rw-r--r-- | drivers/hv/hv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index 0fb100ed91a3..f8a77d01a516 100644 --- a/drivers/hv/hv.c +++ b/drivers/hv/hv.c | |||
@@ -237,6 +237,9 @@ void hv_cleanup(void) | |||
237 | { | 237 | { |
238 | union hv_x64_msr_hypercall_contents hypercall_msr; | 238 | union hv_x64_msr_hypercall_contents hypercall_msr; |
239 | 239 | ||
240 | /* Reset our OS id */ | ||
241 | wrmsrl(HV_X64_MSR_GUEST_OS_ID, 0); | ||
242 | |||
240 | kfree(hv_context.signal_event_buffer); | 243 | kfree(hv_context.signal_event_buffer); |
241 | hv_context.signal_event_buffer = NULL; | 244 | hv_context.signal_event_buffer = NULL; |
242 | hv_context.signal_event_param = NULL; | 245 | hv_context.signal_event_param = NULL; |