aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-09-15clarify bitmap formatmaster-migv2William Henderson1-1/+2
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: bitmap format clarificationWilliam Henderson1-0/+3
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: argsz semantics in the specWilliam Henderson1-4/+4
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15refactor migration transition testWilliam Henderson1-2/+8
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15refactor bad pythonWilliam Henderson1-2/+2
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15refactor migration tests and small test fixesWilliam Henderson4-114/+111
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15respond to more of Thanos's commentsWilliam Henderson6-207/+310
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: authors of test_migration.pyWilliam Henderson1-1/+2
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add more tests for bad argszWilliam Henderson1-1/+51
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: argsz semantics in testsWilliam Henderson2-16/+20
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: improve test coverageWilliam Henderson3-5/+176
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add missing tests for different dirty page sizesWilliam Henderson2-6/+33
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15refactor: move a number of tests from C to PythonWilliam Henderson4-386/+195
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: fixes for changes from John's core reviewWilliam Henderson4-55/+5
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add test for nonexistent stateWilliam Henderson1-0/+15
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add tests for migration FSM pathsWilliam Henderson4-18/+275
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: memory leak in dirty page tracking testsWilliam Henderson1-5/+9
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add tests for logging specific pagesWilliam Henderson1-14/+84
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: conflict with kernel definitions in testsWilliam Henderson3-58/+53
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: fix memory leak in unit testsWilliam Henderson1-0/+6
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add tests for dirty page loggingWilliam Henderson3-3/+367
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add test for starting in RESUMING stateWilliam Henderson1-0/+15
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add tests for `handle_mig_data_write`William Henderson1-2/+80
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add tests for `handle_mig_data_read`William Henderson1-3/+107
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: add migration state sequence testWilliam Henderson3-35/+37
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: reintroduce migration unit tests for v2William Henderson1-3/+200
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15test: update existing testsWilliam Henderson12-1202/+41
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15rename some variablesWilliam Henderson1-7/+7
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15rename get_bitmap_sizeWilliam Henderson1-2/+2
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15respond to Thanos's reviewWilliam Henderson2-64/+51
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15respond to Swapnil's reviewWilliam Henderson2-30/+24
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: argsz semantics in samplesWilliam Henderson1-2/+2
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: minor changes to samples according to John's reviewWilliam Henderson2-44/+38
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: fixes for changes from John's core reviewWilliam Henderson2-2/+2
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15reintroduce mmap_sparse_areas in client.cWilliam Henderson1-6/+40
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: minor fixes from Swapnil's reviewWilliam Henderson1-1/+5
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: update sample to correctly start destination serverWilliam Henderson2-15/+9
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: obvious use-after-freeWilliam Henderson1-1/+3
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: conflict with kernel definitions in samplesWilliam Henderson1-7/+7
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15feat: implement DMA logging in client/server sampleWilliam Henderson1-30/+45
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: changes to samples according to commentsWilliam Henderson3-86/+71
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: work with changes to implementationWilliam Henderson1-8/+9
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15update samples to use migration v2William Henderson3-323/+280
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15fix: migration quiesce and short writeWilliam Henderson3-3/+31
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15introduce iov_freeWilliam Henderson3-6/+17
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15minor changes from John's reviewWilliam Henderson2-24/+18
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15respond to more of Thanos's reviewWilliam Henderson3-22/+32
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15refactor dirty page getWilliam Henderson2-137/+156
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15more fixes from Thanos's reviewWilliam Henderson4-82/+166
Signed-off-by: William Henderson <william.henderson@nutanix.com>
2023-09-15improve variable naming and documentationWilliam Henderson3-23/+33
Signed-off-by: William Henderson <william.henderson@nutanix.com>