Skip to contentSkip to conversation

vmbus driver

DISCUSSION K. Y. Srinivasan 4 participants 13 messages May 19, 2011 – May 23, 2011 virtio core

lore
Share & tools
lore
#0 lore raw

Greg,

A few days ago you applied all the outstanding patches for the Hyper-V drivers. With these patches, I have addressed all of the known review comments for the vmbus driver (and a lot of comments/issues in other drivers as well). I am still hoping I can address
whatever other issues/comments there might be with the intention to get the vmbus driver out of staging in the current window. What is your sense in terms of how feasible this is. From my side, I can assure you that I will address all legitimate issues in a very timely manner and this will not be dependent upon the location of the drivers (staging or outside staging). Looking forward to hearing from you.

Regards,

K. Y

#1 lore raw
Quoted 10 lines · K. Y. Srinivasan

A few days ago you applied all the outstanding patches for the Hyper-V drivers. With these patches, I have addressed all of the known review comments for the vmbus driver (and a lot of comments/issues in other drivers as well). I am still hoping I can address
whatever other issues/comments there might be with the intention to get the vmbus driver out of staging in the current window. What is your sense in terms of how feasible this is. From my side, I can assure you that I will address all legitimate issues in a very timely manner and this will not be dependent upon the location of the drivers (staging or outside staging). Looking forward to hearing from you.

There's no point in merging it without a user. Make sure either the network or storage driver is in a good enough shape to move with it, to make sure the APIs it exports are actually sanely usable.

On the other hand the HV clocksource looks mostly mergeable and doesn't depend on vmbus. Send a patch to add it to drivers/clocksource to the maintainer and it should be mergeable with very little remaining cleanup.

#11 lore raw
In reply to K. Y. Srinivasan
Quoted 13 lines · K. Y. Srinivasan

Greg,

A few days ago you applied all the outstanding patches for the Hyper-V drivers. With these patches, I have addressed all of the known review comments for the vmbus driver (and a lot of comments/issues in other drivers as well). I am still hoping I can address
whatever other issues/comments there might be with the intention to get the vmbus driver out of staging in the current window. What is your sense in terms of how feasible this is. From my side, I can assure you that I will address all legitimate issues in a very timely manner and this will not be dependent upon the location of the drivers (staging or outside staging). Looking forward to hearing from you.

The merge window is closed now, and I'm on the road in asia for about 3 weeks, so doing this, at this point in the development cycle, is going to be hard.

I'll go review the bus code again after the code is all merged with Linus, which should take a week or so depending on my schedule, and let you know what's left to do (I think there still is something wierd with the way the hv_driver is structured, but I could be wrong.)

In the mean time, I'm sure the block and network driver still need a lot of work, and merging the bus code doesn't make much sense without them as a user as that is what people really want to use, so you can continue to work on them.

thanks,

greg k-h

#2 lore raw
In reply to Christoph Hellwig
Quoted 22 lines

-----Original Message-----
From: Christoph Hellwig [mailto:[email protected]]
Sent: Friday, May 20, 2011 8:27 AM
To: KY Srinivasan
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: vmbus driver

Quoted 10 lines · K. Y. Srinivasan

A few days ago you applied all the outstanding patches for the Hyper-V drivers. With these patches, I have addressed all of the known review comments for the vmbus driver (and a lot of comments/issues in other drivers as well). I am still hoping I can address
whatever other issues/comments there might be with the intention to get the vmbus driver out of staging in the current window. What is your sense in terms of how feasible this is. From my side, I can assure you that I will address all legitimate issues in a very timely manner and this will not be dependent upon the location of the drivers (staging or outside staging). Looking forward to hearing from you.

Quoted 3 lines

There's no point in merging it without a user. Make sure either the network or storage driver is in a good enough shape to move with it, to make sure the APIs it exports are actually sanely usable.

Well, the util driver that implements a range of other services such as KVP, time synch, heartbeat etc. is also a client of the vmbus driver (perhaps not in the same way as the storage and network drivers). I was hoping to
move the util driver out of staging along with the vmbus driver.

On a different note, thanks to the feedback I got from you, Greg and others, both storage and network drivers are in a much better shape than they ever were. I will continue to cleanup the storage drivers and I would greatly appreciate your feedback and review.

