#
4e3bc20f |
| 09-Jan-2023 |
Muminul Islam <muislam@microsoft.com> |
vmm: Ensure PIO/MMIO exits complete before pausing only for KVM
MSHV does not require to ensure MMIO/PIO exits complete before pausing. This patch makes sure the above requirement by checking the hy
vmm: Ensure PIO/MMIO exits complete before pausing only for KVM
MSHV does not require to ensure MMIO/PIO exits complete before pausing. This patch makes sure the above requirement by checking the hypervisor type run-time.
Fixes #5037
Signed-off-by: Muminul Islam <muislam@microsoft.com>
show more ...
|
#
a48d7c28 |
| 13-Dec-2022 |
Rob Bradford <robert.bradford@intel.com> |
vmm: seccomp: Remove unreachable patterns
Make HypervisorType enum's members conditional on build time features.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
|
#
4b081421 |
| 07-Dec-2022 |
Rob Bradford <robert.bradford@intel.com> |
misc: Remove #![allow(clippy::significant_drop_in_scrutinee)]
This isn't supported by clippy on Rust 1.60 but also no longer seems to be required.
Signed-off-by: Rob Bradford <robert.bradford@intel
misc: Remove #![allow(clippy::significant_drop_in_scrutinee)]
This isn't supported by clippy on Rust 1.60 but also no longer seems to be required.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
|
#
7b99bd94 |
| 20-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: suppress clippy::large_enum_variant
MSHV's vcpu state is small, but it will grow in the future.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
bb19c3d2 |
| 22-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: pick the available hypervisor automatically
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
c3ce5aa5 |
| 09-May-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: adjust new function return type
Make them return wrapped trait object directly.
No functional change.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
9fc3379e |
| 20-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: add a function to return hypervisor type
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
4a00371f |
| 20-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: drop unused modules
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
a96a5d78 |
| 21-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor, vmm: use new vfio-ioctls
Use the new vfio-ioctls APIs. Drop Cloud Hypervisor's Device trait since it is no longer needed.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
d20f647b |
| 14-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: provide a generic IrqRoutingEntry structure
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
4201bf40 |
| 14-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: provide a generic ClockData structure
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
beb4f86b |
| 14-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor, vmm: drop VmState and code
VmState was introduced to hold hypervisor specific VM state. KVM does not need it and MSHV does not really use it yet.
Just drop the code. It can be easily re
hypervisor, vmm: drop VmState and code
VmState was introduced to hold hypervisor specific VM state. KVM does not need it and MSHV does not really use it yet.
Just drop the code. It can be easily revived once there is a need.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
show more ...
|
#
72d552e5 |
| 14-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: provide a generic CpuState structure
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
dd592e86 |
| 14-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: do not export VcpuEvents
It is not used anywhere outside of the hypervisor crate.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
f9f0a60d |
| 14-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: provide a generic IoEventAddress structure
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
9810ed44 |
| 14-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: provide a generic MpState structure
It is however only used for KVM right now because MSHV does not need it yet.
Nonetheless a stub MSHV constructor should be there and get/set function
hypervisor: provide a generic MpState structure
It is however only used for KVM right now because MSHV does not need it yet.
Nonetheless a stub MSHV constructor should be there and get/set functions should be implemented for MSHV.
Signed-off-by: Wei Liu <liuwe@microsoft.com>
show more ...
|
#
4a1eab11 |
| 14-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: do not export VcpuExit
It is not used anywhere outside of the hypervisor crate.
Signed-off-by: Dev Rajput <t-devrajput@microsoft.com> Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
e1cf889d |
| 08-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: use UserMemoryRegion in the Vm trait
Signed-off-by: Dev Rajput <t-devrajput@microsoft.com> Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
fabc940b |
| 08-Jul-2022 |
Wei Liu <liuwe@microsoft.com> |
hypervisor: add UserMemoryRegion and flags
Signed-off-by: Dev Rajput <t-devrajput@microsoft.com> Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
adf58817 |
| 30-Jun-2022 |
Rob Bradford <robert.bradford@intel.com> |
build: #[allow(clippy::significant_drop_in_scrutinee) in some crates
This check is new in the beta version of clippy and exists to avoid potential deadlocks by highlighting when the test in an if or
build: #[allow(clippy::significant_drop_in_scrutinee) in some crates
This check is new in the beta version of clippy and exists to avoid potential deadlocks by highlighting when the test in an if or for loop is something that holds a lock. In many cases we would need to make significant refactorings to be able to pass this check so disable in the affected crates.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
|
#
c2862b69 |
| 29-May-2022 |
Michael Zhao <michael.zhao@arm.com> |
hypervisor: Move GitV3Its code from `arch`
Signed-off-by: Michael Zhao <michael.zhao@arm.com>
|
#
218be264 |
| 11-May-2022 |
Rob Bradford <robert.bradford@intel.com> |
hypervisor: Explicitly `pub use` at the hypervisor crate top-level
Explicitly re-export types from the hypervisor specific modules. This makes it much clearer what the common functionality that is e
hypervisor: Explicitly `pub use` at the hypervisor crate top-level
Explicitly re-export types from the hypervisor specific modules. This makes it much clearer what the common functionality that is exposed is.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
|
#
288cea91 |
| 11-May-2022 |
Rob Bradford <robert.bradford@intel.com> |
hypervisor: Make hypervisor module private
All the required functionality is already exported from the hypervisor crate so for consistency make this module private.
Signed-off-by: Rob Bradford <rob
hypervisor: Make hypervisor module private
All the required functionality is already exported from the hypervisor crate so for consistency make this module private.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
|
#
d3f66f87 |
| 11-May-2022 |
Rob Bradford <robert.bradford@intel.com> |
hypervisor: Make vm module private
And thus only export what is necessary through a `pub use`. This is consistent with some of the other modules and makes it easier to understand what the external i
hypervisor: Make vm module private
And thus only export what is necessary through a `pub use`. This is consistent with some of the other modules and makes it easier to understand what the external interface of the hypervisor crate is.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
|
#
b0077f0b |
| 30-Mar-2022 |
Sebastien Boeuf <sebastien.boeuf@intel.com> |
hypervisor: Implement retrieval of TDX capabilities
Extend the Hypervisor API in order to retrieve the TDX capabilities from the underlying hypervisor.
Signed-off-by: Sebastien Boeuf <sebastien.boe
hypervisor: Implement retrieval of TDX capabilities
Extend the Hypervisor API in order to retrieve the TDX capabilities from the underlying hypervisor.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
show more ...
|