virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Staging: hv: vmbus: Support building the vmbus driver as part of the kernel
@ 2011-10-24 18:28 K. Y. Srinivasan
  0 siblings, 0 replies; 4+ messages in thread
From: K. Y. Srinivasan @ 2011-10-24 18:28 UTC (permalink / raw)
  To: gregkh, linux-kernel, devel, virtualization, ohering
  Cc: K. Y. Srinivasan, Haiyang Zhang

Modify the way we initialize the vmbus driver so that all the hyper-v drivers
can be linked with the kernel and still ensure that the vmbus driver
is fully initialized before the drivers that depend upon the vmbus 
driver attempt to initialize.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
---
 drivers/hv/vmbus_drv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index 0c048dd..7d3bccb3 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -783,4 +783,4 @@ cleanup:
 MODULE_LICENSE("GPL");
 MODULE_VERSION(HV_DRV_VERSION);
 
-module_init(hv_acpi_init);
+subsys_initcall(hv_acpi_init);
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/1] Staging: hv: vmbus: Support building the vmbus driver as part of the kernel
@ 2011-10-24 20:31 K. Y. Srinivasan
  2011-10-25  2:27 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: K. Y. Srinivasan @ 2011-10-24 20:31 UTC (permalink / raw)
  To: gregkh, linux-kernel, devel, virtualization, ohering
  Cc: K. Y. Srinivasan, Haiyang Zhang

Modify the way we initialize the vmbus driver so that all the hyper-v drivers
can be linked with the kernel and still ensure that the vmbus driver
is fully initialized before the drivers that depend upon the vmbus 
driver attempt to initialize.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
---
 drivers/hv/vmbus_drv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index 0c048dd..7d3bccb3 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -783,4 +783,4 @@ cleanup:
 MODULE_LICENSE("GPL");
 MODULE_VERSION(HV_DRV_VERSION);
 
-module_init(hv_acpi_init);
+subsys_initcall(hv_acpi_init);
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] Staging: hv: vmbus: Support building the vmbus driver as part of the kernel
  2011-10-24 20:31 [PATCH 1/1] Staging: hv: vmbus: Support building the vmbus driver as part of the kernel K. Y. Srinivasan
@ 2011-10-25  2:27 ` Greg KH
  2011-10-25  2:43   ` KY Srinivasan
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2011-10-25  2:27 UTC (permalink / raw)
  To: K. Y. Srinivasan
  Cc: gregkh, linux-kernel, devel, virtualization, ohering,
	Haiyang Zhang

On Mon, Oct 24, 2011 at 01:31:05PM -0700, K. Y. Srinivasan wrote:
> Modify the way we initialize the vmbus driver so that all the hyper-v drivers
> can be linked with the kernel and still ensure that the vmbus driver
> is fully initialized before the drivers that depend upon the vmbus 
> driver attempt to initialize.
> 
> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>

Any reason you sent this out twice?  Was there a difference between the
two versions that I missed?

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/1] Staging: hv: vmbus: Support building the vmbus driver as part of the kernel
  2011-10-25  2:27 ` Greg KH
@ 2011-10-25  2:43   ` KY Srinivasan
  0 siblings, 0 replies; 4+ messages in thread
From: KY Srinivasan @ 2011-10-25  2:43 UTC (permalink / raw)
  To: Greg KH
  Cc: gregkh@suse.de, linux-kernel@vger.kernel.org,
	devel@linuxdriverproject.org, virtualization@lists.osdl.org,
	ohering@suse.com, Haiyang Zhang



> -----Original Message-----
> From: Greg KH [mailto:greg@kroah.com]
> Sent: Monday, October 24, 2011 10:27 PM
> To: KY Srinivasan
> Cc: gregkh@suse.de; linux-kernel@vger.kernel.org;
> devel@linuxdriverproject.org; virtualization@lists.osdl.org; ohering@suse.com;
> Haiyang Zhang
> Subject: Re: [PATCH 1/1] Staging: hv: vmbus: Support building the vmbus driver
> as part of the kernel
> 
> On Mon, Oct 24, 2011 at 01:31:05PM -0700, K. Y. Srinivasan wrote:
> > Modify the way we initialize the vmbus driver so that all the hyper-v drivers
> > can be linked with the kernel and still ensure that the vmbus driver
> > is fully initialized before the drivers that depend upon the vmbus
> > driver attempt to initialize.
> >
> > Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> > Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
> 
> Any reason you sent this out twice?  Was there a difference between the
> two versions that I missed?

No difference. It is the mail server acting up. After I sent the mail initially,
it did not go out for several hours. I sent it again and after several hours, both were
sent out. Sorry for the confusion; you can ignore one of them.

Regards,

K. Y
> 
> greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-25  2:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-24 20:31 [PATCH 1/1] Staging: hv: vmbus: Support building the vmbus driver as part of the kernel K. Y. Srinivasan
2011-10-25  2:27 ` Greg KH
2011-10-25  2:43   ` KY Srinivasan
  -- strict thread matches above, loose matches on Subject: below --
2011-10-24 18:28 K. Y. Srinivasan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).