aboutsummaryrefslogtreecommitdiff
path: root/lib/private.h
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-04-14 12:48:22 +0100
committerGitHub <noreply@github.com>2021-04-14 12:48:22 +0100
commit29dbda6cfcbd4093103f5c032b69ecf109b1eccb (patch)
treed1417af0382d18c4e6422424959c1f59c40fe9c5 /lib/private.h
parentb91f52e49039d41007c530a5ba7554c1603060c9 (diff)
downloadlibvfio-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 'lib/private.h')
-rw-r--r--lib/private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private.h b/lib/private.h
index fde5e3c..322a988 100644
--- a/lib/private.h
+++ b/lib/private.h
@@ -131,7 +131,6 @@ struct vfu_ctx {
int client_max_fds;
- vfu_reg_info_t *migr_reg;
struct migration *migration;
uint32_t irq_count[VFU_DEV_NUM_IRQS];