dependabot[bot]
1b816a358d
build: Bump clap_lex from 0.7.0 to 0.7.2
...
Bumps [clap_lex](https://github.com/clap-rs/clap ) from 0.7.0 to 0.7.2.
- [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_lex-v0.7.0...clap_lex-v0.7.2 )
---
updated-dependencies:
- dependency-name: clap_lex
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-11 00:40:38 +00:00
dependabot[bot]
f79ebd2afc
build: Bump anyhow from 1.0.86 to 1.0.87 in /fuzz
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.87 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-10 00:05:58 +00:00
dependabot[bot]
4e64df1005
build: Bump anyhow from 1.0.86 to 1.0.87
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.87 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-10 00:03:10 +00:00
Bo Chen
37756c5d32
build: Update kvm-bindings related dependencies
...
Particularly update kvm-bindings, kvm-ioctls, vfio-bindings,
and vfio-ioctls.
Signed-off-by: Bo Chen <chen.bo@intel.com >
2024-09-09 21:01:21 +00:00
dependabot[bot]
d20cff95e1
build: Bump gdbstub from 0.7.1 to 0.7.2 in /fuzz
...
Bumps [gdbstub](https://github.com/daniel5151/gdbstub ) from 0.7.1 to 0.7.2.
- [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.1...0.7.2 )
---
updated-dependencies:
- dependency-name: gdbstub
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-09 19:02:46 +00:00
Rob Bradford
a10e9e6cd5
build: Use binary kernel artifacts
...
The Linux kernel fork repository for Cloud Hypervisor now produces
prebuilt x86-64 and aarch64 binaries. Speed up the CI by using those
binaries.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-09-09 13:09:10 +00:00
Rob Bradford
e47677020e
vmm: Avoid clippy bool simplification warning
...
Clippy misidentifies this code as having a boolean expression that can
be simplified:
error: this boolean expression can be simplified
Error: --> vmm/src/cpu.rs:425:13
|
425 | is_aarch64_feature_detected!("sve") || is_aarch64_feature_detected!("sve2");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
= note: `-D clippy::nonminimal-bool` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::nonminimal_bool)]`
help: try
|
425 | !(!cfg!(target_feature = $target_feature_lit) && !$crate::detect::__is_feature_detected::$feature() && !$crate::detect::__is_feature_detected::$feature());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
425 | is_aarch64_feature_detected!("sve") || is_aarch64_feature_detected!("sve") || is_aarch64_feature_detected!("sve2");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-09-07 09:40:20 +00:00
Bo Chen
60c8a72e29
misc: Fix various warnings from clippy 0.1.82
...
An example warning output is:
error: first doc comment paragraph is too long
--> virtio-devices/src/lib.rs:158:1
|
158 | / /// Convert an absolute address into an address space (GuestMemory)
159 | | /// to a host pointer and verify that the provided size define a valid
160 | | /// range within a single memory region.
161 | | /// Return None if it is out of bounds or if addr+size overlaps a single region.
| |_
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
= note: `-D clippy::too-long-first-doc-paragraph` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::too_long_first_doc_paragraph)]`
Signed-off-by: Bo Chen <chen.bo@intel.com >
2024-09-07 09:40:20 +00:00
dependabot[bot]
349f5fdd4e
build: Bump async-lock from 3.3.0 to 3.4.0
...
Bumps [async-lock](https://github.com/smol-rs/async-lock ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/smol-rs/async-lock/releases )
- [Changelog](https://github.com/smol-rs/async-lock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-lock/compare/v3.3.0...v3.4.0 )
---
updated-dependencies:
- dependency-name: async-lock
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-07 00:28:19 +00:00
Jinank Jain
60aed1bd81
vmm: Fix seccomp violation while injecting NMI
...
... in case of guest running on Microsoft Hypervisor.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-09-06 18:51:26 +00:00
dependabot[bot]
68468b8519
build: Bump libc from 0.2.155 to 0.2.158
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.155 to 0.2.158.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.158 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-06 00:04:34 +00:00
dependabot[bot]
e508d2a3cd
build: Bump anstyle-query from 1.0.2 to 1.1.1
...
Bumps [anstyle-query](https://github.com/rust-cli/anstyle ) from 1.0.2 to 1.1.1.
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.0.2...anstyle-query-v1.1.1 )
---
updated-dependencies:
- dependency-name: anstyle-query
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-04 23:58:40 +00:00
Jinank Jain
bbd72d6453
vm-virtio: Gain access to virtqueue before accessing them
...
In case of SEV-SNP guests on MSHV, any host component including VMM
trying to access any guest memory region, needs to call gain_access API
to acquire access to that particular memory region. This applies to all
the virtqueue buffers as well which the VMM is using to use to perform
DMA into the guest and in order to facilitate device emulation.
While creating various virtqueues we are already using access platform
hook to translate the addresses but currently we are missing the size
arguments which would be required by the SevSnpAccessPlatformProxy to
gain access to the memory of these queues.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-09-04 17:33:37 +00:00
Jinank Jain
8e5c7a37b9
vm-virtio: Add helper function to get size of virtqueue segments
...
This would be used in case of SEV-SNP guest because we need to accquire
access to these virtqueue segments before accessing them.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-09-04 17:33:37 +00:00
dependabot[bot]
8fb8da8eb1
build: Bump micro_http from ef43cef to 8182cd5 in /fuzz
...
Bumps [micro_http](https://github.com/firecracker-microvm/micro-http ) from `ef43cef` to `8182cd5`.
- [Commits](ef43cef716...8182cd5523 )
---
updated-dependencies:
- dependency-name: micro_http
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-04 08:18:39 +00:00
dependabot[bot]
139802829a
build: Bump redox_users from 0.4.5 to 0.4.6
...
Bumps redox_users from 0.4.5 to 0.4.6.
---
updated-dependencies:
- dependency-name: redox_users
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-04 08:18:31 +00:00
Wenyu Huang
d2a364c5c0
vmm: Add support for enabling SVE in vm guests
...
This change enables SVE automatically if the host support SVE/SVE2.
Signed-off-by: Wenyu Huang <huangwenyuu@outlook.com >
2024-09-04 08:33:37 +01:00
Jinank Jain
2049b2c377
fuzz: Fix rustfmt warning
...
Imports were not sorted lexicographically, thus causing rustfmt warning.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-09-02 14:22:22 +00:00
Alyssa Ross
4bfeba967b
vmm: fix console resizing
...
DeviceManager::add_virtio_console_device used to create the console
resize pipe and assign it to self.console_resize_pipe, but when this
was changed to use console_info, that was deleted without replacement.
This meant that, even though the console resize pipe was created by
pre_create_console_devices, the DeviceManager never found out about
it, so console resize didn't work (at least for pty consoles).
To fix this, the console resize pipe needs to be passed to the Vm
initializer, which is already supported, it was just previously not
used for new VMs.
Since DeviceManager already stores the console resize pipe in an Arc,
and Vmm also needs a copy of it, the sensible thing to do is change
DeviceManager::new to take Arc, and then we don't need to dup the file
descriptor, which could fail.
Fixes: 52eebaf6 ("vmm: refactor DeviceManager to use console_info")
Signed-off-by: Alyssa Ross <hi@alyssa.is >
2024-08-31 20:55:33 +00:00
wuxinyue
6956306604
virtio-devices: block: Reduce notification latency when rate limited
...
When the rate limit was reached it was possible for the notification to
the guest to be lost since the logic to handle the notification was
tightly coupled with processing the queue. The notification would
eventually be triggered when the rate limit pool was refilled but this
could add significant latency.
Address this by refactoring the code to separate processing queue and
signalling - the processing of the queue is suspended when the rate
limit is reached but the signalling will still be attempted if needed
(i.e. VIRTIO_F_EVENT_IDX is still considered.)
Signed-off-by: wuxinyue <wuxinyue.wxy@antgroup.com >
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-08-31 20:54:13 +00:00
dependabot[bot]
a79a3f6599
build: Bump env_filter from 0.1.0 to 0.1.2
...
Bumps [env_filter](https://github.com/rust-cli/env_logger ) from 0.1.0 to 0.1.2.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/env_filter-v0.1.0...env_filter-v0.1.2 )
---
updated-dependencies:
- dependency-name: env_filter
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-31 00:24:05 +00:00
dependabot[bot]
3dc0f9cfec
build: Bump indexmap from 2.4.0 to 2.5.0 in /fuzz
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.4.0 to 2.5.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.4.0...2.5.0 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-31 00:21:50 +00:00
Tom Dohrmann
8fd0310db9
hypervisor: mshv: implement extended guest requests with empty certs
...
Previously we didn't handle extended guest requests at all and always
returned an error. This lead to issues with some guests that expected
extended requests to succeed. Instead, handle extended requests like
normal requests and write zeros to the extended area to signal to the
guest that we don't want to supply any additional certificate data.
Signed-off-by: Tom Dohrmann <erbse.13@gmx.de >
2024-08-30 18:36:54 +00:00
Tom Dohrmann
486c61da5e
hypervisor: mshv: add helpers for reading and writing guest memory
...
Signed-off-by: Tom Dohrmann <erbse.13@gmx.de >
2024-08-30 18:36:54 +00:00
Jinank Jain
c93e1aa12e
hypervisor: Remove unnecessary redefinition of kvm_regs as StandardRegs
...
In case of ARM64 kvm_regs are considered as StandardRegister which is no
longer required since we have defined architecture independent
StandardRegisters in hypervisor crate.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-08-30 17:04:37 +00:00
Jinank Jain
ba262e45a4
hypervisor: vmm: Switch to common StandardRegisters implementation
...
Use the StandardRegisters defined in the hypervisor crate instead of
re-defining it from MSHV/KVM crate.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-08-30 17:04:37 +00:00
Jinank Jain
a987c3d0fc
hypervisor: Define helper function for setting ARM64 KVM regs
...
This change is along the lines of x86 platform which defined similar
convinence macros to access the StandardRegisters.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-08-30 17:04:37 +00:00
Jinank Jain
cd0cdac0ed
virtio-devices: Fix seccomp rules for SevSnp guest
...
With commit 1e967697c ("vmm: pass AccessPlatform implementation for
SEV-SNP guest"), we started performing one additional ioctl to gain
access to the guest memory before accessing those regions inside
virtio-device emulation code path. This additional ioctl is not part of
the current seccomp filter, which is causing the SevSnp guest to crash
in this scenario with seccomp violation.
Fixes: 1e967697c ("vmm: pass AccessPlatform implementation for SEV-SNP
guest")
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-08-30 16:55:53 +00:00
dependabot[bot]
a4cf175b8e
build: Bump indexmap from 2.3.0 to 2.4.0 in /fuzz
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.3.0 to 2.4.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.3.0...2.4.0 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-30 16:53:30 +00:00
dependabot[bot]
c5e5cd22db
build: Bump proc-macro2 from 1.0.85 to 1.0.86
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.85...1.0.86 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-30 00:17:48 +00:00
dependabot[bot]
b256623d08
build: Bump xdg-home from 1.1.0 to 1.2.0
...
Bumps [xdg-home](https://github.com/zeenix/xdg-home ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/zeenix/xdg-home/releases )
- [Commits](https://github.com/zeenix/xdg-home/compare/1.1.0...1.2.0 )
---
updated-dependencies:
- dependency-name: xdg-home
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 00:33:42 +00:00
dependabot[bot]
0a5e024765
build: Bump crc32fast from 1.4.0 to 1.4.2
...
Bumps [crc32fast](https://github.com/srijs/rust-crc32fast ) from 1.4.0 to 1.4.2.
- [Commits](https://github.com/srijs/rust-crc32fast/compare/v1.4.0...v1.4.2 )
---
updated-dependencies:
- dependency-name: crc32fast
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-28 00:12:45 +00:00
Wenyu Huang
4299815a67
vmm: allow to call fcntl in debug
...
This fixes a issue of running vm compiled in debug with Rust
1.80.0 or later, where this check was introduced.
Signed-off-by: Wenyu Huang <huangwenyuu@outlook.com >
2024-08-27 18:13:21 +00:00
Anirudh Rayabharam
f63c2d896f
hypervisor: mshv: implement get_guest_debug_hw_bps
...
Implement get_guest_debug_hw_bps() for mshv and simply return 0 for now.
This unblocks the usage of the crashdump feature with mshv. If left
unimplemented, Cloud Hypervisor built with mshv and guest_debug features
crashes immediately upon start due to unimplemented!() macro.
Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com >
2024-08-27 16:11:52 +00:00
dependabot[bot]
c3a83d2b6a
build: Bump anstream from 0.6.14 to 0.6.15
...
Bumps [anstream](https://github.com/rust-cli/anstyle ) from 0.6.14 to 0.6.15.
- [Commits](https://github.com/rust-cli/anstyle/compare/anstream-v0.6.14...anstream-v0.6.15 )
---
updated-dependencies:
- dependency-name: anstream
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-27 00:38:52 +00:00
dependabot[bot]
8c146db313
build: Bump piper from 0.2.3 to 0.2.4
...
Bumps [piper](https://github.com/smol-rs/piper ) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/smol-rs/piper/releases )
- [Changelog](https://github.com/smol-rs/piper/blob/main/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/piper/compare/v0.2.3...v0.2.4 )
---
updated-dependencies:
- dependency-name: piper
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-24 00:23:06 +00:00
dependabot[bot]
3c4be55b3b
build: Bump wasm-bindgen from 0.2.92 to 0.2.93 in /fuzz
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.92 to 0.2.93.
- [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.92...0.2.93 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-23 08:58:18 +00:00
dependabot[bot]
a43d46edb0
build: Bump utf8parse from 0.2.1 to 0.2.2
...
Bumps [utf8parse](https://github.com/alacritty/vte ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/alacritty/vte/releases )
- [Changelog](https://github.com/alacritty/vte/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alacritty/vte/compare/utf8parse_v0.2.1...utf8parse_v0.2.2 )
---
updated-dependencies:
- dependency-name: utf8parse
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-23 00:01:36 +00:00
Tom Dohrmann
ca88d4449e
hypervisor: mshv: Fix panic when rejecting extended guest report
...
swei2_rw_gpa_arg.data is an array of size 16 and value.to_le_bytes() is
only 8 bytes.
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com >
Signed-off-by: Tom Dohrmann <erbse.13@gmx.de >
2024-08-22 18:13:50 +00:00
Rob Bradford
ce49a6f4b8
github: Disable ARM64 worker
...
This machine is no longer available.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-08-22 11:13:14 -07:00
dependabot[bot]
7f99ef2a92
build: Bump anstyle from 1.0.7 to 1.0.8
...
Bumps [anstyle](https://github.com/rust-cli/anstyle ) from 1.0.7 to 1.0.8.
- [Commits](https://github.com/rust-cli/anstyle/compare/v1.0.7...v1.0.8 )
---
updated-dependencies:
- dependency-name: anstyle
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-22 14:58:28 +00:00
dependabot[bot]
3c9f2f6914
build: Bump serde_json from 1.0.120 to 1.0.125 in /fuzz
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.120 to 1.0.125.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.120...1.0.125 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-22 14:58:28 +00:00
dependabot[bot]
5f814308d6
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 >
2024-08-20 00:02:25 +00:00
dependabot[bot]
5b58854ae9
build: Bump serde_derive from 1.0.203 to 1.0.208 in /fuzz
...
Bumps [serde_derive](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_derive
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-19 23:53:22 +00:00
Jinank Jain
4c99aea6c4
hypervisor: Switch to use the new StandardRegisters
...
With this we are removing the CloudHypervisor definition of
StandardRegisters instead using an enum which contains different
variants of StandardRegisters coming from their bindigs crate.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-08-19 21:41:22 +00:00
Jinank Jain
8f3bd4d9ec
hypervisor: Implement getter/setter for StandardRegisters
...
This would be used to abstract away differences in KVM/MSHV
representation of StandardRegisters.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-08-19 21:41:22 +00:00
Jinank Jain
feb0a36067
hypervisor: Implement StandardRegisters as union of KVM & MSHV
...
Currently we are redefining StandardRegisters instead of using the ones
coming from bindings. With this we can remove the unnecessary
construction of global structure which contains fields from different
hypervisor dependent structs.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-08-19 21:41:22 +00:00
Jinank Jain
3645654c39
hypervisor: Add an API to create default StandardRegisters
...
This will be used to create StandardRegisters for a given vcpu in
future.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2024-08-19 21:41:22 +00:00
dependabot[bot]
a229afbc24
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 >
2024-08-17 00:02:04 +00:00
dependabot[bot]
fd561f4034
build: Bump anstyle-parse from 0.2.4 to 0.2.5 in /fuzz
...
Bumps [anstyle-parse](https://github.com/rust-cli/anstyle ) from 0.2.4 to 0.2.5.
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-parse-v0.2.4...anstyle-parse-v0.2.5 )
---
updated-dependencies:
- dependency-name: anstyle-parse
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-16 23:51:24 +00:00