We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec0da8b commit e533567Copy full SHA for e533567
kvm-ioctls/CHANGELOG.md
@@ -2,6 +2,10 @@
2
3
## Upcoming Release
4
5
+### Fixed
6
+
7
+- Fixed `VmFd::enable_cap` available for all architectures
8
9
### Added
10
11
- Added `KvmDirtyLogRing` structure to mmap the dirty log ring.
kvm-ioctls/src/ioctls/vm.rs
@@ -1404,7 +1404,6 @@ impl VmFd {
1404
/// cap.args[0] = 24;
1405
/// vm.enable_cap(&cap).unwrap();
1406
/// ```
1407
- #[cfg(any(target_arch = "x86_64", target_arch = "s390x", target_arch = "powerpc"))]
1408
pub fn enable_cap(&self, cap: &kvm_enable_cap) -> Result<()> {
1409
// SAFETY: The ioctl is safe because we allocated the struct and we know the
1410
// kernel will write exactly the size of the struct.
0 commit comments