diff options
author | John Levon <john.levon@nutanix.com> | 2021-04-14 12:48:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 12:48:22 +0100 |
commit | 29dbda6cfcbd4093103f5c032b69ecf109b1eccb (patch) | |
tree | d1417af0382d18c4e6422424959c1f59c40fe9c5 /test | |
parent | b91f52e49039d41007c530a5ba7554c1603060c9 (diff) | |
download | libvfio-user-29dbda6cfcbd4093103f5c032b69ecf109b1eccb.zip libvfio-user-29dbda6cfcbd4093103f5c032b69ecf109b1eccb.tar.gz libvfio-user-29dbda6cfcbd4093103f5c032b69ecf109b1eccb.tar.bz2 |
hard-code migration region index (#441)
Now we are confident we are OK with a hard-coded VFU_PCI_DEV_MIGR_REGION_IDX
value, there's no need for us to track .migr_reg any more, either in the client
or internally.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/unit-tests.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/unit-tests.c b/test/unit-tests.c index ef93ccb..80d61c7 100644 --- a/test/unit-tests.c +++ b/test/unit-tests.c @@ -606,7 +606,6 @@ test_get_region_info(UNUSED void **state) .client_max_fds = 1, .nr_regions = ARRAY_SIZE(reg_info), .reg_info = reg_info, - .migr_reg = ®_info[VFU_PCI_DEV_MIGR_REGION_IDX] }; uint32_t index = 0; uint32_t argsz = 0; |