Rob Bradford
d516374c39
block: Replace use of crc32c crate with crc-any
...
According to crates.io the crc-any crate is actively maintained which
avoids issues with the crc32c crate and the nightly compiler.
Fixes : #6168
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-02-06 14:29:10 -08:00
Muminul Islam
9b84c6c3f5
vmm: check correct buffer size during import
...
When we import a page, we have a page with
some data or empty, empty does not mean there is no data,
it rather means it's full of zeros. We can skip writing the
data as guest memory of the page is already zeroed.
A page could be partially filled and the rest of the content is zero.
Our IGVM generation tool only fills data here if there is some data
without zeros. Rest of them are padded. We only write data
without padding and compare whether we complete writing
the buffer content. Still it's a full page and update the variable
with length of the full page.
Signed-off-by: Muminul Islam <muislam@microsoft.com >
2024-02-06 14:28:42 -08:00
dependabot[bot]
9b54a8fb1c
build: Bump js-sys from 0.3.66 to 0.3.67 in /fuzz
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.66 to 0.3.67.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-06 20:51:30 +00:00
dependabot[bot]
dd13fee3d7
build: Bump pin-project from 1.1.3 to 1.1.4
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.3...v1.1.4 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-06 20:51:19 +00:00
dependabot[bot]
3042a0baf3
build: Bump crossbeam-utils from 0.8.16 to 0.8.19
...
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam ) from 0.8.16 to 0.8.19.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.16...crossbeam-utils-0.8.19 )
---
updated-dependencies:
- dependency-name: crossbeam-utils
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-03 00:20:04 +00:00
dependabot[bot]
dbda3ade92
build: Bump semver from 1.0.20 to 1.0.21 in /fuzz
...
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.20...1.0.21 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-02 23:25:01 +00:00
dependabot[bot]
6dc7e21327
build: Bump semver from 1.0.20 to 1.0.21
...
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.20...1.0.21 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-02 00:39:59 +00:00
dependabot[bot]
166111a0d8
build: Bump pin-project from 1.1.3 to 1.1.4 in /fuzz
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.3...v1.1.4 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-01 23:19:42 +00:00
dependabot[bot]
73bfaace83
build: Bump async-trait from 0.1.74 to 0.1.76
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.74 to 0.1.76.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.74...0.1.76 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-01 00:20:46 +00:00
dependabot[bot]
95cd81073e
build: Bump serde from 1.0.195 to 1.0.196 in /fuzz
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.195 to 1.0.196.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-31 23:24:29 +00:00
dependabot[bot]
3603c51f0b
build: Bump openssl-sys from 0.9.93 to 0.9.99
...
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl ) from 0.9.93 to 0.9.99.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.93...openssl-sys-v0.9.99 )
---
updated-dependencies:
- dependency-name: openssl-sys
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-31 00:22:37 +00:00
dependabot[bot]
8c172e41c6
build: Bump smallvec from 1.12.0 to 1.13.1 in /fuzz
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.12.0 to 1.13.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.12.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: smallvec
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-30 23:22:46 +00:00
Thomas Barrett
5ec47d4883
arch: x86_64: enable HTT flag
...
When the HTT flag CPUID.1.EDX[HTT] is 0, it indicates that there is
only a single logical processor in the package. When HTT is 1, it
indicates that CPUID.1.EBX[23:16] contains the number of logical
processors in the package.
When this information is not included in CPUID leaf 0x1, some cpu
topology enumeration software such as hwloc are known to crash.
Signed-off-by: Thomas Barrett <tbarrett@crusoeenergy.com >
2024-01-30 13:49:35 -08:00
Ruslan Mstoi
1617736937
scripts: check-image-compatibility.sh: remove unused variable COUNT
...
COUNT variable is never used, hence remove
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com >
2024-01-30 09:07:34 -08:00
Ruslan Mstoi
a9340f5d9d
scripts: check-image-compatibility.sh: remove unused variable extension
...
extenstion variable is never used, hence remove
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com >
2024-01-30 09:07:34 -08:00
Ruslan Mstoi
82cac6f6ad
scripts: check-image-compatibility.sh: fix variable name typo
...
Fix liness to lines
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com >
2024-01-30 09:07:34 -08:00
dependabot[bot]
c1206b604e
build: Bump concurrent-queue from 2.3.0 to 2.4.0
...
Bumps [concurrent-queue](https://github.com/smol-rs/concurrent-queue ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/smol-rs/concurrent-queue/releases )
- [Changelog](https://github.com/smol-rs/concurrent-queue/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/concurrent-queue/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: concurrent-queue
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-30 10:57:17 +00:00
dependabot[bot]
0a32779506
build: Bump getrandom from 0.2.11 to 0.2.12 in /fuzz
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.11 to 0.2.12.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.11...v0.2.12 )
---
updated-dependencies:
- dependency-name: getrandom
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-30 00:06:21 +00:00
Ruslan Mstoi
4625f3ca3a
scripts: dev_cli: remove unused cargo variable
...
Variable cargo is unused, hence remove it.
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com >
2024-01-29 10:03:49 -08:00
dependabot[bot]
3945253619
build: Bump zerocopy from 0.7.31 to 0.7.32
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.31 to 0.7.32.
- [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.7.31...v0.7.32 )
---
updated-dependencies:
- dependency-name: zerocopy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-27 00:35:32 +00:00
dependabot[bot]
a5296a8147
build: Bump serde_json from 1.0.111 to 1.0.112 in /fuzz
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.111 to 1.0.112.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.111...v1.0.112 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-26 23:34:50 +00:00
dependabot[bot]
7acfff5da7
build: Bump gdbstub from 0.7.0 to 0.7.1
...
Bumps [gdbstub](https://github.com/daniel5151/gdbstub ) from 0.7.0 to 0.7.1.
- [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.0...0.7.1 )
---
updated-dependencies:
- dependency-name: gdbstub
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-26 10:03:23 +00:00
Bo Chen
026d8908fd
build: Bump rustix from 0.38.8 to 0.38.25
...
Signed-off-by: Bo Chen <chen.bo@intel.com >
2024-01-26 09:17:41 +00:00
dependabot[bot]
c8ad2bfc05
build: Bump wasm-bindgen from 0.2.89 to 0.2.90 in /fuzz
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.89 to 0.2.90.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.89...0.2.90 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-25 23:40:20 +00:00
Philipp Schuster
e50a641126
devices: add debug-console device
...
This commit adds the debug-console (or debugcon) device to CHV. It is a
very simple device on I/O port 0xe9 supported by QEMU and BOCHS. It is
meant for printing information as easy as possible, without any
necessary configuration from the guest at all.
It is primarily interesting to OS/kernel and firmware developers as they
can produce output as soon as the guest starts without any configuration
of a serial device or similar. Furthermore, a kernel hacker might use
this device for information of type B whereas information of type A are
printed to the serial device.
This device is not used by default by Linux, Windows, or any other
"real" OS, but only by toy kernels and during firmware development.
In the CLI, it can be configured similar to --console or --serial with
the --debug-console parameter.
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de >
2024-01-25 10:25:14 -08:00
dependabot[bot]
8f90fba250
build: Bump serde from 1.0.168 to 1.0.193
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.168 to 1.0.193.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.168...v1.0.193 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-25 11:09:33 +00:00
Bo Chen
3ce0fef7fd
build: Bump vmm-sys-util crate and its consumers
...
This patch bumps the following crates, including `kvm-bindings@0.7.0`*,
`kvm-ioctls@0.16 .0`**, `linux-loader@0.11 .0`, `versionize@0.2.0`,
`versionize_derive@0.1.6`***, `vhost@0.10 .0`,
`vhost-user-backend@0.13 .1`, `virtio-queue@0.11 .0`, `vm-memory@0.14 .0`,
`vmm-sys-util@0.12 .1`, and the latest of `vfio-bindings`, `vfio-ioctls`,
`mshv-bindings`,`mshv-ioctls`, and `vfio-user`.
* A fork of the `kvm-bindings` crate is being used to support
serialization of various structs for migration [1]. Also, code changes
are made to accommodate the updated `struct xsave` from the Linux
kernel. Note: these changes related to `struct xsave` break
live-upgrade.
** The new `kvm-ioctls` crate introduced breaking changes for
the `get/set_one_reg` API on `aarch64` [2], so code changes are made to
the new APIs.
*** A fork of the `versionize_derive` crate is being used to support
versionize on packed structs [3].
[1] https://github.com/cloud-hypervisor/kvm-bindings/tree/ch-v0.7.0
[2] https://github.com/rust-vmm/kvm-ioctls/pull/223
[3] https://github.com/cloud-hypervisor/versionize_derive/tree/ch-0.1.6
Fixes : #6072
Signed-off-by: Bo Chen <chen.bo@intel.com >
2024-01-25 10:14:54 +00:00
dependabot[bot]
6cb1d908bf
build: Bump serde_json from 1.0.110 to 1.0.111 in /fuzz
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.110 to 1.0.111.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.110...v1.0.111 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-24 23:20:37 +00:00
Muminul Islam
51ebc3ac92
vmm: set SEV control register for SEV-Enabled guest
...
Set the SEV control register so we know where to
start running. This register configures the
SEV feature control state on a virtual processor.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
Signed-off-by: Muminul Islam <muislam@microsoft.com >
2024-01-24 14:32:16 -08:00
Muminul Islam
5368ff28da
hypervisor: Add api to set sev control register
...
This register configures the SEV feature control
state on a virtual processor.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
Signed-off-by: Muminul Islam <muislam@microsoft.com >
2024-01-24 14:32:16 -08:00
Rob Bradford
3993663e5c
hypervisor: kvm: Import TDX vmcall structure
...
Consistent with the other data structures and constants used in TDX
support code import the necessary structures from the kernel for
accessing the vmcall structure.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-01-24 11:02:05 -08:00
dependabot[bot]
2c9cf8d8af
build: Bump proc-macro2 from 1.0.70 to 1.0.78
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.70 to 1.0.78.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.70...1.0.78 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-24 13:44:45 +00:00
dependabot[bot]
b4eb2af1c6
build: Bump anstream from 0.6.8 to 0.6.11 in /fuzz
...
Bumps [anstream](https://github.com/rust-cli/anstyle ) from 0.6.8 to 0.6.11.
- [Commits](https://github.com/rust-cli/anstyle/compare/anstream-v0.6.8...anstream-v0.6.11 )
---
updated-dependencies:
- dependency-name: anstream
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-23 23:57:33 +00:00
Alyssa Ross
7674196113
vmm: remove Default impls for config
...
These Default implementations either don't produce valid configs, are
no longer used outside of tests, or both.
For the tests, we can define our own local "default" values that make
the most sense for the tests, without worrying about what's
a (somewhat) sensible "global" default value.
Signed-off-by: Alyssa Ross <hi@alyssa.is >
2024-01-23 12:44:44 +00:00
dependabot[bot]
c71cb00a5a
build: Bump anyhow from 1.0.75 to 1.0.79
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.75 to 1.0.79.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.79 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-23 12:44:21 +00:00
Ravi kumar Veeramally
895dc12a74
vmm: Replace Debug with Display rendering in HTTP error message
...
Bumping anyhow crate from 1.0.75 to 1.0.79 will cause seccomp
failures through integration tests. Newly added backtrace support
relies on readlink and many other syscalls.
Issue noticed with test_api_http_pause_resume test, where second time
of VM PAUSE or VM RESUME prints error and causes panic.
Noticed that panic message in a thread which is not allowed to write
output triggered the issue.
So implementing Display trait for HttpError and ApiError enums to avoid
adding many syscalls to seccomp filter section.
Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com >
2024-01-23 12:44:21 +00:00
dependabot[bot]
9cb996db09
build: Bump clap from 4.4.12 to 4.4.18 in /fuzz
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.12 to 4.4.18.
- [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.4.12...v4.4.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-22 23:38:27 +00:00
dependabot[bot]
90245be978
build: Bump anstyle-wincon from 3.0.1 to 3.0.2
...
Bumps [anstyle-wincon](https://github.com/rust-cli/anstyle ) from 3.0.1 to 3.0.2.
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.1...anstyle-wincon-v3.0.2 )
---
updated-dependencies:
- dependency-name: anstyle-wincon
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-20 01:11:15 +00:00
dependabot[bot]
15e2218c25
build: Bump uuid from 1.6.1 to 1.7.0 in /fuzz
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.6.1...1.7.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-19 23:13:28 +00:00
Sean Banko
e33279471f
vmm: support setting cpu affinity with host cpu indices >255
...
On hosts with >256 cpus, setting the cpu affinity to a host cpu index
>255 will return an error because type of `host_cpu` is `u8`.
This commit changes the type of `host_cpu` to `usize` to remove this
limitation.
Signed-off-by: Sean Banko <sbanko@crusoeenergy.com >
2024-01-19 09:30:16 +00:00
dependabot[bot]
993a8324e2
build: Bump serde from 1.0.194 to 1.0.195 in /fuzz
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.194 to 1.0.195.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.194...v1.0.195 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-19 00:04:00 +00:00
Thomas Barrett
76dbe660f5
scripts: create download_ovmf helper function
...
Move the duplicated logic to download OVMF into a helper function.
Explicitly specify the OVMF_FW_TAG instead of downloading the latest
so that new OVMF versions can be easily tested.
Signed-off-by: Thomas Barrett <tbarrett@crusoeenergy.com >
2024-01-18 14:02:02 -08:00
Wei Liu
e61c6a1382
gitignore: ignore vendor directory
...
This is the default output directory for `cargo vendor`.
Signed-off-by: Wei Liu <liuwe@microsoft.com >
2024-01-18 14:00:37 -08:00
Alyssa Ross
4ae5503b58
vmm: remove redundant tests
...
These are all duplicates.
Signed-off-by: Alyssa Ross <hi@alyssa.is >
2024-01-18 15:03:24 +00:00
dependabot[bot]
7ae46e9b61
build: Bump anstream from 0.6.5 to 0.6.8 in /fuzz
...
Bumps [anstream](https://github.com/rust-cli/anstyle ) from 0.6.5 to 0.6.8.
- [Commits](https://github.com/rust-cli/anstyle/compare/anstream-v0.6.5...anstream-v0.6.8 )
---
updated-dependencies:
- dependency-name: anstream
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-18 14:54:08 +00:00
Ravi kumar Veeramally
33a05c7247
docs: Update vhost-user-net-testing instructions
...
Testing instructions are very old and type=dpdkvhostuser is
deprecated from DPDK.
logs from /var/log/openvswitch/ovs-vswitchd.log
|netdev_dpdk|WARN|dpdkvhostuser ports are considered deprecated;
please migrate to dpdkvhostuserclient ports
Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com >
2024-01-17 09:06:11 -08:00
Daniel Farina
9b67bc5fe5
docs: update kernel pre-requisite information for iommu
...
Linux 5.14 merged x86 support. See
https://lore.kernel.org/lkml/YN7IDbKZFQnYFCNq@8bytes.org/
Signed-off-by: Daniel Farina <daniel@ubicloud.com >
2024-01-17 10:20:20 +00:00
Alyssa Ross
4ca18c082e
vmm: use trait objects for API actions
...
Uses of the old ApiRequest enum conflated two different concerns:
identifying an API request endpoint, and storing data for an API
request. This led to ApiRequest values being passed around with junk
data just to communicate a request type, which forced all API request
body types to implement Default, which in some cases doesn't make any
sense — what's the "default" path for a vhost-user socket? The
nonsensical Default values have led to tests relying on being able to
use nonsensical data, which is an impediment to adding better
validation for these types.
Rather than having API request types be represented by an enum, which
has to carry associated body data everywhere it's used, it makes more
sense to represent API request types as trait objects. These can have
an associated type for the type of the request body, and this makes it
possible to pass API request types and data around as siblings in a
type-safe way without forcing them into a single value even where it
doesn't make sense. Trait objects also give us dynamic dispatch,
which lets us get rid of several large match blocks.
To keep it possible to fuzz the HTTP API, all the Vmm methods called
by the HTTP API are pulled out into a trait, so the fuzzer can provide
its own stub implementation of the VMM.
Signed-off-by: Alyssa Ross <hi@alyssa.is >
2024-01-17 10:20:02 +00:00
dependabot[bot]
6aa7afbb6f
build: Bump futures-sink from 0.3.29 to 0.3.30 in /fuzz
...
Bumps [futures-sink](https://github.com/rust-lang/futures-rs ) from 0.3.29 to 0.3.30.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30 )
---
updated-dependencies:
- dependency-name: futures-sink
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-16 16:37:25 -08:00
Rob Bradford
d3bc877a07
build: Re-enable test_vfio on AMD workers
...
With the change in 7bc764d to expose the SVM bit for nested
virtualisation test_vfio can be re-enabled on the AMD workers.
Fixes : #5895
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-01-16 11:07:33 -08:00