qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: vhost.c: include <linux/vhost.h> last
Date: Thu, 8 Apr 2010 23:48:56 +0300	[thread overview]
Message-ID: <20100408204856.GC6044@redhat.com> (raw)
In-Reply-To: <20100408204950.GD25347@amt.cnet>

On Thu, Apr 08, 2010 at 05:49:50PM -0300, Marcelo Tosatti wrote:
> 
> So the userspace headers define KERNEL_STRICT_NAMES and there's no
> conflict on type definition for older kernels.
> 
> igned-off-by: Marcelo Tosatti <mtosatti@redhat.com>

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

> diff --git a/hw/vhost.c b/hw/vhost.c
> index ad2f98a..d37a66e 100644
> --- a/hw/vhost.c
> +++ b/hw/vhost.c
> @@ -10,13 +10,13 @@
>   * the COPYING file in the top-level directory.
>   */
>  
> -#include <linux/vhost.h>
>  #include <sys/ioctl.h>
>  #include <sys/eventfd.h>
>  #include "vhost.h"
>  #include "hw/hw.h"
>  /* For range_get_last */
>  #include "pci.h"
> +#include <linux/vhost.h>
>  
>  static void vhost_dev_sync_region(struct vhost_dev *dev,
>                                    uint64_t mfirst, uint64_t mlast,

  reply	other threads:[~2010-04-08 20:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 20:49 [Qemu-devel] vhost.c: include <linux/vhost.h> last Marcelo Tosatti
2010-04-08 20:48 ` Michael S. Tsirkin [this message]
2010-04-13 22:12   ` [Qemu-devel] " Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100408204856.GC6044@redhat.com \
    --to=mst@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).