diff options
author | William Henderson <william.henderson@nutanix.com> | 2023-08-01 09:27:31 +0000 |
---|---|---|
committer | John Levon <john.levon@nutanix.com> | 2023-09-15 13:06:15 +0100 |
commit | 178c2907734918a5dbed17e7554283527bcaf186 (patch) | |
tree | 10c8a3880a65b1a8202785a2478d3acc4109a2c6 /test/mocks.c | |
parent | 9fe5da83438a3eae74b7d6b3e9930ec5d2e2eb84 (diff) | |
download | libvfio-user-178c2907734918a5dbed17e7554283527bcaf186.zip libvfio-user-178c2907734918a5dbed17e7554283527bcaf186.tar.gz libvfio-user-178c2907734918a5dbed17e7554283527bcaf186.tar.bz2 |
fix: conflict with kernel definitions in tests
Signed-off-by: William Henderson <william.henderson@nutanix.com>
Diffstat (limited to 'test/mocks.c')
-rw-r--r-- | test/mocks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mocks.c b/test/mocks.c index ce9e5ca..ce3060f 100644 --- a/test/mocks.c +++ b/test/mocks.c @@ -215,7 +215,8 @@ handle_device_state(vfu_ctx_t *vfu_ctx, struct migration *migr, } void -migr_state_transition(struct migration *migr, enum vfio_device_mig_state state) +migr_state_transition(struct migration *migr, + enum vfio_user_device_mig_state state) { if (!is_patched("migr_state_transition")) { __real_migr_state_transition(migr, state); |