rust: pvattest-Rust

Add a CLI compatible Rust implementation of pvattest-C.
 - All (non-experimental) options are supported and work exactly as in
   the C implementation. For some options/parameters new variants are
   available.
 - `perform` now also accepts positional arguments, while keep accepting
   -i and -o  that was mandatory in the C implementation.
 - `version` may also be a command instead of an option now.
 - -V is deprecated
 - -v increases verbosity instead of showing the version
 - all experimental options are dropped

Acked-by: Qi Feng Huo <huoqif@cn.ibm.com>
Acked-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Steffen Eiden
2024-04-05 13:28:04 +02:00
parent 4d57ff046d
commit 16610a211f
24 changed files with 2208 additions and 0 deletions
+15
View File
@@ -413,6 +413,21 @@ dependencies = [
"utils",
]
[[package]]
name = "pvattest"
version = "0.10.0"
dependencies = [
"anyhow",
"byteorder",
"clap",
"log",
"s390_pv",
"serde",
"serde_yaml",
"utils",
"zerocopy",
]
[[package]]
name = "pvsecret"
version = "0.10.0"