Statistics
| Branch: | Revision:

root / hw / 9pfs @ 3204db98

# Date Author Comment
9db221ae 10/31/2011 09:04 am Aneesh Kumar K.V

hw/9pfs: Add synthetic file system support using 9p

This patch create a synthetic file system with mount tag
v_synth when -virtfs_synth command line option is specified
in qemu. The synthetic file system can be mounted in guest
using 9p using the below command line...

2583e443 10/31/2011 09:04 am Harsh Prateek Bora

hw/9pfs: Replace rwlocks with RCU variants of interfaces.

Use QLIST_INSERT_HEAD_RCU and rcu_read_lock/unlock instead of rwlocks.
Use v9fs_synth_mutex as a write-only mutex to handle concurrent writers.

Signed-off-by: Harsh Prateek Bora <>...

2c74c2cb 10/31/2011 09:04 am M. Mohan Kumar

hw/9pfs: Read-only support for 9p export

A new fsdev parameter "readonly" is introduced to control accessing 9p export.
"readonly" can be used to specify the access type. By default "rw" access
is given to 9p export.

Signed-off-by: M. Mohan Kumar <>...

cc720ddb 10/31/2011 09:04 am Aneesh Kumar K.V

hw/9pfs: Abstract open state of fid to V9fsFidOpenState

To implement synthetic file system in Qemu we may not really
require file descriptor and Dir *. Make generic code use
V9fsFidOpenState instead.

Signed-off-by: Aneesh Kumar K.V <>

17b1971f 10/31/2011 09:04 am Aneesh Kumar K.V

hw/9pfs: Fix error handling in local_mknod

Update local_chown to remove unnecessary if loop

Signed-off-by: Aneesh Kumar K.V <>

7999f7e1 10/30/2011 11:05 am Aneesh Kumar K.V

hw/9pfs: Make VirtFS tracing work correctly

this patch fix multiple issues with VirtFS tracing.
a) Add tracepoint to the correct code path. We handle error in complete_pdu
b) Fix indentation in python script
c) Fix variable naming issue in python script
...

9844081b 10/15/2011 01:00 pm M. Mohan Kumar

hw/9pfs: Add open flag mapping

Some of the flags are OS/arch dependent we need to use
9P defined value on wire,

Based on the original patch from Venkateswararao Jujjuri <>

Signed-off-by: M. Mohan Kumar <>
Signed-off-by: Aneesh Kumar K.V <>

e06a765e 10/15/2011 01:00 pm Harsh Prateek Bora

hw/9pfs: Add st_gen support in getattr reply

This patch use file system specific ioctl for getting i_generation
value. Not all file system support the ioctl. So we add an export
specific extended operation and assign right callback for the
file system that support i_generation ioctl...

edb9eb73 10/15/2011 01:00 pm Harsh Prateek Bora

hw/9pfs: Add st_gen support for handle based fs driver

Signed-off-by: Harsh Prateek Bora <>
Signed-off-by: Aneesh Kumar K.V <>

c572f23a 10/15/2011 01:00 pm Harsh Prateek Bora

hw/9pfs: Introduce tracing for 9p pdu handlers

Plan is to replace the existing debug infrastructure with Qemu tracing
infrastructure so that user can dynamically enable/disable trace events and
therefore a meaningful trace log can be generated which can be further...

46604b39 10/15/2011 01:00 pm Harsh Prateek Bora

hw/9pfs: Remove virtio-9p-debug.* infra to be replaced by Qemu Tracing.

Removing the existing debug infrastrucure as proposed to be replaced by
Qemu Tracing infrastructure.

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Harsh Prateek Bora <>...

7cca27df 10/15/2011 01:00 pm M. Mohan Kumar

hw/9pfs: Use fs driver specific lstat

Use file system driver specific lstat instead of generic lstat.

Signed-off-by: M. Mohan Kumar <>
Signed-off-by: Aneesh Kumar K.V <>

c98f1d4a 10/15/2011 01:00 pm Aneesh Kumar K.V

hw/9pfs: Use export_flag for indicating whether fs driver use path names.

This allows us to remove another member from the struct

Signed-off-by: Aneesh Kumar K.V <>

