diff options
| -rw-r--r-- | drivers/hv/connection.c | 2 | ||||
| -rw-r--r-- | include/linux/hyperv.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index af6edf9b1936..855bbda9964d 100644 --- a/drivers/hv/connection.c +++ b/drivers/hv/connection.c | |||
| @@ -78,6 +78,8 @@ static int vmbus_negotiate_version(struct vmbus_channel_msginfo *msginfo, | |||
| 78 | msg->interrupt_page = virt_to_phys(vmbus_connection.int_page); | 78 | msg->interrupt_page = virt_to_phys(vmbus_connection.int_page); |
| 79 | msg->monitor_page1 = virt_to_phys(vmbus_connection.monitor_pages[0]); | 79 | msg->monitor_page1 = virt_to_phys(vmbus_connection.monitor_pages[0]); |
| 80 | msg->monitor_page2 = virt_to_phys(vmbus_connection.monitor_pages[1]); | 80 | msg->monitor_page2 = virt_to_phys(vmbus_connection.monitor_pages[1]); |
| 81 | if (version == VERSION_WIN8) | ||
| 82 | msg->target_vcpu = hv_context.vp_index[smp_processor_id()]; | ||
| 81 | 83 | ||
| 82 | /* | 84 | /* |
| 83 | * Add to list before we send the request since we may | 85 | * Add to list before we send the request since we may |
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 15da677478dd..344883dce584 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
| @@ -875,7 +875,7 @@ struct vmbus_channel_relid_released { | |||
| 875 | struct vmbus_channel_initiate_contact { | 875 | struct vmbus_channel_initiate_contact { |
| 876 | struct vmbus_channel_message_header header; | 876 | struct vmbus_channel_message_header header; |
| 877 | u32 vmbus_version_requested; | 877 | u32 vmbus_version_requested; |
| 878 | u32 padding2; | 878 | u32 target_vcpu; /* The VCPU the host should respond to */ |
| 879 | u64 interrupt_page; | 879 | u64 interrupt_page; |
| 880 | u64 monitor_page1; | 880 | u64 monitor_page1; |
| 881 | u64 monitor_page2; | 881 | u64 monitor_page2; |
