diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2021-02-15 10:22:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 10:22:54 +0000 |
commit | 59029a593c5ed606ee7fd674d5c7d7d265dc5970 (patch) | |
tree | d2a53253209e8da2c6ac80dd0533e9d2895bdf45 /test/unit-tests.c | |
parent | c08ce6363b1d3487f330a542ed5273f5d055d3bc (diff) | |
download | libvfio-user-59029a593c5ed606ee7fd674d5c7d7d265dc5970.zip libvfio-user-59029a593c5ed606ee7fd674d5c7d7d265dc5970.tar.gz libvfio-user-59029a593c5ed606ee7fd674d5c7d7d265dc5970.tar.bz2 |
handle VFIO_USER_DIRTY_PAGES in stopped and stop-and-copy states (#335)
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'test/unit-tests.c')
-rw-r--r-- | test/unit-tests.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/unit-tests.c b/test/unit-tests.c index dde4315..738bae5 100644 --- a/test/unit-tests.c +++ b/test/unit-tests.c @@ -351,10 +351,6 @@ test_process_command_free_passed_fds(void **state __attribute__((unused))) .tran = &tran_sock_ops, }; - patch(device_is_stopped); - expect_value(__wrap_device_is_stopped, migr, vfu_ctx.migration); - will_return(__wrap_device_is_stopped, false); - patch(get_next_command); expect_value(__wrap_get_next_command, vfu_ctx, &vfu_ctx); expect_any(__wrap_get_next_command, hdr); |