fbcbf101 10/15/2011 01:00 pm Aneesh Kumar K.V

hw/9pfs: Rename fstype to fsdriver to make it consistent across VirtFS code

Signed-off-by: Aneesh Kumar K.V <>

b97400ca 10/15/2011 01:00 pm Aneesh Kumar K.V

hw/9pfs: Use export flag for indicating security model

This helps to remove some of the structure members

Signed-off-by: Aneesh Kumar K.V <>

d2042378 10/15/2011 01:00 pm Aneesh Kumar K.V

hw/9pfs: Fix build error on platform that don't support futimens

Also don't do glibc version check to find handle support. Instead
do handle syscall support in configure.

Signed-off-by: Aneesh Kumar K.V <>

ea60f315 10/15/2011 01:00 pm M. Mohan Kumar

virtio-9p: Use 9P specific Lock constants

Use 9P specific lock constants instead of arch specific lock constants.

Signed-off-by: M. Mohan Kumar <>
Signed-off-by: Aneesh Kumar K.V <>

a2f507d9 10/15/2011 01:00 pm Daniel P. Berrange

hw/9pfs: Ensure an error is reported to user if 9pfs mount tag is too long

If the 9pfs mount tag is longer than MAX_TAG_LEN bytes, rather than
silently truncating the tag which will likely break the guest OS,
report an immediate error and exit QEMU

  • hw/9pfs/virtio-9p-device.c: Report error & exit if mount tag is...
5745e38a 10/12/2011 04:41 pm Aneesh Kumar K.V

hw/9pfs: Use ioeventfd for 9p

With ioeventfd:
[root@qemu-img-64 storage]# dd if=/dev/zero of=/storage/testx bs=8k count=131072 oflag=direct
131072+0 records in
131072+0 records out
1073741824 bytes (1.1 GB) copied, 26.767 s, 40.1 MB/s

Without:
[root@qemu-img-64 storage]# dd if=/dev/zero of=/storage/testx bs=8k count=131072 oflag=direct...

d3ab98e6 10/12/2011 04:41 pm Aneesh Kumar K.V

hw/9pfs: Add new virtfs option writeout=immediate skip host page cache

writeout=immediate implies the after pwritev we do a sync_file_range.

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Aneesh Kumar K.V <>

5f542225 09/22/2011 07:08 pm Aneesh Kumar K.V

hw/9pfs: Add handle based fs driver

Signed-off-by: Aneesh Kumar K.V <>

70c18fc0 09/22/2011 07:08 pm Aneesh Kumar K.V

hw/9pfs: Make v9fs_string* functions non-static

We will use them later in other files

Signed-off-by: Aneesh Kumar K.V <>

02cb7f3a 09/22/2011 07:08 pm Aneesh Kumar K.V

hw/9pfs: Use read-write lock for protecting fid path.

On rename we take the write lock and this ensure path
doesn't change as we operate on them.

Signed-off-by: Aneesh Kumar K.V <>

2289be19 09/22/2011 07:08 pm Aneesh Kumar K.V

hw/9pfs: Move fid pathname tracking to seperate data type.

This enables us to add handles to track fids later. The
V9fsPath added is similar to V9fsString except that the
size include the NULL byte also.

Signed-off-by: Aneesh Kumar K.V <>

0174fe73 09/22/2011 07:08 pm Aneesh Kumar K.V

hw/9pfs: Add init callback to fs driver

This call back can be used to do fs driver specific initialization.

Signed-off-by: Aneesh Kumar K.V <>

532decb7 09/22/2011 07:08 pm Aneesh Kumar K.V

hw/9pfs: Add fs driver specific details to fscontext

Add a new context flag PATHNAME_FSCONTEXT and indicate whether
the fs driver track fid using path names. Also add a private
pointer that help us to track fs driver specific values in there

Signed-off-by: Aneesh Kumar K.V <>

ce421a19 09/22/2011 07:08 pm Aneesh Kumar K.V

hw/9pfs: Avoid unnecessary get_fid in v9fs_clunk

Signed-off-by: Aneesh Kumar K.V <>

bccacf6c 09/22/2011 07:08 pm Aneesh Kumar K.V

