virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vhost: drop virtio_net.h dependency
@ 2013-05-06 10:37 Michael S. Tsirkin
  2013-05-06 12:07 ` Asias He
  2013-05-06 13:23 ` Asias He
  0 siblings, 2 replies; 3+ messages in thread
From: Michael S. Tsirkin @ 2013-05-06 10:37 UTC (permalink / raw)
  Cc: kvm, Michael S. Tsirkin, netdev, linux-kernel, virtualization,
	Christian Borntraeger

There's no net specific code in vhost.c anymore,
don't include the virtio_net.h header.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---

This is on top of Asias' patches, already queued so
just FYI.

 drivers/vhost/vhost.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index de9441a..dcde269 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -13,7 +13,6 @@
 
 #include <linux/eventfd.h>
 #include <linux/vhost.h>
-#include <linux/virtio_net.h>
 #include <linux/mm.h>
 #include <linux/mmu_context.h>
 #include <linux/miscdevice.h>
-- 
MST

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

* Re: [PATCH] vhost: drop virtio_net.h dependency
  2013-05-06 10:37 [PATCH] vhost: drop virtio_net.h dependency Michael S. Tsirkin
@ 2013-05-06 12:07 ` Asias He
  2013-05-06 13:23 ` Asias He
  1 sibling, 0 replies; 3+ messages in thread
From: Asias He @ 2013-05-06 12:07 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: kvm, netdev, linux-kernel, virtualization, Christian Borntraeger

On Mon, May 06, 2013 at 01:37:34PM +0300, Michael S. Tsirkin wrote:
> There's no net specific code in vhost.c anymore,
> don't include the virtio_net.h header.
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Reviewed-by: Asias He <asias@redhat.com>

> ---
> 
> This is on top of Asias' patches, already queued so
> just FYI.
> 
>  drivers/vhost/vhost.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
> index de9441a..dcde269 100644
> --- a/drivers/vhost/vhost.c
> +++ b/drivers/vhost/vhost.c
> @@ -13,7 +13,6 @@
>  
>  #include <linux/eventfd.h>
>  #include <linux/vhost.h>
> -#include <linux/virtio_net.h>
>  #include <linux/mm.h>
>  #include <linux/mmu_context.h>
>  #include <linux/miscdevice.h>
> -- 
> MST

-- 
Asias

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

* Re: [PATCH] vhost: drop virtio_net.h dependency
  2013-05-06 10:37 [PATCH] vhost: drop virtio_net.h dependency Michael S. Tsirkin
  2013-05-06 12:07 ` Asias He
@ 2013-05-06 13:23 ` Asias He
  1 sibling, 0 replies; 3+ messages in thread
From: Asias He @ 2013-05-06 13:23 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: kvm, netdev, linux-kernel, virtualization, Christian Borntraeger

On Mon, May 06, 2013 at 01:37:34PM +0300, Michael S. Tsirkin wrote:
> There's no net specific code in vhost.c anymore,
> don't include the virtio_net.h header.

Did you push the it to your tree. I am not seeing it.

> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
> 
> This is on top of Asias' patches, already queued so
> just FYI.
> 
>  drivers/vhost/vhost.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
> index de9441a..dcde269 100644
> --- a/drivers/vhost/vhost.c
> +++ b/drivers/vhost/vhost.c
> @@ -13,7 +13,6 @@
>  
>  #include <linux/eventfd.h>
>  #include <linux/vhost.h>
> -#include <linux/virtio_net.h>
>  #include <linux/mm.h>
>  #include <linux/mmu_context.h>
>  #include <linux/miscdevice.h>
> -- 
> MST

-- 
Asias

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

end of thread, other threads:[~2013-05-06 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06 10:37 [PATCH] vhost: drop virtio_net.h dependency Michael S. Tsirkin
2013-05-06 12:07 ` Asias He
2013-05-06 13:23 ` Asias He

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).