Re: [PATCH 16/18] tools include uapi: Grab a copy of linux/vhost.h

From: Michael S. Tsirkin
Date: Wed Aug 02 2017 - 11:44:22 EST


On Wed, Aug 02, 2017 at 11:18:37AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Aug 02, 2017 at 12:19:18AM +0300, Michael S. Tsirkin escreveu:
> > On Tue, Aug 01, 2017 at 04:56:43PM -0300, Arnaldo Carvalho de Melo wrote:
> > > From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> > >
> > > We will use it to generate tables for beautifying ioctl's 'cmd' arg.
> > >
> > > Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> > > Cc: David Ahern <dsahern@xxxxxxxxx>
> > > Cc: Jason Wang <jasowang@xxxxxxxxxx>
> > > Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
> > > Cc: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
> > > Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> > > Cc: Wang Nan <wangnan0@xxxxxxxxxx>
> > > Link: http://lkml.kernel.org/n/tip-nxwpq34hu6te1m2ra5m7o8n9@xxxxxxxxxxxxxx
> > > Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> >
> > Is this what tools/perf always does? Isn't there a way
> > to reuse the single header?
>
> So, that is how we did it at first, we tried to use files from the
> kernel from tools/ directly, and it worked most of the time.
>
> Shortest summary: We don't want to add to the workload of kernel
> developers, they don't have to care about tools/, if they don't want to.

OK then, thanks for the explanation.

--
MST