mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2025-06-08 13:28:23 +02:00
lib: rename mig_enabled to migration_enabled to further reduce confusion
This commit is contained in:
parent
2628d4e160
commit
cf56585fbb
@ -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;
|
*dev_type_ptr = DEV_TYPE_VGPU_CAPABLE;
|
||||||
}
|
}
|
||||||
OP_READ_VGPU_MIGRATION_CAP if CONFIG.unlock_migration => {
|
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;
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user