Quoted 5 lines

On the other hand the HV clocksource looks mostly mergeable and doesn't depend on vmbus. Send a patch to add it to drivers/clocksource to the maintainer and it should be mergeable with very little remaining cleanup.

Agreed, now that the merge window is closed, I will have to wait for a few weeks.

Regards,

K. Y

#12 lore raw
In reply to Greg KH
Quoted 25 lines

-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Friday, May 20, 2011 9:05 AM
To: KY Srinivasan
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: vmbus driver

Quoted 13 lines · K. Y. Srinivasan

Greg,

A few days ago you applied all the outstanding patches for the Hyper-V drivers. With these patches, I have addressed all of the known review comments for the vmbus driver (and a lot of comments/issues in other drivers as well). I am still hoping I can address
whatever other issues/comments there might be with the intention to get the vmbus driver out of staging in the current window. What is your sense in terms of how feasible this is. From my side, I can assure you that I will address all legitimate issues in a very timely manner and this will not be dependent upon the location of the drivers (staging or outside staging). Looking forward to hearing from you.

Quoted 8 lines

The merge window is closed now, and I'm on the road in asia for about 3 weeks, so doing this, at this point in the development cycle, is going to be hard.

I'll go review the bus code again after the code is all merged with Linus, which should take a week or so depending on my schedule, and let you know what's left to do (I think there still is something wierd with the way the hv_driver is structured, but I could be wrong.)

Thanks Greg. I look forward to your feedback.

Quoted 5 lines

In the mean time, I'm sure the block and network driver still need a lot of work, and merging the bus code doesn't make much sense without them as a user as that is what people really want to use, so you can continue to work on them.

I will continue to cleanup the block and network driver code. As you know the util driver is also a client of the vmbus driver (as far as the communication with the host goes). So, it may still make sense to plan for getting the vmbus driver out of staging along with the util and the timesource driver.

Regards,

K. Y

#3 lore raw
In reply to KY Srinivasan
Quoted 2 lines · KY Srinivasan

