Commit Graph

15 Commits

Author SHA1 Message Date
Patrick Steinhardt
fe337cf510 [client] ivshmem: fix missing <sys/select.h> include
While the function `ivshmem_wait_irq` makes use of the select(3)
function, it does not include <sys/select.h>. This happens to work on
glibc based systems, which include thet file transitively via other
header files. But on musl libc based systems, this breaks compilation.

Directly include <sys/select.h> to fix the problem.
2017-12-15 18:25:21 +11:00
Geoffrey McRae
cd54cb179b [client] make gcc happy about the ignored read result
Fixes #5
2017-12-15 00:57:49 +11:00
Geoffrey McRae
219179b375 [misc] added website url to sources 2017-12-12 04:30:47 +11:00
Geoffrey McRae
852309464f [client] more polling improvements 2017-12-12 03:59:57 +11:00
Geoffrey McRae
2d5b633397 [client] changed ivshmem wait timeout to avoid stalls on startup 2017-12-12 03:59:57 +11:00
Geoffrey McRae
10e6408022 [misc] common and client project rename to "Looking Glass"
See: https://forum.level1techs.com/t/headless-pci-passthrough-program-name-vote/121779/36
2017-12-12 03:59:57 +11:00
Geoffrey McRae
aa0d3d27d4 added licensing to sources 2017-10-31 19:07:16 +11:00
Geoffrey McRae
2dfd1c7b52 [client] cosmetics 2017-10-29 13:06:41 +11:00
Geoffrey McRae
d60f9988c9 [client] moved DEBUG define into a CFLAG 2017-10-29 13:05:39 +11:00
Geoffrey McRae
9e1aaa29a9 [client] kick the client sooner to help have the next frame ready in time 2017-10-26 15:18:57 +11:00
Geoffrey McRae
b871d6d8d0 [client] implemented the new ivshmem interrupt sync system 2017-10-20 01:03:39 +11:00
Geoffrey McRae
3a7bff77f2 [client] added ivshmem_process thread and fixed shutdown behaviour 2017-10-19 18:50:42 +11:00
Geoffrey McRae
327a3a77cf [client] added ivshmem client tracking and removal 2017-10-19 17:54:00 +11:00
Geoffrey McRae
3dd061b895 [client] client is now opens shared memory from ivshmem passed fd 2017-10-19 17:06:42 +11:00
Geoffrey McRae
48facb3746 [client] added initial ivshmem client implementation 2017-10-19 16:00:57 +11:00