aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2020-11-30Update API's to accept sparse mmap areas as array and its count (#134)swapnili2-12/+20
2020-11-27refactor process_requestThanos Makatos1-61/+83
2020-11-27rename to libvfio-user (#128)John Levon18-1088/+1041
2020-11-27add unit tests for DMA regions without file descriptorThanos Makatos4-17/+29
2020-11-27allow DMA regions without file descriptorThanos Makatos2-52/+58
2020-11-27add assertThanos Makatos1-0/+2
2020-11-25handle_dma_map_or_unmap(): correct fd handling (#118)John Levon1-14/+24
2020-11-25PCI regions idx enum renamed to start with LM_PCI (#125)swapnili3-14/+14
2020-11-25Split log setup from lm_create_ctx() to lm_setup_log() (#126)swapnili1-3/+15
2020-11-25introduce cmocka unit test framework and first unit testThanos Makatos2-1/+6
2020-11-25ignore DMA map/unmap if device isn't using DMA controllerThanos Makatos1-4/+4
2020-11-24Api refactoring (#115)swapnili9-285/+415
2020-11-24clean up headersJohn Levon16-1468/+94
2020-11-24get_request_sock: set nr_fds always (#116)John Levon1-0/+2
2020-11-24refactor sock send/recv functions (#114)John Levon5-72/+132
2020-11-24parse VFIO_USER_VERSION JSON stanzaJohn Levon7-66/+205
2020-11-23move IRQ into separate fileThanos Makatos4-390/+476
2020-11-23don't attempt to close invalid file desriptorThanos Makatos1-1/+3
2020-11-23don't dereference NULL pointerThanos Makatos1-1/+5
2020-11-23fix printf argsThanos Makatos4-27/+29
2020-11-23don't pass -1 to fstatThanos Makatos1-0/+10
2020-11-23don't omit argument from printfThanos Makatos1-1/+1
2020-11-23silence false positive coverity about out-of-bounds writeThanos Makatos1-2/+2
2020-11-23don't leak fd on failureThanos Makatos1-0/+1
2020-11-20don't expose migration as regionThanos Makatos5-64/+94
2020-11-20don't attach before initializing the DMA controllerThanos Makatos1-12/+12
2020-11-20drop pci_info from lm_ctxThanos Makatos2-34/+29
2020-11-20silence false-positive -Wmaybe-uninitialized warning in GCC 7Thanos Makatos1-1/+1
2020-11-20move migration into separate fileThanos Makatos6-419/+549
2020-11-19enable assert() in release builds (#98)John Levon4-8/+9
2020-11-19refactor socket code into lib/tran_sock.[ch] (#97)John Levon7-743/+757
2020-11-18implement new negotiation implementationJohn Levon3-84/+160
2020-11-18implement migration resuming on destination serverThanos Makatos2-51/+148
2020-11-18assorted fixesThanos Makatos1-14/+26
2020-11-18don't swallow original reason why bind(2) failsThanos Makatos1-1/+2
2020-11-18don't assert on error, instead respond with the relevant bit setThanos Makatos2-6/+11
2020-11-18small cleanups post-muser.ko removalJohn Levon2-2/+1
2020-11-17Fix compiler errors for non-dbg buildSwapnil Ingle3-10/+22
2020-11-16log message for bad bitmaps flagThanos Makatos1-0/+1
2020-11-16validate argszThanos Makatos1-12/+19
2020-11-16remove obsolete commentThanos Makatos1-6/+0
2020-11-16check for short readsThanos Makatos1-0/+6
2020-11-16Merge pull request #88 from tmakatos/drop-dup-recvThanos1-300/+182
2020-11-16eliminate duplicate recv(2) codeThanos Makatos1-300/+182
2020-11-16use object libraries to build libmuserJohn Levon1-2/+5
2020-11-13don't realloc when returng VFIO capsThanos Makatos1-56/+41
2020-11-13move determining size of VFIO capabilities into separate functionThanos Makatos1-15/+21
2020-11-13move receiving request into separate functionThanos Makatos1-20/+41
2020-11-13move header validation into separate functionThanos Makatos1-13/+29
2020-11-13VFIO_USER_F_DMA_REGION_MAPPABLE should be non-zeroJohn Levon1-1/+1