/* VmbusOnDeviceAdd - Callback when the root bus device is added  */
static int VmbusOnDeviceAdd(struct hv_device *dev, void *AdditionalInfo)
/* VmbusOnDeviceAdd - Callback when the root bus device is added  */
static int VmbusOnDeviceAdd(struct hv_device *dev, void *AdditionalInfo)
{
	u32 *irqvector = AdditionalInfo;
	int ret;
	DPRINT_ENTER(VMBUS);
	gDevice = dev;
	memcpy(&gDevice->deviceType, &gVmbusDeviceType, sizeof(struct hv_guid));
	memcpy(&gDevice->deviceInstance, &gVmbusDeviceId,
	       sizeof(struct hv_guid));
	on_each_cpu(HvSynicInit, (void *)irqvector, 1);
	ret = VmbusConnect();
	DPRINT_EXIT(VMBUS);
	return ret;
}