Matt Bilker
3858f2cde3
cargo: version 2.1.0
v2.1.0
2022-05-08 17:21:00 +00:00
Matt Bilker
a1cc1fe0ce
cargo: update dependencies
2022-05-08 17:20:44 +00:00
Matt Bilker
4db1644c09
lib: fix profile override to not require the custom deserialization fields
2022-05-08 06:47:09 +00:00
Matt Bilker
cf56585fbb
lib: rename mig_enabled to migration_enabled to further reduce confusion
2022-05-08 06:41:37 +00:00
Matt Bilker
2628d4e160
lib: move test code to submodule
2022-05-08 04:48:23 +00:00
Matt Bilker
87339f96b5
rustfmt
2022-05-08 04:48:12 +00:00
Matt Bilker
375386e67c
human_number: add parser for human-readable sizes
2022-05-08 04:47:43 +00:00
Matt Bilker
7490f5bfbc
Merge pull request #9 from kharbranth/master
...
Update migration ioctl variable name
2022-05-05 21:26:12 -04:00
kharbranth
205abb1c6e
Update migration ioctl variable name
...
The name "MIG" creates confusion with NVIDIA's Multi-Instance GPU (MIG)
technology, thus a rename from "MIG" to "MIGRATION" is prudent.
Signed-off-by: kharbranth <cityofkharbranth@protonmail.com>
2022-05-05 21:22:26 -04:00
Matt Bilker
c6002f455e
Merge pull request #8 from kharbranth/master
...
Add support for unlocking migration support on vGPUs
2022-05-05 21:16:08 -04:00
kharbranth
a6d067f559
Add documentation for unlocking VM migration/snapshotting
...
Signed-off-by: kharbranth <cityofkharbranth@protonmail.com>
2022-05-05 21:07:19 -04:00
kharbranth
826e7b246e
Allow unlocking VM migration/snapshot support
...
This also requires NV_KVM_MIGRATION_UAPI to be set to 1 when building
the `nvidia-vgpu-vfio` kernel module, hence why unlocking this feature
is only conditionally enabled, since not everyone will want it.
Signed-off-by: kharbranth <cityofkharbranth@protonmail.com>
2022-05-05 20:57:48 -04:00
Matt Bilker
fa31a73ef5
lib: add basic Safety section
2022-04-12 07:41:03 +00:00
Matt Bilker
35d51635c8
cargo: version 2.0.2
v2.0.2
2022-03-10 23:22:59 +00:00
Matt Bilker
581e457289
lib: support Rust 1.41 as MSRV
2022-03-10 23:22:26 +00:00
Matt Bilker
388e7c29d7
fix clippy warnings
2022-01-09 13:32:35 +00:00
Matt Bilker
856a9a8cb6
Merge pull request #3 from erin-allison/master
...
Fix issue where missing override file is improperly handled
2021-12-30 11:25:15 -05:00
Erin Allison
449f86e5f6
Fix issue where missing override file is improperly handled
...
Signed-off-by: Erin Allison <erin@eallison.us>
2021-12-30 10:22:08 -06:00
Matt Bilker
c5a3c83854
cargo: version 2.0.1
v2.0.1
2021-12-28 08:14:41 +00:00
Matt Bilker
d89f4bcea9
lib: support Rust 1.48 as MSRV
2021-12-28 08:14:17 +00:00
Matt Bilker
6541af70bb
Merge pull request #2 from erin-allison/master
...
Allow VMs to be launched when no profile_override.toml is found.
2021-12-21 18:10:21 -05:00
Erin Allison
40abb4b7c9
Allow VMs to be launched when no profile_override.toml is found.
...
Fixes mbilker/vgpu_unlock-rs#1
Signed-off-by: Erin Allison <erin@eallison.us>
2021-12-17 10:53:13 -06:00
Matt Bilker
3ca0999210
lib: apply profile overrides only on successful status
2021-11-07 11:28:38 +00:00
Matt Bilker
8bb4f47c9b
lib: fix requirement to specify dummy mdev field or dummy profile field
2021-11-01 03:44:13 +00:00
Matt Bilker
9164fa73d9
config: add global config with toggle to disable unlock for official vgpu cards
2021-10-17 23:46:05 +00:00
Matt Bilker
b969aed98a
dump: export dump function
2021-10-17 21:40:30 +00:00
Matt Bilker
dd5c379c78
cargo: version 2.0.0
v2.0.0
2021-10-09 12:42:22 +00:00
Matt Bilker
4404cf2ada
Updated README for profile override changes
2021-10-09 12:42:21 +00:00
Matt Bilker
8921beccfd
Add per-mdev override support
2021-10-09 12:13:05 +00:00
Matt Bilker
b9a16c426e
Add individual profile override support
2021-10-09 12:13:04 +00:00
Matt Bilker
80e3397a44
Add test to ensure struct sizes are correct
2021-10-09 12:13:04 +00:00
Matt Bilker
2a9a81290b
Add UUID and start call decoding
2021-10-09 12:13:04 +00:00
Matt Bilker
28a699a184
Add helper for pretty printing data
2021-10-09 10:35:07 +00:00
Matt Bilker
2f21bb8d9d
OP_READ_DEV_TYPE
value is 32-bit, not 64-bit
...
- `unknown_4` in the request structure seems to be the size of the pointee.
2021-10-09 10:29:17 +00:00
Matt Bilker
f214277a42
cargo: version 1.0.0
v1.0.0
2021-10-09 10:24:50 +00:00
Matt Bilker
87df1c35e5
Add README.md
2021-09-17 09:31:08 +00:00
Matt Bilker
e121e65859
Move main macro body one indentation level out
2021-09-17 09:14:54 +00:00
Matt Bilker
4a73f9376d
Initial commit
2021-09-17 08:33:12 +00:00