aboutsummaryrefslogtreecommitdiff
path: root/samples/client.c
AgeCommit message (Collapse)AuthorFilesLines
2020-09-29remove unnecessary pause from sample clientThanos Makatos1-2/+0
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-29remove unused function map_dma from sample clientThanos Makatos1-6/+0
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-29introduce convinience function send_recv_vfio_user_msgThanos Makatos1-53/+19
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-28implement VFIO_USER_DEVICE_SET_IRQSThanos Makatos1-25/+87
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-28Fix handling of VFIO_USER_DEVICE_GET_INFOSwapnil Ingle1-3/+5
vfio_device_info.argsz is set by the client and server is expected to use/validate it. Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
2020-09-25implement VFIO_USER_DEVICE_GET_IRQ_INFOThanos Makatos1-17/+41
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-25implement VFIO_USER_DMA_UNMAPThanos Makatos1-7/+26
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-24implement VFIO_USER_DMA_MAPThanos Makatos1-41/+64
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-23Initial implementation of VFIO_USER_DEVICE_GET_INFOSwapnil Ingle1-0/+47
Initial client and server implementation of VFIO_USER_DEVICE_GET_INFO. Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
2020-09-23start handling MAP_DMA, FDs not yet receivedThanos Makatos1-33/+34
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-23refactor send/recv of message plus fixesThanos Makatos1-43/+75
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-23refactor initializing socket and setting version into separate functionsThanos Makatos1-15/+37
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
2020-09-23add simple client application for testing vfio-userThanos Makatos1-0/+112
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>