mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
4e93f85ab19c43c5e1cb19593646dfa5a75f27d4
387 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
4e93f85ab1 |
build: Bump the non-rust-vmm group across 2 directories with 38 updates
Bumps the non-rust-vmm group with 28 updates in the / directory: | Package | From | To | | --- | --- | --- | | [zbus](https://github.com/z-galaxy/zbus) | `5.11.0` | `5.12.0` | | [serde_with](https://github.com/jonasbb/serde_with) | `3.15.0` | `3.16.0` | | [bitflags](https://github.com/bitflags/bitflags) | `2.9.4` | `2.10.0` | | [cfg-if](https://github.com/rust-lang/cfg-if) | `1.0.3` | `1.0.4` | | [clap](https://github.com/clap-rs/clap) | `4.5.49` | `4.5.53` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.27` | `0.8.30` | | [io-uring](https://github.com/tokio-rs/io-uring) | `0.7.10` | `0.7.11` | | [num_enum](https://github.com/illicitonion/num_enum) | `0.7.4` | `0.7.5` | | [getrandom](https://github.com/rust-random/getrandom) | `0.3.3` | `0.3.4` | | [landlock](https://github.com/landlock-lsm/rust-landlock) | `0.4.3` | `0.4.4` | | [aho-corasick](https://github.com/BurntSushi/aho-corasick) | `1.1.3` | `1.1.4` | | [anstyle-query](https://github.com/rust-cli/anstyle) | `1.1.4` | `1.1.5` | | [anstyle-wincon](https://github.com/rust-cli/anstyle) | `3.0.10` | `3.0.11` | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.41` | `1.2.47` | | [hashbrown](https://github.com/rust-lang/hashbrown) | `0.16.0` | `0.16.1` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.11.4` | `2.12.1` | | [is_terminal_polyfill](https://github.com/polyfill-rs/is_terminal_polyfill) | `1.70.1` | `1.70.2` | | [jiff](https://github.com/BurntSushi/jiff) | `0.2.15` | `0.2.16` | | [libz-sys](https://github.com/rust-lang/libz-sys) | `1.1.22` | `1.1.23` | | [once_cell_polyfill](https://github.com/polyfill-rs/once_cell_polyfill) | `1.70.1` | `1.70.2` | | [openssl-src](https://github.com/alexcrichton/openssl-src-rs) | `300.5.3+3.5.4` | `300.5.4+3.5.4` | | [openssl-sys](https://github.com/rust-openssl/rust-openssl) | `0.9.109` | `0.9.111` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.101` | `1.0.103` | | [quote](https://github.com/dtolnay/quote) | `1.0.41` | `1.0.42` | | [signal-hook-registry](https://github.com/vorner/signal-hook) | `1.4.6` | `1.4.7` | | [syn](https://github.com/dtolnay/syn) | `2.0.106` | `2.0.111` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.19` | `1.0.22` | | [zvariant](https://github.com/dbus2/zbus) | `5.7.0` | `5.8.0` | Bumps the non-rust-vmm group with 20 updates in the /fuzz directory: | Package | From | To | | --- | --- | --- | | [serde_with](https://github.com/jonasbb/serde_with) | `3.15.0` | `3.16.0` | | [bitflags](https://github.com/bitflags/bitflags) | `2.9.4` | `2.10.0` | | [cfg-if](https://github.com/rust-lang/cfg-if) | `1.0.3` | `1.0.4` | | [clap](https://github.com/clap-rs/clap) | `4.5.49` | `4.5.53` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.27` | `0.8.30` | | [num_enum](https://github.com/illicitonion/num_enum) | `0.7.4` | `0.7.5` | | [landlock](https://github.com/landlock-lsm/rust-landlock) | `0.4.3` | `0.4.4` | | [anstyle-query](https://github.com/rust-cli/anstyle) | `1.1.4` | `1.1.5` | | [anstyle-wincon](https://github.com/rust-cli/anstyle) | `3.0.10` | `3.0.11` | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.41` | `1.2.47` | | [hashbrown](https://github.com/rust-lang/hashbrown) | `0.16.0` | `0.16.1` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.11.4` | `2.12.1` | | [is_terminal_polyfill](https://github.com/polyfill-rs/is_terminal_polyfill) | `1.70.1` | `1.70.2` | | [once_cell_polyfill](https://github.com/polyfill-rs/once_cell_polyfill) | `1.70.1` | `1.70.2` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.101` | `1.0.103` | | [quote](https://github.com/dtolnay/quote) | `1.0.41` | `1.0.42` | | [signal-hook-registry](https://github.com/vorner/signal-hook) | `1.4.6` | `1.4.7` | | [syn](https://github.com/dtolnay/syn) | `2.0.106` | `2.0.111` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.19` | `1.0.22` | | [windows-sys](https://github.com/microsoft/windows-rs) | `0.60.2` | `0.61.2` | Updates `zbus` from 5.11.0 to 5.12.0 - [Release notes](https://github.com/z-galaxy/zbus/releases) - [Commits](https://github.com/z-galaxy/zbus/compare/zbus-5.11.0...zbus-5.12.0) Updates `serde_with` from 3.15.0 to 3.16.0 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.15.0...v3.16.0) Updates `bitflags` from 2.9.4 to 2.10.0 - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/2.9.4...2.10.0) Updates `cfg-if` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/rust-lang/cfg-if/releases) - [Changelog](https://github.com/rust-lang/cfg-if/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cfg-if/compare/v1.0.3...v1.0.4) Updates `clap` from 4.5.49 to 4.5.53 - [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.49...clap_complete-v4.5.53) Updates `zerocopy` from 0.8.27 to 0.8.30 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.27...v0.8.30) Updates `io-uring` from 0.7.10 to 0.7.11 - [Commits](https://github.com/tokio-rs/io-uring/commits/v0.7.11) Updates `num_enum` from 0.7.4 to 0.7.5 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.4...0.7.5) Updates `getrandom` from 0.3.3 to 0.3.4 - [Release notes](https://github.com/rust-random/getrandom/releases) - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.3.3...v0.3.4) Updates `landlock` from 0.4.3 to 0.4.4 - [Release notes](https://github.com/landlock-lsm/rust-landlock/releases) - [Changelog](https://github.com/landlock-lsm/rust-landlock/blob/main/CHANGELOG.md) - [Commits](https://github.com/landlock-lsm/rust-landlock/compare/v0.4.3...v0.4.4) Updates `aho-corasick` from 1.1.3 to 1.1.4 - [Commits](https://github.com/BurntSushi/aho-corasick/compare/1.1.3...1.1.4) Updates `anstyle-query` from 1.1.4 to 1.1.5 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.1.4...anstyle-query-v1.1.5) Updates `anstyle-wincon` from 3.0.10 to 3.0.11 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.10...anstyle-wincon-v3.0.11) Updates `cc` from 1.2.41 to 1.2.47 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.41...cc-v1.2.47) Updates `clap_builder` from 4.5.49 to 4.5.53 - [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/v4.5.49...v4.5.53) Updates `find-msvc-tools` from 0.1.4 to 0.1.5 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/find-msvc-tools-v0.1.4...find-msvc-tools-v0.1.5) Updates `hashbrown` from 0.16.0 to 0.16.1 - [Release notes](https://github.com/rust-lang/hashbrown/releases) - [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/hashbrown/compare/v0.16.0...v0.16.1) Updates `indexmap` from 2.11.4 to 2.12.1 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.11.4...2.12.1) Updates `is_terminal_polyfill` from 1.70.1 to 1.70.2 - [Changelog](https://github.com/polyfill-rs/is_terminal_polyfill/blob/main-v1.70/CHANGELOG.md) - [Commits](https://github.com/polyfill-rs/is_terminal_polyfill/compare/v1.70.1...v1.70.2) Updates `jiff` from 0.2.15 to 0.2.16 - [Release notes](https://github.com/BurntSushi/jiff/releases) - [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.15...jiff-static-0.2.16) Updates `jiff-static` from 0.2.15 to 0.2.16 - [Release notes](https://github.com/BurntSushi/jiff/releases) - [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.15...jiff-static-0.2.16) Updates `libz-sys` from 1.1.22 to 1.1.23 - [Release notes](https://github.com/rust-lang/libz-sys/releases) - [Commits](https://github.com/rust-lang/libz-sys/compare/1.1.22...1.1.23) Updates `num_enum_derive` from 0.7.4 to 0.7.5 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.4...0.7.5) Updates `once_cell_polyfill` from 1.70.1 to 1.70.2 - [Changelog](https://github.com/polyfill-rs/once_cell_polyfill/blob/v1.70.2/CHANGELOG.md) - [Commits](https://github.com/polyfill-rs/once_cell_polyfill/compare/v1.70.1...v1.70.2) Updates `openssl-src` from 300.5.3+3.5.4 to 300.5.4+3.5.4 - [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases) - [Commits](https://github.com/alexcrichton/openssl-src-rs/commits) Updates `openssl-sys` from 0.9.109 to 0.9.111 - [Release notes](https://github.com/rust-openssl/rust-openssl/releases) - [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-sys-v0.9.109...openssl-sys-v0.9.111) Updates `proc-macro2` from 1.0.101 to 1.0.103 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.101...1.0.103) Updates `quote` from 1.0.41 to 1.0.42 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.41...1.0.42) Updates `serde_with_macros` from 3.15.0 to 3.16.0 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.15.0...v3.16.0) Updates `signal-hook-registry` from 1.4.6 to 1.4.7 - [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md) - [Commits](https://github.com/vorner/signal-hook/compare/registry-v1.4.6...registry-v1.4.7) Updates `syn` from 2.0.106 to 2.0.111 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.106...2.0.111) Updates `unicode-ident` from 1.0.19 to 1.0.22 - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.19...1.0.22) Updates `zbus_macros` from 5.11.0 to 5.12.0 - [Release notes](https://github.com/z-galaxy/zbus/releases) - [Commits](https://github.com/z-galaxy/zbus/compare/zbus-5.11.0...zbus-5.12.0) Updates `zerocopy-derive` from 0.8.27 to 0.8.30 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.27...v0.8.30) Updates `zvariant` from 5.7.0 to 5.8.0 - [Release notes](https://github.com/dbus2/zbus/releases) - [Commits](https://github.com/dbus2/zbus/compare/zvariant-5.7.0...zvariant-5.8.0) Updates `zvariant_derive` from 5.7.0 to 5.8.0 - [Release notes](https://github.com/dbus2/zbus/releases) - [Commits](https://github.com/dbus2/zbus/compare/zbus-5.7.0...zbus-5.8.0) Updates `serde_with` from 3.15.0 to 3.16.0 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.15.0...v3.16.0) Updates `bitflags` from 2.9.4 to 2.10.0 - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/2.9.4...2.10.0) Updates `cfg-if` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/rust-lang/cfg-if/releases) - [Changelog](https://github.com/rust-lang/cfg-if/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cfg-if/compare/v1.0.3...v1.0.4) Updates `clap` from 4.5.49 to 4.5.53 - [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.49...clap_complete-v4.5.53) Updates `zerocopy` from 0.8.27 to 0.8.30 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.27...v0.8.30) Updates `bitfield-struct` from 0.11.0 to 0.12.1 - [Release notes](https://github.com/wrenger/bitfield-struct-rs/releases) - [Commits](https://github.com/wrenger/bitfield-struct-rs/compare/0.11.0...0.12.1) Updates `num_enum` from 0.7.4 to 0.7.5 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.4...0.7.5) Updates `landlock` from 0.4.3 to 0.4.4 - [Release notes](https://github.com/landlock-lsm/rust-landlock/releases) - [Changelog](https://github.com/landlock-lsm/rust-landlock/blob/main/CHANGELOG.md) - [Commits](https://github.com/landlock-lsm/rust-landlock/compare/v0.4.3...v0.4.4) Updates `anstyle-query` from 1.1.4 to 1.1.5 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.1.4...anstyle-query-v1.1.5) Updates `anstyle-wincon` from 3.0.10 to 3.0.11 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.10...anstyle-wincon-v3.0.11) Updates `cc` from 1.2.41 to 1.2.47 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.41...cc-v1.2.47) Updates `clap_builder` from 4.5.49 to 4.5.53 - [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/v4.5.49...v4.5.53) Updates `find-msvc-tools` from 0.1.4 to 0.1.5 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/find-msvc-tools-v0.1.4...find-msvc-tools-v0.1.5) Updates `hashbrown` from 0.16.0 to 0.16.1 - [Release notes](https://github.com/rust-lang/hashbrown/releases) - [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/hashbrown/compare/v0.16.0...v0.16.1) Updates `indexmap` from 2.11.4 to 2.12.1 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.11.4...2.12.1) Updates `is_terminal_polyfill` from 1.70.1 to 1.70.2 - [Changelog](https://github.com/polyfill-rs/is_terminal_polyfill/blob/main-v1.70/CHANGELOG.md) - [Commits](https://github.com/polyfill-rs/is_terminal_polyfill/compare/v1.70.1...v1.70.2) Updates `num_enum_derive` from 0.7.4 to 0.7.5 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.4...0.7.5) Updates `once_cell_polyfill` from 1.70.1 to 1.70.2 - [Changelog](https://github.com/polyfill-rs/once_cell_polyfill/blob/v1.70.2/CHANGELOG.md) - [Commits](https://github.com/polyfill-rs/once_cell_polyfill/compare/v1.70.1...v1.70.2) Updates `proc-macro2` from 1.0.101 to 1.0.103 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.101...1.0.103) Updates `quote` from 1.0.41 to 1.0.42 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.41...1.0.42) Updates `serde_with_macros` from 3.15.0 to 3.16.0 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.15.0...v3.16.0) Updates `signal-hook-registry` from 1.4.6 to 1.4.7 - [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md) - [Commits](https://github.com/vorner/signal-hook/compare/registry-v1.4.6...registry-v1.4.7) Updates `syn` from 2.0.106 to 2.0.111 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.106...2.0.111) Updates `unicode-ident` from 1.0.19 to 1.0.22 - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.19...1.0.22) Updates `windows-sys` from 0.60.2 to 0.61.2 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) Updates `zerocopy-derive` from 0.8.27 to 0.8.30 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.27...v0.8.30) --- updated-dependencies: - dependency-name: zbus dependency-version: 5.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: serde_with dependency-version: 3.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: bitflags dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: cfg-if dependency-version: 1.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap dependency-version: 4.5.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.30 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: io-uring dependency-version: 0.7.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: num_enum dependency-version: 0.7.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: getrandom dependency-version: 0.3.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: landlock dependency-version: 0.4.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: aho-corasick dependency-version: 1.1.4 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anstyle-query dependency-version: 1.1.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anstyle-wincon dependency-version: 3.0.11 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: cc dependency-version: 1.2.47 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-version: 4.5.53 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: find-msvc-tools dependency-version: 0.1.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: hashbrown dependency-version: 0.16.1 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: indexmap dependency-version: 2.12.1 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: is_terminal_polyfill dependency-version: 1.70.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: jiff dependency-version: 0.2.16 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: jiff-static dependency-version: 0.2.16 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: libz-sys dependency-version: 1.1.23 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: num_enum_derive dependency-version: 0.7.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: once_cell_polyfill dependency-version: 1.70.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: openssl-src dependency-version: 300.5.4+3.5.4 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: openssl-sys dependency-version: 0.9.111 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: proc-macro2 dependency-version: 1.0.103 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: quote dependency-version: 1.0.42 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: serde_with_macros dependency-version: 3.16.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: signal-hook-registry dependency-version: 1.4.7 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: syn dependency-version: 2.0.111 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: unicode-ident dependency-version: 1.0.22 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zbus_macros dependency-version: 5.12.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.30 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zvariant dependency-version: 5.8.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: zvariant_derive dependency-version: 5.8.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: serde_with dependency-version: 3.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: bitflags dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: cfg-if dependency-version: 1.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap dependency-version: 4.5.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.30 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: bitfield-struct dependency-version: 0.12.1 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: num_enum dependency-version: 0.7.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: landlock dependency-version: 0.4.4 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anstyle-query dependency-version: 1.1.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anstyle-wincon dependency-version: 3.0.11 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: cc dependency-version: 1.2.47 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-version: 4.5.53 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: find-msvc-tools dependency-version: 0.1.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: hashbrown dependency-version: 0.16.1 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: indexmap dependency-version: 2.12.1 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: is_terminal_polyfill dependency-version: 1.70.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: num_enum_derive dependency-version: 0.7.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: once_cell_polyfill dependency-version: 1.70.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: proc-macro2 dependency-version: 1.0.103 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: quote dependency-version: 1.0.42 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: serde_with_macros dependency-version: 3.16.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: signal-hook-registry dependency-version: 1.4.7 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: syn dependency-version: 2.0.111 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: unicode-ident dependency-version: 1.0.22 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: windows-sys dependency-version: 0.61.2 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.30 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
e39174ac51 |
misc: devices: drop extern crate, use modern rust
This commit is part of a series of similar commits. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
2be304b392 |
misc: Check that get_slice() returned a big enough slice
This should be guaranteed by GuestMemory and GuestMemoryRegion, but those traits are currently safe, so add checks to guard against incorrect implementations of them. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> |
||
|
|
42522a88c0 |
misc: do not use u64 to represent host pointers
To ensure that struct sizes are the same on 32-bit and 64-bit, various kernel APIs use __u64 (Rust u64) to represent userspace pointers. Userspace is expected to cast pointers to __u64 before passing them to the kernel, and cast kernel-provided __u64 to a pointer before using them. However, various safe APIs in Cloud Hypervisor took caller-provided u64 values and passed them to syscalls that interpret them as userspace addresses. Therefore, passing bad u64 values would cause memory disclosure or corruption. Fix the bug by using usize and pointer types as appropriate. To make soundness of the code easier to reason about, the PCI code gains a new MmapRegion abstraction that ensures the validity of pointers. The rest of the code already has an MmapRegion abstraction it can use. To avoid having to reason about whether something is keeping the MmapRegion alive, reference counting is added. MmapRegion cannot hold references to other objects, so the reference counting cannot introduce cycles. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> |
||
|
|
b4c62bf159 |
misc: clippy: add semicolon_if_nothing_returned
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
ea4f07d3bf |
misc: clippy: add uninlined_format_args
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
7cb73e9e56 |
misc: clippy: add unnecessary_semicolon
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
d1680b9ff9 |
tests: streamline module names to unit_tests
This better aligns with the rest of the code and makes it clearer that these tests can run "as is" in a normal hosted environments without the special test environment. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
e4fd066d82 |
misc: improve developer experience of cargo clippy
A major improvement to the developer experience of clippy in Cloud Hypervisor. 1. Make `cargo clippy` just work with the same lints we use in CI 2. Simplify adding new lints Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
1356b26c0f |
build: bump bitfield-struct from 0.11.0 to 0.12.1
Should fix beta clippy. Signed-off-by: Alyssa Ross <hi@alyssa.is> |
||
|
|
f2dfa7f6e0 |
misc: Use variables directly in format! string
Fix clippy warning `uninlined_format_args` reported by rustc rustc
1.89.0 (29483883e 2025-08-04).
```console
warning: variables can be used directly in the `format!` string
--> block/src/lib.rs:649:17
|
649 | info!("{} failed to create io_uring instance: {}", error_msg, e);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `#[warn(clippy::uninlined_format_args)]` on by default
help: change this to
|
649 - info!("{} failed to create io_uring instance: {}", error_msg, e);
649 + info!("{error_msg} failed to create io_uring instance: {e}");
|
```
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
|
||
|
|
ea83fe314c |
build: Bump the non-rust-vmm group across 2 directories with 107 updates
Bumps the non-rust-vmm group with 57 updates in the / directory: | Package | From | To | | --- | --- | --- | | [zbus](https://github.com/dbus2/zbus) | `5.7.1` | `5.11.0` | | [serde](https://github.com/serde-rs/serde) | `1.0.208` | `1.0.226` | | [serde_json](https://github.com/serde-rs/json) | `1.0.143` | `1.0.145` | | [serde_with](https://github.com/jonasbb/serde_with) | `3.14.0` | `3.14.1` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.99` | `1.0.100` | | [cfg-if](https://github.com/rust-lang/cfg-if) | `1.0.0` | `1.0.3` | | [clap](https://github.com/clap-rs/clap) | `4.5.47` | `4.5.48` | | [log](https://github.com/rust-lang/log) | `0.4.22` | `0.4.28` | | [thiserror](https://github.com/dtolnay/thiserror) | `2.0.12` | `2.0.16` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.26` | `0.8.27` | | [bitfield-struct](https://github.com/wrenger/bitfield-struct-rs) | `0.10.1` | `0.11.0` | | [num_enum](https://github.com/illicitonion/num_enum) | `0.7.3` | `0.7.4` | | [blocking](https://github.com/smol-rs/blocking) | `1.6.1` | `1.6.2` | | [gdbstub](https://github.com/daniel5151/gdbstub) | `0.7.6` | `0.7.7` | | [micro_http](https://github.com/firecracker-microvm/micro-http) | ``bf50989`` | ``3248cee`` | | [anstream](https://github.com/rust-cli/anstyle) | `0.6.19` | `0.6.20` | | [anstyle-query](https://github.com/rust-cli/anstyle) | `1.1.2` | `1.1.4` | | [anstyle-wincon](https://github.com/rust-cli/anstyle) | `3.0.6` | `3.0.10` | | [async-broadcast](https://github.com/smol-rs/async-broadcast) | `0.7.1` | `0.7.2` | | [async-executor](https://github.com/smol-rs/async-executor) | `1.13.1` | `1.13.3` | | [async-io](https://github.com/smol-rs/async-io) | `2.5.0` | `2.6.0` | | [async-lock](https://github.com/smol-rs/async-lock) | `3.4.0` | `3.4.1` | | [async-signal](https://github.com/smol-rs/async-signal) | `0.2.12` | `0.2.13` | | [bumpalo](https://github.com/fitzgen/bumpalo) | `3.16.0` | `3.19.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.34` | `1.2.38` | | [clap_lex](https://github.com/clap-rs/clap) | `0.7.4` | `0.7.5` | | [colorchoice](https://github.com/rust-cli/anstyle) | `1.0.3` | `1.0.4` | | [crc32fast](https://github.com/srijs/rust-crc32fast) | `1.4.2` | `1.5.0` | | [env_filter](https://github.com/rust-cli/env_logger) | `0.1.2` | `0.1.3` | | [errno](https://github.com/lambda-fairy/rust-errno) | `0.3.13` | `0.3.14` | | [event-listener-strategy](https://github.com/smol-rs/event-listener-strategy) | `0.5.3` | `0.5.4` | | [futures-lite](https://github.com/smol-rs/futures-lite) | `2.6.0` | `2.6.1` | | [glob](https://github.com/rust-lang/glob) | `0.3.2` | `0.3.3` | | [hashbrown](https://github.com/rust-lang/hashbrown) | `0.15.4` | `0.15.5` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.8.0` | `2.11.4` | | libredox | `0.1.3` | `0.1.10` | | [libz-sys](https://github.com/rust-lang/libz-sys) | `1.1.18` | `1.1.22` | | [lock_api](https://github.com/Amanieu/parking_lot) | `0.4.12` | `0.4.13` | | [memchr](https://github.com/BurntSushi/memchr) | `2.7.2` | `2.7.5` | | [once_cell](https://github.com/matklad/once_cell) | `1.20.2` | `1.21.3` | | [openssl-src](https://github.com/alexcrichton/openssl-src-rs) | `300.3.2+3.3.2` | `300.5.2+3.5.2` | | [openssl-sys](https://github.com/sfackler/rust-openssl) | `0.9.104` | `0.9.109` | | [parking_lot](https://github.com/Amanieu/parking_lot) | `0.12.1` | `0.12.4` | | [pin-project-lite](https://github.com/taiki-e/pin-project-lite) | `0.2.15` | `0.2.16` | | [pkg-config](https://github.com/rust-lang/pkg-config-rs) | `0.3.31` | `0.3.32` | | [polling](https://github.com/smol-rs/polling) | `3.6.0` | `3.11.0` | | [ppv-lite86](https://github.com/cryptocorrosion/cryptocorrosion) | `0.2.20` | `0.2.21` | | [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) | `3.3.0` | `3.4.0` | | [regex](https://github.com/rust-lang/regex) | `1.11.1` | `1.11.2` | | [regex-automata](https://github.com/rust-lang/regex) | `0.4.9` | `0.4.10` | | [regex-syntax](https://github.com/rust-lang/regex) | `0.8.5` | `0.8.6` | | [serde_repr](https://github.com/dtolnay/serde-repr) | `0.1.19` | `0.1.20` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.12.0` | `3.23.0` | | [tracing](https://github.com/tokio-rs/tracing) | `0.1.40` | `0.1.41` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.18` | `1.0.19` | | [wasi](https://github.com/bytecodealliance/wasi-rs) | `0.11.0+wasi-snapshot-preview1` | `0.11.1+wasi-snapshot-preview1` | | [zvariant_utils](https://github.com/dbus2/zbus) | `3.2.0` | `3.2.1` | Bumps the non-rust-vmm group with 44 updates in the /fuzz directory: | Package | From | To | | --- | --- | --- | | [serde](https://github.com/serde-rs/serde) | `1.0.208` | `1.0.226` | | [serde_json](https://github.com/serde-rs/json) | `1.0.143` | `1.0.145` | | [serde_with](https://github.com/jonasbb/serde_with) | `3.14.0` | `3.14.1` | | [cfg-if](https://github.com/rust-lang/cfg-if) | `1.0.0` | `1.0.3` | | [clap](https://github.com/clap-rs/clap) | `4.5.47` | `4.5.48` | | [log](https://github.com/rust-lang/log) | `0.4.22` | `0.4.28` | | [thiserror](https://github.com/dtolnay/thiserror) | `2.0.12` | `2.0.16` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.26` | `0.8.27` | | [num_enum](https://github.com/illicitonion/num_enum) | `0.7.2` | `0.7.4` | | [getrandom](https://github.com/rust-random/getrandom) | `0.2.15` | `0.2.16` | | [gdbstub](https://github.com/daniel5151/gdbstub) | `0.7.6` | `0.7.7` | | [micro_http](https://github.com/firecracker-microvm/micro-http) | ``bf50989`` | ``3248cee`` | | [anstream](https://github.com/rust-cli/anstyle) | `0.6.15` | `0.6.20` | | [anstyle](https://github.com/rust-cli/anstyle) | `1.0.8` | `1.0.11` | | [anstyle-parse](https://github.com/rust-cli/anstyle) | `0.2.5` | `0.2.7` | | [anstyle-query](https://github.com/rust-cli/anstyle) | `1.1.1` | `1.1.4` | | [autocfg](https://github.com/cuviper/autocfg) | `1.3.0` | `1.5.0` | | [bumpalo](https://github.com/fitzgen/bumpalo) | `3.16.0` | `3.19.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.1.11` | `1.2.38` | | [colorchoice](https://github.com/rust-cli/anstyle) | `1.0.2` | `1.0.4` | | [enumflags2](https://github.com/meithecatte/enumflags2) | `0.7.10` | `0.7.12` | | [equivalent](https://github.com/indexmap-rs/equivalent) | `1.0.1` | `1.0.2` | | [futures-core](https://github.com/rust-lang/futures-rs) | `0.3.30` | `0.3.31` | | [futures-sink](https://github.com/rust-lang/futures-rs) | `0.3.30` | `0.3.31` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.5.0` | `2.11.4` | | [itoa](https://github.com/dtolnay/itoa) | `1.0.11` | `1.0.15` | | [lock_api](https://github.com/Amanieu/parking_lot) | `0.4.12` | `0.4.13` | | [memchr](https://github.com/BurntSushi/memchr) | `2.7.4` | `2.7.5` | | [once_cell](https://github.com/matklad/once_cell) | `1.20.2` | `1.21.3` | | [ppv-lite86](https://github.com/cryptocorrosion/cryptocorrosion) | `0.2.20` | `0.2.21` | | [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) | `3.2.0` | `3.4.0` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.92` | `1.0.101` | | [quote](https://github.com/dtolnay/quote) | `1.0.37` | `1.0.40` | | [r-efi](https://github.com/r-efi/r-efi) | `5.2.0` | `5.3.0` | | [rand](https://github.com/rust-random/rand) | `0.9.0` | `0.9.2` | | [rustversion](https://github.com/dtolnay/rustversion) | `1.0.21` | `1.0.22` | | [ryu](https://github.com/dtolnay/ryu) | `1.0.18` | `1.0.20` | | [signal-hook-registry](https://github.com/vorner/signal-hook) | `1.4.2` | `1.4.6` | | [syn](https://github.com/dtolnay/syn) | `2.0.95` | `2.0.106` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.13` | `1.0.19` | | [wasi](https://github.com/bytecodealliance/wasi-rs) | `0.11.0+wasi-snapshot-preview1` | `0.11.1+wasi-snapshot-preview1` | | [arbitrary](https://github.com/rust-fuzz/arbitrary) | `1.4.1` | `1.4.2` | | [libfuzzer-sys](https://github.com/rust-fuzz/libfuzzer) | `0.4.7` | `0.4.10` | | [jobserver](https://github.com/rust-lang/jobserver-rs) | `0.1.32` | `0.1.34` | Updates `zbus` from 5.7.1 to 5.11.0 - [Release notes](https://github.com/dbus2/zbus/releases) - [Commits](https://github.com/dbus2/zbus/compare/zbus-5.7.1...zbus-5.11.0) Updates `serde` from 1.0.208 to 1.0.226 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.226) Updates `serde_json` from 1.0.143 to 1.0.145 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.143...v1.0.145) Updates `serde_with` from 3.14.0 to 3.14.1 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.14.0...v3.14.1) Updates `anyhow` from 1.0.99 to 1.0.100 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.99...1.0.100) Updates `cfg-if` from 1.0.0 to 1.0.3 - [Release notes](https://github.com/rust-lang/cfg-if/releases) - [Changelog](https://github.com/rust-lang/cfg-if/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cfg-if/compare/1.0.0...v1.0.3) Updates `clap` from 4.5.47 to 4.5.48 - [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.47...clap_complete-v4.5.48) Updates `log` from 0.4.22 to 0.4.28 - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.22...0.4.28) Updates `thiserror` from 2.0.12 to 2.0.16 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/2.0.12...2.0.16) Updates `zerocopy` from 0.8.26 to 0.8.27 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.26...v0.8.27) Updates `bitfield-struct` from 0.10.1 to 0.11.0 - [Release notes](https://github.com/wrenger/bitfield-struct-rs/releases) - [Commits](https://github.com/wrenger/bitfield-struct-rs/compare/0.10.1...0.11.0) Updates `num_enum` from 0.7.3 to 0.7.4 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.3...0.7.4) Updates `blocking` from 1.6.1 to 1.6.2 - [Release notes](https://github.com/smol-rs/blocking/releases) - [Changelog](https://github.com/smol-rs/blocking/blob/master/CHANGELOG.md) - [Commits](https://github.com/smol-rs/blocking/compare/v1.6.1...v1.6.2) Updates `gdbstub` from 0.7.6 to 0.7.7 - [Release notes](https://github.com/daniel5151/gdbstub/releases) - [Changelog](https://github.com/daniel5151/gdbstub/blob/master/CHANGELOG.md) - [Commits](https://github.com/daniel5151/gdbstub/compare/0.7.6...0.7.7) Updates `micro_http` from `bf50989` to `3248cee` - [Commits]( |
||
|
|
c995b72384 |
build: treewide: clippy: collapse nested ifs, use let chains
This bumps the MSRV to 1.88 (also, Rust edition 2024 is mandatory). Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
363273111a |
build: treewide: fmt for edition 2024
`cargo +nightly fmt` Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
061351d82d |
build: upgrade whole* workspace to Rust edition 2024
This upgrades the Cargo workspace to Rust edition 2024 to keep the code base clean and up to date. The commit only contains the adjustments to the Cargo.toml files and basic compiler error fixes. Also, this commit includes new SAFETY comments as discussed in [1]. The changes were not automatically fixed by `cargo fix --edition` but needed manual adjustments. Apart from that, all formatting and clippy adjustments follow in subsequent commits. * As only exception, workspace member net_gen sticks to edition 2021 for now as discussed in [0]. [0] https://github.com/cloud-hypervisor/cloud-hypervisor/pull/7295#discussion_r2310851041 [1] https://github.com/cloud-hypervisor/cloud-hypervisor/pull/7256#issuecomment-3271888674 Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
5128ee9ba6 |
devices, vmm: Handle ivshmem bar reprogramming properly
Signed-off-by: Bo Chen <bchen@crusoe.ai> Signed-off-by: Songqian Li <sionli@tencent.com> |
||
|
|
c72414552b |
devices: introduce ivshmem device
This patch introduces the inter-vm shared memory(ivshmem) device to share a memory region between multiple processes running different guests and the host. This patch supports the basic ivshmem functions like ivshmem-plain in QEMU[1]. [1] https://www.qemu.org/docs/master/specs/ivshmem-spec.html Signed-off-by: Yi Wang <foxywang@tencent.com> Signed-off-by: Songqian Li <sionli@tencent.com> |
||
|
|
aa8e9cd91a |
misc: Change cpu ID type from u8 to u32
This is the first change to Cloud Hypervisor in a series of changes intended to increase the max number of supported vCPUs in guest VMs, which is currently limited to 255 (254 on x86_64). No user-visible/behavior changes are expected as a result of applying this patch, as the type of boot_cpus and related fields in config structs remains u8 for now, and all configuration validations remain the same. Signed-off-by: Barret Rhoden <brho@google.com> Signed-off-by: Neel Natu <neelnatu@google.com> Signed-off-by: Ofir Weisse <oweisse@google.com> Signed-off-by: Peter Oskolkov <posk@google.com> |
||
|
|
a70c1b38e7 |
devices: Add fw_cfg cli options
This allows us to enable/disable the fw_cfg device via the cli We can also now upload files into the guest vm using fw_cfg_items via the cli Signed-off-by: Alex Orozco <alexorozco@google.com> |
||
|
|
971f552e09 |
vmm: Add acpi table for fw_cfg device
This allows the fw_cfg device to be recognized by the guest linux kernel. This becomes more relavnt in the following cl where I add the option to load files into the guest via fw_cfg. The Linux kernel already has a fw_cfg driver that will automatically load these files under /sys when CONFIG_FW_CFG_SYSFS is enabled in the kernel config For arm we must add fw_cfg to the devices tree Signed-off-by: Alex Orozco <alexorozco@google.com> |
||
|
|
edee53ac1a |
devices: Implement DMA for fw_cfg device
We pass a reference to the guest memory when we create the device in DeviceManager. This allows us to access the guest memory for DMA. Signed-off-by: Alex Orozco <alexorozco@google.com> |
||
|
|
1f51e4525b |
devices: Add acpi tables to fw_cfg
The acpi tables are created in the same place the acpi tables would be created for the regular bootflow, except here we add them to the fw_cfg device to be measured by the fw and then the fw will put the acpi tables into memory. Signed-off-by: Alex Orozco <alexorozco@google.com> |
||
|
|
f0b69d56d0 |
devices: Add e820/memory_map to fw_cfg device
We build the memory map in the fw_cfg device based on the memory size. Signed-off-by: Alex Orozco <alexorozco@google.com> |
||
|
|
623fadfa9d |
devices: Add kernel cmdline, kernel, and initramfs to fw_cfg device
The kernel and initramfs are passed to the fw_cfg device as file references. The cmdline is passed directly. Signed-off-by: Alex Orozco <alexorozco@google.com> |
||
|
|
777b7ee11e |
devices: Add fw_cfg device
Here we add the fw_cfg device as a legacy device to the device manager. It is guarded behind a fw_cfg flag in vmm at creation of the DeviceManager. In this cl we implement the fw_cfg device with one function (signature). Signed-off-by: Alex Orozco <alexorozco@google.com> |
||
|
|
8c136041cb |
build: Use workspace dependencies
Many of the workspace members in the Cloud-hypervisor workspace share common dependencies. Making these workspace dependencies reduces duplication and improves maintainability. Signed-off-by: Oliver Anderson <oliver.anderson@cyberus-technology.de> On-behalf-of: SAP oliver.anderson@sap.com |
||
|
|
4528e2f1ea |
devices: rtc_pl031: Disable broken interrupt
The PL031 RTC provides two features: a real-time counter and an alarm interrupt. To use the alarm, the driver normally writes a time value into the match register RTCMR, and when the counter reaches that value the device triggers the interrupt. At the moment the implementation ignores programming of the alarm, as the feature seems rarely used in VMs. However the interrupt is still triggered arbitrarily when the guest writes to registers, and the line is never cleared. This really confuses the Linux driver, which loops in the interrupt handler until Linux realizes that no one is dealing with the interrupt (200000 unanswered calls) and disables the handler. One way to fix this would be implementing the alarm function properly, which isn't too difficult but requires adding some async timer logic which probably won't ever get used. In addition the device's interrupt is level-triggered and we don't support level interrupts at the moment, though we could probably get away with changing this interrupt to edge. The simplest fix, though, is to just disable the interrupt logic entirely, so that the alarm function still doesn't work but the guest doesn't see spurious interrupts. Add a default() implementation to satisfy clippy's new_without_default check, since Rtc::new() doesn't take a parameter after this change. Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> |
||
|
|
1b91aa8ef3 |
misc: devices: 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 |
||
|
|
20296e909a |
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 |
||
|
|
ab575a54b9 |
misc: devices: 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 |
||
|
|
93b599e59e |
misc: devices: streamline #[source] and Error
This streamlines the code base to follow best practices for error handling in Rust: Each error struct implements std::error::Error (most due via thiserror::Error derive macro) and sets its source accordingly. This allows future work that nicely prints the error chains, for example. So far, the convention is that each error prints its sub error as part of its Display::fmt() impl. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
f3209e4f78 |
devices: silence IRQ debug!() spam
This simplifies debugging of running VMs. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
aaf86ef209 |
pci: Reprogram device BAR when its MSE bit is set
The Memory Space Enable (MSE) bit from the COMMAND register in the PCI configuration space controls whether a PCI device responds to memory space accesses, e.g. read and write cycles to the device MMIO regions defined by its BARs. The MSE bit is used by the device drivers to ensure the correctness of BAR reprogramming. A common workflow is, the driver first clears the MSE bit, then writes new values to the BAR registers, and finally set the MSE bit to finish the BAR reprogramming. This patch changes how we handle BAR reprogramming for all PCI devices (e.g. virtio-pci, vfio, vfio-user, etc.), so that we follow the same convention, e.g. moving PCI BARs when its MSE bit is set. Note that some device drivers (such as edk2) only clear and set MSE once while reprogramming multiple BARs of a single device. To support such behavior, this patch adds support for multiple pending BAR reprogramming. See: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/7027#issuecomment-2853642959 Signed-off-by: Bo Chen <bchen@crusoe.ai> |
||
|
|
cb52cf91df |
pci: Keep detect_bar_reprogramming internal to PciConfiguration
A BAR reprogramming of a PCI device will only happen when the (guest) kernel write to its PCI config space, e.g. the detection of bar reprogramming (`detect_bar_repgraomming()`) can be embedded to the PCI config space write (`write_config_register()`). It simplifies APIs exposed by the `struct PciConfiguration` and `trait PciDevice`. It also prepares for easier handling of pending bar reprogramming when the MSE bit of the COMMAND register is not enabled at the time of changing BAR registers. See: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/7027#issuecomment-2853642959 Signed-off-by: Bo Chen <bchen@crusoe.ai> |
||
|
|
10ee003d66 |
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>
|
||
|
|
573868c035 |
build: Bump bitflags from 2.6.0 to 2.9.0
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.6.0 to 2.9.0. - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/2.6.0...2.9.0) --- updated-dependencies: - dependency-name: bitflags dependency-version: 2.9.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
6bb33601d0 |
hypervisor: Avoid leaking KVM GIC state into common GIC state
KVM supports GICv3-ITS emulation and the current GicState is modelled around the KVM implementation. We should refactor this to accomodate other hypervisor requirements. For example, MSHV only support GICv2M emulation for guests for delivering MSI interrupts instead of GICv3-ITS. Signed-off-by: Jinank Jain <jinankjain@microsoft.com> |
||
|
|
d99f294281 |
pci: rename as_any to as_any_mut
That trait function returns a mutable reference. Rename it to follow Rust's convention. Signed-off-by: Wei Liu <liuwe@microsoft.com> |
||
|
|
dd0b95ba5c |
devices: Automatically fix operator precedence clippy warning
Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
||
|
|
eeae63b459 |
build: Bump thiserror version
Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
||
|
|
0042447fb9 |
devices: Disable tpm module for riscv64
TPM support on RISC-V is not scheduled in this stage, we will come back when it's ready and we have workloads to verify it on RISC-V. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> |
||
|
|
e8c330e220 |
devices: Introduce RISC-V AIA interrupt device
Introduce definitions, implementations and error variants of RISC-V AIA (Advance Interrupt Architecture) interrupt controller. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> |
||
|
|
ba78e331c6 |
devices: Enable build with kvm feature
Currently `devices` module cannot be solely built, by specifying `arch/kvm` to turn on the features required for its dependency - `arch` crate to build. Thus enabling `devices` crate to be built and tested with command: ```sh cargo build -p devices --features kvm ``` Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> |
||
|
|
b6d2ac2c2e |
devices: Enable arch module for riscv64
`arch` module are required for devices module to build. Enabling `arch` module in target specific dependencies section. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> |
||
|
|
0c2f2d3ec1 |
build: Bump anyhow from 1.0.87 to 1.0.94
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.87 to 1.0.94. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.87...1.0.94) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
30cf1eed5e |
build: Bump libc from 0.2.158 to 0.2.167
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.158 to 0.2.167. - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.167/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.158...0.2.167) --- updated-dependencies: - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
297236a7c0 |
misc: Eliminate use of assert!((...).is_ok())
Asserting on .is_ok()/.is_err() leads to hard to debug failures (as if the test fails, it will only say "assertion failed: false". We replace these with `.unwrap()`, which also prints the exact error variant that was unexpectedly encountered (we can to this these days thanks to efforts to implement Display and Debug for our error types). If the assert!((...).is_ok()) was followed by an .unwrap() anyway, we just drop the assert. Inspired by and quoted from @roypat. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> |
||
|
|
61e57e1cb1 |
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> |
||
|
|
88a9f79944 |
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> |
||
|
|
5a70d7ec69 |
build: Centralize rust-vmm crates to workspace
Modify `Cargo.toml` in each member crate to follow the dependencies specified in root `Cargo.toml` file. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> |