lib: rename mig_enabled to migration_enabled to further reduce confusion

This commit is contained in:
Matt Bilker 2022-05-08 06:41:37 +00:00
parent 2628d4e160
commit cf56585fbb
No known key found for this signature in database
GPG Key ID: 69ADF8AEB6C8B5D1

View File

@ -349,9 +349,9 @@ pub unsafe extern "C" fn ioctl(fd: RawFd, request: c_ulong, argp: *mut c_void) -
*dev_type_ptr = DEV_TYPE_VGPU_CAPABLE;
}
OP_READ_VGPU_MIGRATION_CAP if CONFIG.unlock_migration => {
let mig_enabled: *mut bool = io_data.result.cast();
let migration_enabled: *mut bool = io_data.result.cast();
*mig_enabled = true;
*migration_enabled = true;
}
_ => {}
}