Messages in this thread | | | Date | Wed, 10 Jul 2013 16:26:46 +0300 | From | "Michael S. Tsirkin" <> | Subject | Re: [PATCH 1/2] virtio tools: strip bad include-path from Makefile |
| |
On Wed, Jul 10, 2013 at 06:52:09PM +0530, Ramkumar Ramachandra wrote: > Michael S. Tsirkin wrote: > > This is usespace code so it needs the cleaned-up version from > > usr/include, not the internal kernel one. > > Right, thanks for clearing that up. However, it does seem to depend > on some code in /include in the linux tree. From > tools/virtio/linux/virtio_ring.h: > > #include "../../../include/linux/virtio_ring.h"
Yes, this is because we take some kernel bits and compile as userspace. But it's fragile and it only works for specific headers.
-- MST
| |