hw/9pfs: Implement TFLUSH operation

Signed-off-by: Aneesh Kumar K.V <>

c7fbbdf9 09/15/2011 09:28 pm Anthony Liguori

Merge remote-tracking branch 'aneesh/for-upstream-4' into staging

da5391ed 09/09/2011 09:09 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

ad8b8186 09/09/2011 08:58 pm Gerd Hoffmann

Don't use g_thread_get_initialized.

Initialize glib threads unconditionally in main() instead
of using g_thread_get_initialized in the 9p code.

Fixes a build failure on RHEL-5, which ships glib 2.12.
g_thread_get_initialized was added in 2.20.

Signed-off-by: Gerd Hoffmann <>...

7834cf77 09/09/2011 12:37 pm Aneesh Kumar K.V

hw/9pfs: add 9P2000.L unlinkat operation

unlinkat - Remove a directory entry

size4 Tunlinkat tag2 dirfid4 name[s] flag4
size4 Runlinkat tag2

older Tremove have the below request format

size4 Tremove tag2 fid4

The remove message is used to remove a directory entry either file or directory...

89bf6593 09/09/2011 12:16 pm Aneesh Kumar K.V

hw/9pfs: add 9P2000.L renameat operation

rename - change name of file or directory

size4 Trenameat tag2 olddirfid4 oldname[s] newdirfid4 newname[s]
size4 Rrenameat tag2

older Trename have the below request format

size4 Trename tag2 fid4 newdirfid4 name[s]...

10e72295 09/09/2011 12:16 pm Aneesh Kumar K.V

hw/9pfs: Fix memleaks in some 9p operation

Signed-off-by: Aneesh Kumar K.V <>

25427ec1 09/09/2011 12:15 pm Aneesh Kumar K.V

hw/9pfs: Initialize rest of qid field to zero.

Since qid is allocated out of stack we need to intialize
the field to zero. Otherwise we will send wrong qid value
to client.

Signed-off-by: Aneesh Kumar K.V <>

407fee0f 09/09/2011 12:15 pm Aneesh Kumar K.V

hw/9pfs: Update the fidp path before opendir

We need to update the fidp path before opendir. Since we don't
use the fid returned by mkdir, earlier code should not have
much issue. We do a double v9fs_string_copy here. The later patch
cleanup the entire function....

069d89b8 09/09/2011 11:51 am Stefan Weil

virtio-9p: Fix syntax error in debug code

This error was reported by cppcheck:

