Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-11-25 | Split log setup from lm_create_ctx() to lm_setup_log() (#126) | swapnili | 5 | -12/+42 | |
* Split log setup from lm_create_ctx() to lm_setup_log() Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com> | |||||
2020-11-25 | introduce cmocka unit test framework and first unit test | Thanos Makatos | 6 | -2/+100 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-25 | ignore DMA map/unmap if device isn't using DMA controller | Thanos Makatos | 1 | -4/+4 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-24 | fix compile with gcc 4.8.5 | John Levon | 1 | -4/+4 | |
2020-11-24 | fix a comment referencing the kernel module | John Levon | 1 | -1/+1 | |
2020-11-24 | Api refactoring (#115) | swapnili | 14 | -530/+662 | |
API refactoring | |||||
2020-11-24 | clean up headers | John Levon | 22 | -118/+237 | |
Introduce include/ dir for public headers, and clean up include guards etc. | |||||
2020-11-24 | get_request_sock: set nr_fds always (#116) | John Levon | 1 | -0/+2 | |
2020-11-24 | refactor sock send/recv functions (#114) | John Levon | 6 | -141/+217 | |
Use shorter, more readable, function names, add re-jig the wrappers such that the most common operations are shortest. | |||||
2020-11-24 | parse VFIO_USER_VERSION JSON stanza | John Levon | 11 | -86/+239 | |
2020-11-23 | move IRQ into separate file | Thanos Makatos | 4 | -390/+476 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-23 | silence false positive Coverity warning | Thanos Makatos | 1 | -0/+1 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-23 | don't ignore return value from function | Thanos Makatos | 1 | -2/+6 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-23 | don't attempt to close invalid file desriptor | Thanos Makatos | 1 | -1/+3 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-23 | don't dereference NULL pointer | Thanos Makatos | 1 | -1/+5 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-23 | fix printf args | Thanos Makatos | 5 | -29/+31 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-23 | don't pass -1 to fstat | Thanos Makatos | 1 | -0/+10 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-23 | don't omit argument from printf | Thanos Makatos | 1 | -1/+1 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-23 | silence false positive coverity about out-of-bounds write | Thanos Makatos | 1 | -2/+2 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-23 | don't leak fd on failure | Thanos Makatos | 1 | -0/+1 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-20 | Merge pull request #109 from tmakatos/live-migration | swapnili | 7 | -123/+157 | |
don't expose live migration as device region | |||||
2020-11-20 | don't expose migration as region | Thanos Makatos | 7 | -111/+145 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-20 | don't attach before initializing the DMA controller | Thanos Makatos | 1 | -12/+12 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-20 | drop pci_info from lm_ctx | Thanos Makatos | 4 | -34/+44 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-20 | document how to create release build | Thanos Makatos | 1 | -0/+4 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-20 | don't assume debug build for running server sample | Thanos Makatos | 1 | -5/+12 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-20 | silence false-positive -Wmaybe-uninitialized warning in GCC 7 | Thanos Makatos | 1 | -1/+1 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-20 | move migration into separate file | Thanos Makatos | 7 | -420/+550 | |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> | |||||
2020-11-19 | enable assert() in release builds (#98) | John Levon | 9 | -18/+35 | |
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> |