mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust/pv: Use a SecretId struct instead of an array
This streamlines and unifies the use and (de)serialization of structs using a secret id. As a bonus, the hidden `for_pv` module is not longer needed. Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Julian Ruess <julianr@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
81a1e13f3b
commit
c53dfa9754
+1
-5
@@ -35,11 +35,7 @@ const PAGESIZE: usize = 0x1000;
|
||||
|
||||
/// Definitions and functions for interacting with the Ultravisor
|
||||
pub mod uv {
|
||||
pub use pv_core::uv::{
|
||||
uv_ioctl, ConfigUid, UvCmd, UvDevice, UvDeviceInfo, UvFlags, UvcSuccess,
|
||||
};
|
||||
pub use pv_core::uv::{AddCmd, ListCmd, LockCmd};
|
||||
pub use pv_core::uv::{ListableSecretType, SecretEntry, SecretList};
|
||||
pub use pv_core::uv::*;
|
||||
}
|
||||
|
||||
/// Miscellaneous functions and definitions
|
||||
|
||||
Reference in New Issue
Block a user