2100d8c3 | 23-May-2025 |
Philipp Schuster <philipp.schuster@cyberus-technology.de> |
misc: performance-metrics: streamline error Display::fmt()
The changes were mostly automatically applied using the Python script mentioned in the first commit of this series.
Signed-off-by: Philipp
misc: performance-metrics: streamline error Display::fmt()
The changes were mostly automatically applied using the Python script mentioned in the first commit of this series.
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
show more ...
|
9bd9c0cb | 12-Jun-2025 |
Philipp Schuster <philipp.schuster@cyberus-technology.de> |
misc: replace manual `From<T>` for `*Error` with `#[from]`
This is a small simplification we can use since we use `thiserror` anyway. Note that `#[from]` implies `#[source]` [0].
[0]: https://docs.
misc: replace manual `From<T>` for `*Error` with `#[from]`
This is a small simplification we can use since we use `thiserror` anyway. Note that `#[from]` implies `#[source]` [0].
[0]: https://docs.rs/thiserror/2.0.12/thiserror/index.html
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
show more ...
|
20296e90 | 26-May-2025 |
Philipp Schuster <philipp.schuster@cyberus-technology.de> |
misc: streamline thiserror cargo dep
As almost every sub crate depends on thiserror, lets upgrade it to a workspace dependency.
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.
misc: streamline thiserror cargo dep
As almost every sub crate depends on thiserror, lets upgrade it to a workspace dependency.
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
show more ...
|
79933645 | 21-May-2025 |
Philipp Schuster <philipp.schuster@cyberus-technology.de> |
misc: performance-metrics: streamline #[source] and Error impl
This streamlines the Error implementation in the Cloud Hypervisor code base to match the remaining parts so that everything follows the
misc: performance-metrics: streamline #[source] and Error impl
This streamlines the Error implementation in the Cloud Hypervisor code base to match the remaining parts so that everything follows the agreed conventions. These are leftovers missed in the previous commits.
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
show more ...
|
10ee003d | 12-May-2025 |
Bo Chen <bchen@crusoe.ai> |
misc: Fix beta clippy issues
Fixing the following clippy issue using `cargo clippy --fix`:
error: variables can be used directly in the `format!` string --> build.rs:25:27 | 25 | versi
misc: Fix beta clippy issues
Fixing the following clippy issue using `cargo clippy --fix`:
error: variables can be used directly in the `format!` string --> build.rs:25:27 | 25 | version.push_str(&format!("-{}", extra_version)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
Signed-off-by: Bo Chen <bchen@crusoe.ai>
show more ...
|
3698b8e7 | 01-Apr-2025 |
Jinank Jain <jinankjain@microsoft.com> |
build: Centralize serde_json crate to workspace
`serde_json` crate is referenced by multiple components, centralize it to workspace to better manage this crate.
Signed-off-by: Jinank Jain <jinankja
build: Centralize serde_json crate to workspace
`serde_json` crate is referenced by multiple components, centralize it to workspace to better manage this crate.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
show more ...
|
c43ae1dc | 11-Feb-2025 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
build: Bump dirs from 5.0.1 to 6.0.0
Bumps [dirs](https://github.com/soc/dirs-rs) from 5.0.1 to 6.0.0. - [Commits](https://github.com/soc/dirs-rs/commits)
--- updated-dependencies: - dependency-nam
build: Bump dirs from 5.0.1 to 6.0.0
Bumps [dirs](https://github.com/soc/dirs-rs) from 5.0.1 to 6.0.0. - [Commits](https://github.com/soc/dirs-rs/commits)
--- updated-dependencies: - dependency-name: dirs dependency-type: direct:production update-type: version-update:semver-major ...
Signed-off-by: dependabot[bot] <support@github.com>
show more ...
|
eeae63b4 | 02-Jan-2025 |
Rob Bradford <rbradford@rivosinc.com> |
build: Bump thiserror version
Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
bac762e4 | 21-Oct-2024 |
Rob Bradford <rbradford@rivosinc.com> |
performance-metrics: Reap child process
The snapshot/restore test didn't wait on the child being spawned:
warning: spawned process is never `wait()`ed on --> performance-metrics/src/performance_
performance-metrics: Reap child process
The snapshot/restore test didn't wait on the child being spawned:
warning: spawned process is never `wait()`ed on --> performance-metrics/src/performance_tests.rs:495:25 | 495 | let mut child = GuestCommand::new(&guest) | _________________________^ 496 | | .args(["--api-socket", &api_socket_source]) 497 | | .args([ 498 | | "--cpus", ... | 507 | | .spawn() 508 | | .unwrap(); | |_____________________^ | = note: consider calling `.wait()` = note: not doing so might leave behind zombie processes = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes = note: `#[warn(clippy::zombie_processes)]` on by default
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
show more ...
|
61e57e1c | 29-Sep-2024 |
Ruoqing He <heruoqing@iscas.ac.cn> |
misc: Further improve imports styling
By introducing `imports_granularity="Module"` format strategy, effectively groups imports from the same module into one line or block, improving maintainability
misc: Further improve imports styling
By introducing `imports_granularity="Module"` format strategy, effectively groups imports from the same module into one line or block, improving maintainability and readability.
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
show more ...
|
88a9f799 | 29-Sep-2024 |
Rob Bradford <rbradford@rivosinc.com> |
misc: Adapt consistent import style formatting
Historically the Cloud Hypervisor coding style has been to ensure that all imports are ordered and placed in a single group. Unfortunately cargo fmt ha
misc: Adapt consistent import style formatting
Historically the Cloud Hypervisor coding style has been to ensure that all imports are ordered and placed in a single group. Unfortunately cargo fmt has no support for ensuring that all imports are in a single group so if whitespace lines were added as part of the import statements then they would only be odered correctly in the group.
By adopting "group_imports="StdExternalCrate" we can enforce a style where imports are placed in at most three groups for std, external crates and the crate itself. Choosing a style enforceable by the tooling reduces the reviewer burden.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
show more ...
|
5f814308 | 19-Aug-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
build: Bump clap from 4.5.4 to 4.5.13
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.4 to 4.5.13. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com
build: Bump clap from 4.5.4 to 4.5.13
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.4 to 4.5.13. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.4...clap_complete-v4.5.13)
--- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ...
Signed-off-by: dependabot[bot] <support@github.com>
show more ...
|
a229afbc | 16-Aug-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
build: Bump serde from 1.0.203 to 1.0.208
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.203 to 1.0.208. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://
build: Bump serde from 1.0.203 to 1.0.208
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.203 to 1.0.208. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.208)
--- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ...
Signed-off-by: dependabot[bot] <support@github.com>
show more ...
|
e18d32ba | 19-Jul-2024 |
Songqian Li <sionli@tencent.com> |
performance-metrics: add restore latency performance metric
This patch calculates the recovery latency from the start of recovery program to the end of restore.
Signed-off-by: Songqian Li <sionli@t
performance-metrics: add restore latency performance metric
This patch calculates the recovery latency from the start of recovery program to the end of restore.
Signed-off-by: Songqian Li <sionli@tencent.com>
show more ...
|
0fbb3e2c | 24-Jul-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
build: Bump serde_json from 1.0.115 to 1.0.120
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.115 to 1.0.120. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](
build: Bump serde_json from 1.0.115 to 1.0.120
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.115 to 1.0.120. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.115...v1.0.120)
--- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ...
Signed-off-by: dependabot[bot] <support@github.com>
show more ...
|
422906a0 | 23-Jul-2024 |
Wei Liu <liuwe@microsoft.com> |
performance-metrics: use inspect_err instead of map_err
Signed-off-by: Wei Liu <liuwe@microsoft.com> |
8803e4a2 | 16-Jul-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
build: Bump thiserror from 1.0.61 to 1.0.62
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.61 to 1.0.62. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits
build: Bump thiserror from 1.0.61 to 1.0.62
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.61 to 1.0.62. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62)
--- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ...
Signed-off-by: dependabot[bot] <support@github.com>
show more ...
|
08cf983d | 18-Jun-2024 |
Rob Bradford <rbradford@rivosinc.com> |
build: Fix Cargo.toml formatting
In 42e9632c53d14cd0040db4952d40ba806c4b6ee9 a fix was made to address a typo in the taplo configuration file. Fixing this typo indicated that many Cargo.toml files w
build: Fix Cargo.toml formatting
In 42e9632c53d14cd0040db4952d40ba806c4b6ee9 a fix was made to address a typo in the taplo configuration file. Fixing this typo indicated that many Cargo.toml files were no longer adhering to the formatting rules. Fix the formatting by running `taplo fmt`.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
show more ...
|
42e9632c | 07-Jun-2024 |
Josh Soref <2119212+jsoref@users.noreply.github.com> |
misc: Fix spelling issues
Misspellings were identified by: https://github.com/marketplace/actions/check-spelling
* Initial corrections based on forbidden patterns from the action * Additional cor
misc: Fix spelling issues
Misspellings were identified by: https://github.com/marketplace/actions/check-spelling
* Initial corrections based on forbidden patterns from the action * Additional corrections by Google Chrome auto-suggest * Some manual corrections * Adding markdown bullets to readme credits section
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
show more ...
|
3f8cd52f | 08-May-2024 |
Rob Bradford <rbradford@rivosinc.com> |
build: Format Cargo.toml files using taplo
Run the taplo formatter with the newly added configuration file
Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
a70808ba | 07-May-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
build: Bump thiserror from 1.0.58 to 1.0.60
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.58 to 1.0.60. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits
build: Bump thiserror from 1.0.58 to 1.0.60
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.58 to 1.0.60. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.60)
--- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ...
Signed-off-by: dependabot[bot] <support@github.com>
show more ...
|
7966925c | 06-Apr-2024 |
Rob Bradford <rbradford@rivosinc.com> |
build: Bulk update dependencies
Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
b072671e | 01-Mar-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
build: Bump serde_json from 1.0.109 to 1.0.114
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.109 to 1.0.114. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](
build: Bump serde_json from 1.0.109 to 1.0.114
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.109 to 1.0.114. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.109...v1.0.114)
--- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ...
Signed-off-by: dependabot[bot] <support@github.com>
show more ...
|
d3fade85 | 29-Feb-2024 |
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
build: Bump clap from 4.4.7 to 4.5.1
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.7 to 4.5.1. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/c
build: Bump clap from 4.4.7 to 4.5.1
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.7 to 4.5.1. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.4.7...clap_complete-v4.5.1)
--- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-minor ...
Signed-off-by: dependabot[bot] <support@github.com>
show more ...
|
adb318f4 | 19-Feb-2024 |
Rob Bradford <rbradford@rivosinc.com> |
misc: Remove redundant "use" imports
With the nightly toolchain (2024-02-18) cargo check will flag up redundant imports either because they are pulled in by the prelude on earlier match.
Remove tho
misc: Remove redundant "use" imports
With the nightly toolchain (2024-02-18) cargo check will flag up redundant imports either because they are pulled in by the prelude on earlier match.
Remove those redundant imports.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
show more ...
|