Re: [Qemu-devel] [PATCH v2 00/16] Vhost-pci for inter-VM communication

From
Michael S. Tsirkin <>
Date
2017-05-16T15:21:35+00:00
ID
Thread
Re: [Qemu-devel] [PATCH v2 00/16] Vhost-pci for inter-VM communication
On Fri, May 12, 2017 at 02:30:00AM -0700,  wrote:
> In file included from /tmp/qemu-test/src/include/hw/virtio/vhost-pci-slave.h:4:0,
>                  from /tmp/qemu-test/src/vl.c:132:
> /tmp/qemu-test/src/linux-headers/linux/vhost.h:13:25: fatal error: linux/types.h: No such file or directory
>  #include <linux/types.h>
>                          ^
> compilation terminated.
> /tmp/qemu-test/src/rules.mak:69: recipe for target 'vl.o' failed
> make: *** [vl.o] Error 1
> make: *** Waiting for unfinished jobs....
> tests/docker/Makefile.include:118: recipe for target 'docker-run' failed
> make[1]: *** [docker-run] Error 2
> make[1]: Leaving directory '/var/tmp/patchew-tester-tmp-9tacbi6p/src'
> tests/docker/Makefile.include:149: recipe for target 'docker-run-test-mingw@fedora' failed
> make: *** [docker-run-test-mingw@fedora] Error 2
> === OUTPUT END ===

That's because you are
- pulling in linux-specific vhost.h which you shouldn't need to
- including vhost-pci-slave.h in vl.c which you shouldn't need to

-- 
MST