Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions iommufd-ioctls/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@

## Fixed

# [v0.3.1]
Comment thread
sboeuf marked this conversation as resolved.

## Changed

- Extended `AttachHwpt` trait with method `detach_hwpt()` to allow the page table to be detached from the associated device.

## Added

## Fixed

# [v0.3.0]

## Changed
Expand Down
2 changes: 1 addition & 1 deletion iommufd-ioctls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iommufd-ioctls"
version = "0.3.0"
version = "0.3.1"
authors = ["The Cloud Hypervisor Authors"]
license = "Apache-2.0"
description = "Safe wrappers over IOMMUFD uAPIs"
Expand Down
2 changes: 2 additions & 0 deletions iommufd-ioctls/src/iommufd_ioctls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ pub enum IommufdHwptData {
pub trait AttachHwpt: Send + Sync {
/// Attach the device to the HW page table.
fn attach_hwpt(&self, pt_id: u32) -> std::io::Result<()>;
/// Detach the device from the HW page table.
fn detach_hwpt(&self) -> std::io::Result<()>;
}

pub struct IommufdVDevice {
Expand Down
Loading