Well, the util driver that implements a range of other services such as KVP, time synch, heartbeat etc. is also a client of the vmbus driver (perhaps not in the

The KVP driver is a different module as far as I can see. But it really needs a lot of work, as no one should use the ugly connector interface for new code. The closest equivalent is gennetlink, but I'd like to understand what it's actually supposed to do in practice.

#5 lore raw
In reply to Christoph Hellwig
Quoted 22 lines

-----Original Message-----
From: Christoph Hellwig [mailto:[email protected]]
Sent: Friday, May 20, 2011 8:27 AM
To: KY Srinivasan
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: vmbus driver

Quoted 10 lines · K. Y. Srinivasan

A few days ago you applied all the outstanding patches for the Hyper-V drivers. With these patches, I have addressed all of the known review comments for the vmbus driver (and a lot of comments/issues in other drivers as well). I am still hoping I can address
whatever other issues/comments there might be with the intention to get the vmbus driver out of staging in the current window. What is your sense in terms of how feasible this is. From my side, I can assure you that I will address all legitimate issues in a very timely manner and this will not be dependent upon the location of the drivers (staging or outside staging). Looking forward to hearing from you.

Quoted 8 lines

There's no point in merging it without a user. Make sure either the network or storage driver is in a good enough shape to move with it, to make sure the APIs it exports are actually sanely usable.

On the other hand the HV clocksource looks mostly mergeable and doesn't depend on vmbus. Send a patch to add it to drivers/clocksource to the maintainer and it should be mergeable with very little remaining cleanup.

I see maintainers for each of the clocksource drivers and I see John Stultz and Thomas Gleixner listed as the maintainers for Timekeeping. Who should sign-off on the Hyper-V clocksource.

Regards,

K. Y

#4 lore raw
In reply to Christoph Hellwig
Quoted 11 lines

-----Original Message-----
From: Christoph Hellwig [mailto:[email protected]]
Sent: Friday, May 20, 2011 9:22 AM
To: KY Srinivasan
Cc: Christoph Hellwig; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: vmbus driver

On Fri, May 20, 2011 at 01:12:32PM +0000, KY Srinivasan wrote:

Quoted 8 lines
Quoted 2 lines

Well, the util driver that implements a range of other services such as KVP, time synch, heartbeat etc. is also a client of the vmbus driver (perhaps not in

the

The KVP driver is a different module as far as I can see. But it really needs a lot of work, as no one should use the ugly connector interface for new code. The closest equivalent is gennetlink, but I'd like to understand what it's actually supposed to do in practice.

Chris,

I wrote the KVP component of the util driver less than a year ago and This code was reviewed on this list before it was accepted. The KVP (Key Value Pair) functionality supports host based queries on the guest. The data gathering in the guest is done in user-mode and the kernel component of KVP is used to communicate with the host. I am using the connector interface to support communication between the kernel component and the user-mode daemon. The KVP functionality is needed to integrate with the Microsoft management stack on the host.

Regards,

K. Y

#6 lore raw
In reply to KY Srinivasan
Quoted 3 lines

I see maintainers for each of the clocksource drivers and I see John Stultz and Thomas Gleixner listed as the maintainers for Timekeeping. Who should sign-off on the Hyper-V clocksource.

just send it to both of the with linux-kernel in Cc, and either of them will probably put it in.

#7 lore raw
Quoted 10 lines

-----Original Message-----
From: Christoph Hellwig [mailto:[email protected]]
Sent: Sunday, May 22, 2011 7:00 AM
To: KY Srinivasan
Cc: Christoph Hellwig; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: vmbus driver

Quoted 8 lines
Quoted 2 lines

I see maintainers for each of the clocksource drivers and I see John Stultz and Thomas Gleixner listed as the maintainers for Timekeeping. Who should sign-

off

Quoted 1 line

on the Hyper-V clocksource.

just send it to both of the with linux-kernel in Cc, and either of them will probably put it in.

Will do.

Thanks,

K. Y

#8 lore raw
In reply to Christoph Hellwig
Quoted 10 lines

-----Original Message-----
From: Christoph Hellwig [mailto:[email protected]]
Sent: Sunday, May 22, 2011 7:00 AM
To: KY Srinivasan
Cc: Christoph Hellwig; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: vmbus driver

Quoted 8 lines
Quoted 2 lines

I see maintainers for each of the clocksource drivers and I see John Stultz and Thomas Gleixner listed as the maintainers for Timekeeping. Who should sign-

off

Quoted 1 line

on the Hyper-V clocksource.

just send it to both of the with linux-kernel in Cc, and either of them will probably put it in.

John, Thomas,

I am working on getting Hyper-V drivers (drivers/staging/hv/*) out of staging. I would like to request you to look at the Hyper-V timesource driver:
drivers/staging/hv/hv_timesource.c. The supporting code for this driver
is already part of the base kernel. Let me know if this driver is ready to exit staging.

Regards,

K. Y

#9 lore raw
Quoted 4 lines · KY Srinivasan

I am working on getting Hyper-V drivers (drivers/staging/hv/*) out of staging. I would like to request you to look at the Hyper-V timesource driver:
drivers/staging/hv/hv_timesource.c. The supporting code for this driver
is already part of the base kernel. Let me know if this driver is ready to exit staging.

Can you please send a patch against drivers/clocksource (the staging part is uninteresting for review).

Thanks,

tglx

#10 lore raw
Quoted 12 lines

-----Original Message-----
From: Thomas Gleixner [mailto:[email protected]]
Sent: Monday, May 23, 2011 9:52 AM
To: KY Srinivasan
Cc: Christoph Hellwig; [email protected]; [email protected]; linux- [email protected]; [email protected]; [email protected]
Subject: RE: vmbus driver

On Mon, 23 May 2011, KY Srinivasan wrote:

Quoted 8 lines
Quoted 4 lines

I am working on getting Hyper-V drivers (drivers/staging/hv/*) out of staging. I would like to request you to look at the Hyper-V timesource driver:
drivers/staging/hv/hv_timesource.c. The supporting code for this driver is already part of the base kernel. Let me know if this driver is ready to exit

staging.

Can you please send a patch against drivers/clocksource (the staging part is uninteresting for review).

Will do.

Regards,

K. Y