|
@@ -805,21 +805,12 @@ static void vmbus_onoffer(struct vmbus_channel_message_header *hdr)
|
|
|
/*
|
|
|
* Setup state for signalling the host.
|
|
|
*/
|
|
|
- newchannel->sig_event = (struct hv_input_signal_event *)
|
|
|
- (ALIGN((unsigned long)
|
|
|
- &newchannel->sig_buf,
|
|
|
- HV_HYPERCALL_PARAM_ALIGN));
|
|
|
-
|
|
|
- newchannel->sig_event->connectionid.asu32 = 0;
|
|
|
- newchannel->sig_event->connectionid.u.id = VMBUS_EVENT_CONNECTION_ID;
|
|
|
- newchannel->sig_event->flag_number = 0;
|
|
|
- newchannel->sig_event->rsvdz = 0;
|
|
|
+ newchannel->sig_event = VMBUS_EVENT_CONNECTION_ID;
|
|
|
|
|
|
if (vmbus_proto_version != VERSION_WS2008) {
|
|
|
newchannel->is_dedicated_interrupt =
|
|
|
(offer->is_dedicated_interrupt != 0);
|
|
|
- newchannel->sig_event->connectionid.u.id =
|
|
|
- offer->connection_id;
|
|
|
+ newchannel->sig_event = offer->connection_id;
|
|
|
}
|
|
|
|
|
|
memcpy(&newchannel->offermsg, offer,
|