Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-11-19 | refactor socket code into lib/tran_sock.[ch] (#97) | John Levon | 12 | -749/+786 | |
2020-11-18 | implement new negotiation implementation | John Levon | 4 | -108/+254 | |
Refactor for a partial re-implementation of initial vfio-user negotiation. Still needs to do the JSON parsing - in the meantime, hard-code the max_fds parameters we expect. | |||||
2020-11-18 | samples/server.c: add _GNU_SOURCE for aligned_alloc() | John Levon | 1 | -0/+1 | |
2020-11-18 | document how to run client/server sample | Thanos Makatos | 1 | -0/+31 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | implement migration resuming on destination server | Thanos Makatos | 4 | -129/+476 | |
This patch implements resuming on the destination server. We also demonstrate how to do this in the client/server sample. Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | samples/server: replace fprintf(stdout, ...) with printf for simplicity | Thanos Makatos | 1 | -7/+7 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | samples/client: use err/errx for simplicity | Thanos Makatos | 1 | -205/+119 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | samples/server: use err/errx for simplicity | Thanos Makatos | 1 | -29/+17 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | assorted fixes | Thanos Makatos | 1 | -14/+26 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | don't swallow original reason why bind(2) fails | Thanos Makatos | 1 | -1/+2 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | client/server sample: trigger IRQ based on alarm | Thanos Makatos | 2 | -74/+80 | |
This avoid having to manually send USR1 to the server. Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | remove commented out header | Thanos Makatos | 1 | -1/+0 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | don't assert on error, instead respond with the relevant bit set | Thanos Makatos | 3 | -6/+19 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-18 | small cleanups post-muser.ko removal | John Levon | 5 | -14/+9 | |
2020-11-18 | add a github-recognised LICENSE file | John Levon | 1 | -4/+27 | |
Now we no longer have kernel code, we can explicitly use the github-recognised LICENSE text. | |||||
2020-11-18 | Merge pull request #92 from swapnili/master | swapnili | 10 | -707/+45 | |
Cleanup and warning fixes | |||||
2020-11-17 | remove test_dma_map.c,test_mmap.c and test_read.c | Swapnil Ingle | 4 | -682/+0 | |
Those files were intended for kmod. No use for vfio-user. Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com> | |||||
2020-11-17 | Fix compiler errors for non-dbg build | Swapnil Ingle | 6 | -25/+45 | |
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com> | |||||
2020-11-16 | Merge pull request #90 from tmakatos/master | Thanos | 2 | -18/+29 | |
misc fixes | |||||
2020-11-16 | log message for bad bitmaps flag | Thanos Makatos | 1 | -0/+1 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-16 | validate argsz | Thanos Makatos | 2 | -12/+22 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-16 | remove obsolete comment | Thanos Makatos | 1 | -6/+0 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-16 | check for short reads | Thanos Makatos | 1 | -0/+6 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-16 | Merge pull request #88 from tmakatos/drop-dup-recv | Thanos | 2 | -300/+188 | |
eliminate duplicate recv(2) code | |||||
2020-11-16 | Merge pull request #85 from nutanix/swapnili/master | swapnili | 3 | -17/+1 | |
Makefile: Remove unused KDIR | |||||
2020-11-16 | Makefile: Remove unused KDIR | Swapnil Ingle | 3 | -17/+1 | |
Also remove kernel build from travis.yml Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com> | |||||
2020-11-16 | eliminate duplicate recv(2) code | Thanos Makatos | 2 | -300/+188 | |
Instead of having each command handler do its own recv(2) to receive the command, we do this once for all commands. This reduces the code a bit. Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-16 | use object libraries to build libmuser | John Levon | 1 | -2/+5 | |
Using target_link_libraries for libmuser meant that unused symbols - including all of the public API - were not brought into the target shared object. Use CMake's "object library" feature instead, which doesn't use intermediate archives and thus avoids this issue. | |||||
2020-11-13 | don't realloc when returng VFIO caps | Thanos Makatos | 1 | -56/+41 | |
This is a relic of talking to muser.ko. Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-13 | move determining size of VFIO capabilities into separate function | Thanos Makatos | 1 | -15/+21 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-13 | samples/server: don't complain for failure when device reaches stopped ↵ | Thanos Makatos | 1 | -1/+1 | |
migration state Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-13 | move receiving request into separate function | Thanos Makatos | 1 | -20/+41 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-13 | remove kmod related files | Thanos Makatos | 2 | -2020/+0 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-13 | move header validation into separate function | Thanos Makatos | 1 | -13/+29 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-13 | VFIO_USER_F_DMA_REGION_MAPPABLE should be non-zero | John Levon | 1 | -1/+1 | |
This is supposed to be a bitflag not a bit position. | |||||
2020-11-13 | drop VFIO directory structure | Thanos Makatos | 2 | -73/+12 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-13 | only allow accessing the migration region in stop-and-copy state | Thanos Makatos | 1 | -1/+34 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-13 | fixes in migration iteration code | Thanos Makatos | 1 | -25/+40 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-12 | Fix issues pointed by CFLAGS "-Wall -Werror -Wextra" | Swapnil Ingle | 7 | -49/+56 | |
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com> | |||||
2020-11-12 | set CFLAGS "-Wall -Werror -Wextra" at top level dir | Swapnil Ingle | 1 | -0/+3 | |
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com> | |||||
2020-11-12 | don't use CONCAT in cmake (#81) | John Levon | 1 | -1/+1 | |
CentOS 7's cmake 2.8.12.2 apparently doesn't support this. | |||||
2020-11-12 | Merge pull request #52 from tmakatos/master | Thanos | 28 | -955/+4579 | |
merge vfio-user into master | |||||
2020-11-11 | Merge branch 'vfio-user' | Thanos Makatos | 28 | -955/+4579 | |
2020-11-11 | Merge pull request #75 from tmakatos/vfio-user | Thanos | 12 | -2856/+173 | |
merge master into vfio-user and drop muser.ko | |||||
2020-11-11 | don't patch the kernel | Thanos Makatos | 1 | -1/+0 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-11 | drop the kernel module | Thanos Makatos | 10 | -2859/+163 | |
vfio-user is on track to be accepted upstream, so we shouldn't need muser.ko. This patch removes it since keeping it in the source is a maintanance burden. The last version is stashed in https://github.com/nutanix/muser/tree/kmod. If there is a valid use case we can reconsider reinstating it. fixes #67 Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-11 | Merge branch 'master' into vfio-user | Thanos Makatos | 3 | -7/+21 | |
Last merge before we drop muser.ko. Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-11 | don't check wrong region for honoring migration device state | Thanos Makatos | 1 | -1/+1 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-05 | experimental support for running the device state and copy iteration protocol | Thanos Makatos | 5 | -39/+629 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-05 | don't assert when accessing region fails | Thanos Makatos | 1 | -1/+7 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> |