qemu/hw/9pfs/virtio-9p-debug.c:342:
error: Invalid number of character ({) when these macros are defined:
'DEBUG_DATA'.

Cc: Aneesh Kumar K.V <>...

63236c15 09/08/2011 04:52 pm Anthony Liguori

Merge remote-tracking branch 'aneesh/for-upstream-3' into staging

541dc0d4 09/03/2011 01:45 pm Stefan Weil

Use new macro QEMU_PACKED for packed structures

Most changes were made using these commands:

git grep -la '__attribute__((packed))'|xargs perl -pi -e 's/__attribute__\(\(packed\)\)/QEMU_PACKED/'
git grep -la '__attribute__ ((packed))'|xargs perl -pi -e 's/__attribute__ \(\(packed\)\)/QEMU_PACKED/'...

9b54ffaa 08/25/2011 05:46 pm Aneesh Kumar K.V

hw/9pfs: Use v9fs_do_close instead of close

we should use the local abstraction instead of
directly calling close.

Signed-off-by: Aneesh Kumar K.V <>

95f65511 08/25/2011 05:46 pm Aneesh Kumar K.V

hw/9pfs: Add directory reclaim support

Signed-off-by: Aneesh Kumar K.V <>

b9cb88b0 08/25/2011 05:46 pm Aneesh Kumar K.V

hw/9pfs: mark directories also as un-reclaimable on unlink

Signed-off-by: Aneesh Kumar K.V <>

84dfb926 08/25/2011 05:46 pm Aneesh Kumar K.V

hw/9pfs: Add reference counting for fid

Signed-off-by: Aneesh Kumar K.V <>

7a462745 08/25/2011 05:46 pm Aneesh Kumar K.V

hw/9pfs: Add file descriptor reclaim support

[M. Mohan Kumar <> removed some unused variables]

Signed-off-by: Aneesh Kumar K.V <>

9e5b2247 08/25/2011 05:46 pm Aneesh Kumar K.V

hw/9pfs: init fid list properly

Signed-off-by: Aneesh Kumar K.V <>

5f524c1e 08/22/2011 07:14 am Harsh Prateek Bora

use readdir_r instead of readdir for reentrancy

Signed-off-by: Harsh Prateek Bora <>
Signed-off-by: Aneesh Kumar K.V <>

d208a0e0 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_read to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

7eafdcc9 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Add yield support for preadv coroutine

Signed-off-by: Aneesh Kumar K.V <>

8c158561 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_attach to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

b81d685e 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_wstat to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

d7a90491 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_write to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

f6b3c976 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Add yield support for pwritev coroutine

Signed-off-by: Aneesh Kumar K.V <>

ffd66876 08/22/2011 07:14 am Venkateswararao Jujjuri (JV)

hw/9pfs: Update v9fs_link to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

c6c069b0 08/22/2011 07:14 am Venkateswararao Jujjuri

hw/9pfs: Add yield support for link coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

3fa2a8d1 08/22/2011 07:14 am Venkateswararao Jujjuri

hw/9pfs: Update v9fs_symlink to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

02ac7a34 08/22/2011 07:14 am Venkateswararao Jujjuri

hw/9pfs: Add yield support for symlin coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

baaa86d9 08/22/2011 07:14 am Venkateswararao Jujjuri

hw/9pfs: Update v9fs_create to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

4e9ad444 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_fsync to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

4743d1f5 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Add yield support for fsync coroutine

Signed-off-by: Aneesh Kumar K.V <>

c540ee51 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_clunk to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

bed4352c 08/22/2011 07:14 am Aneesh Kumar K.V

hw/9pfs: Add yeild support for clunk related coroutine

This include lsetxattr, lremovexattr, closedir and close.

Signed-off-by: Aneesh Kumar K.V <>

3cc19c0c 08/22/2011 06:53 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_walk to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

d8e0c29e 08/22/2011 06:52 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_stat to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

e4de4232 08/22/2011 06:51 am Venkateswararao Jujjuri

hw/9pfs: Add yield support for open2 coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

36f8981f 08/22/2011 06:51 am Venkateswararao Jujjuri

hw/9pfs: Update v9fs_lcreate to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

f6b7f0ab 08/22/2011 06:49 am Aneesh Kumar K.V

hw/9pfs: Add yield support for open and opendir coroutine

Signed-off-by: Aneesh Kumar K.V <>

857bc158 08/22/2011 06:49 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_open to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

e4e414a4 08/22/2011 06:48 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_getlock to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

03feb1e1 08/22/2011 06:44 am Aneesh Kumar K.V

hw/9pfs: Add yeild support for fstat coroutine

Signed-off-by: Aneesh Kumar K.V <>

0c27bf2a 08/22/2011 06:44 am Aneesh Kumar K.V

hw/9pfs: Update v9fs_lock to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

2a487e05 08/08/2011 09:21 pm Aneesh Kumar K.V

hw/9pfs: Add yeild support to rename coroutine

Signed-off-by: Aneesh Kumar K.V <>

930b1e17 08/08/2011 09:21 pm Aneesh Kumar K.V

hw/9pfs: Update vfs_rename to use coroutines

I guess TRENAME 9p operation needs an update. The 9p op should
more similar renameat. Otherwise anything other than path cannot track
the fid.

Signed-off-by: Aneesh Kumar K.V <>

ae1ef571 08/08/2011 09:20 pm Venkateswararao Jujjuri

hw/9pfs: Update v9fs_remove to use coroutines

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

b4b1537b 08/08/2011 09:18 pm Venkateswararao Jujjuri

hw/9pfs: Add yield support for remove

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

e84861f7 08/08/2011 09:16 pm Venkateswararao Jujjuri

hw/9pfs: Update mkdir to use coroutines

Signed-off-by: Venkateswararao Jujjuri "<>
Signed-off-by: Aneesh Kumar K.V <>

d0884642 08/08/2011 09:14 pm Venkateswararao Jujjuri

hw/9pfs: Add yield support for mkdir coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

1b733fed 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_mknod to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

94840ff9 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to statfs coroutine

Signed-off-by: Aneesh Kumar K.V <>

88a4763e 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_statfs to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

172198d4 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to lstat coroutine

Signed-off-by: Aneesh Kumar K.V <>

8db21ce7 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_getattr to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

4011ead2 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to setattr related coroutines

This include chmod, utimensat, chown and truncate.

Signed-off-by: Aneesh Kumar K.V <>

65c05f9a 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_setattr to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

1ceffa54 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to xattr related coroutine

This include llistxattr and lgetxattr.

Signed-off-by: Aneesh Kumar K.V <>

670185a6 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_xattrwalk to coroutines

Signed-off-by: Aneesh Kumar K.V <>

f10ff58d 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_xattrcreate to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

00ace8c5 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support to mknod coroutine

Signed-off-by: Aneesh Kumar K.V <>

dcb9dbe3 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Add yield support for readdir related coroutines

This include readdir, telldir, seekdir, rewinddir.

Signed-off-by: Aneesh Kumar K.V <>

5e4eaa79 08/08/2011 09:12 pm Aneesh Kumar K.V

hw/9pfs: Update v9fs_readdir to use coroutines

Signed-off-by: Aneesh Kumar K.V <>

7a5ca31e 08/08/2011 09:09 pm Venkateswararao Jujjuri

hw/9pfs: Update v9fs_readlink to use coroutine

Signed-off-by: Venkateswararao Jujjuri <>
Signed-off-by: Aneesh Kumar K.V <>

86e42d74 08/08/2011 09:03 pm Venkateswararao Jujjuri (JV)

hw/9pfs: Add yeild support for readlink

Signed-off-by: Venkateswararao Jujjuri (JV) <>
Signed-off-by: Aneesh Kumar K.V <>

39c0564e 08/08/2011 10:35 am Venkateswararao Jujjuri (JV)

[virtio-9p] Add infrastructure to support glib threads and coroutines.

This patch is originally made by Arun Bharadwaj for glib support.
Later Harsh Prateek Bora added coroutines support.
This version implemented with suggestions from
Stefan Hajnoczi <>....

ff06030f 08/08/2011 10:35 am Venkateswararao Jujjuri (JV)

[virtio-9p] Change all pdu handlers to coroutines.

This patch changes the top level handlers to coroutines and sets the base.
It will be followed up with series of patches to convert all filesystem
calls to threaded coroutines pushing all blocking clals in VirtFS out...

befeac45 06/15/2011 06:27 pm Michael S. Tsirkin

Merge remote-tracking branch 'origin/master' into pci

Conflicts:
hw/virtio-pci.c

93e0597e 06/08/2011 08:15 pm Anthony Liguori

Merge remote-tracking branch 'jvrao/for-anthony' into staging

9694b5d1 06/04/2011 12:39 am Stefan Weil

virtio-9p: Remove statement without effect (fix warning from cppcheck)

cppcheck report:
virtio-9p.c:197: warning: Redundant assignment of "flags" to itself

Signed-off-by: Stefan Weil <>
Reviewed-by: Venkateswararao Jujjuri <>...

5c3234c6 06/01/2011 08:25 pm Aneesh Kumar K.V

hw/9pfs: Don't crash when we get a request with not supported 9p operation

Return EOPNOTSUPP as error

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri (JV) <>

faa44e3d 06/01/2011 08:25 pm Venkateswararao Jujjuri (JV)

[virtio-9p] Make rpath thread safe

Current rpath inline function is heavily used in all system calls.
This function has a static buffer making it a non-thread safe function.
This patch introduces new thread-safe routine and makes use of it.

Signed-off-by: Venkateswararao Jujjuri "<>

873c3213 06/01/2011 08:25 pm Stefan Weil

virtio-9p: Use relative includes for files in hw

Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files
without fixing the include paths. It used a modified CFLAGS
to add hw to the include search path, but this breaks builds
where the user wants to set special CFLAGS. Long include paths...