History log of /cloud-hypervisor/hypervisor/src/ (Results 301 – 325 of 516)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e1cf889d08-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>

5894b53708-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: transform between UserMemoryRegion and hypervisor structs

Signed-off-by: Dev Rajput <t-devrajput@microsoft.com>
Signed-off-by: Wei Liu <liuwe@microsoft.com>

fabc940b08-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>

84bbaf0608-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: turn boot_msr_entries into a trait method

This allows dispatching to either KVM or MSHV automatically.

No functional change.

Signed-off-by: Wei Liu <liuwe@microsoft.com>

adf5881730-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 ...

2716bc3330-Jun-2022 Rob Bradford <robert.bradford@intel.com>

build: Fix beta clippy issue (derive_partial_eq_without_eq)

warning: you are deriving `PartialEq` and can implement `Eq`
--> vmm/src/serial_manager.rs:59:30
|
59 | #[derive(Debug, Clone, Copy,

build: Fix beta clippy issue (derive_partial_eq_without_eq)

warning: you are deriving `PartialEq` and can implement `Eq`
--> vmm/src/serial_manager.rs:59:30
|
59 | #[derive(Debug, Clone, Copy, PartialEq)]
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Signed-off-by: Rob Bradford <robert.bradford@intel.com>

show more ...

2f51452323-Jun-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: emulator: use matches!

No functional change. Just make the code a bit nicer to read.

Signed-off-by: Wei Liu <liuwe@microsoft.com>

a64bdcf320-Jun-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: drop Send+Sync bounds for PlatformEmulator

Signed-off-by: Wei Liu <liuwe@microsoft.com>

ada85f6807-Jun-2022 Jinank Jain <jinankjain@microsoft.com>

hypervisor: mshv: Override hypervisor R/W behavior for unknown MSR

By default Microsoft Hypervisor send a GP to the guest if it tries
read/write an unimplemented MSR from the hypervisor prospective.

hypervisor: mshv: Override hypervisor R/W behavior for unknown MSR

By default Microsoft Hypervisor send a GP to the guest if it tries
read/write an unimplemented MSR from the hypervisor prospective. Instead
change this behavior to ignore read/write operations for unimplemented
MSRs

Signed-off-by: Jinank Jain <jinankjain@microsoft.com>

show more ...

a7a15d5606-Jun-2022 Michael Zhao <michael.zhao@arm.com>

aarch64: Move `setup_regs` to `hypervisor`

`setup_regs` of AArch64 calls KVM sepecific code. Now move it to
`hypervisor` crate.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>

5d45d6d001-Jun-2022 Michael Zhao <michael.zhao@arm.com>

vmm: Move GIC unit test to `hypervisor` crate

Signed-off-by: Michael Zhao <michael.zhao@arm.com>

957d3a7401-Jun-2022 Michael Zhao <michael.zhao@arm.com>

aarch64: Simplify GIC related structs definition

Combined the `GicDevice` struct in `arch` crate and the `Gic` struct in
`devices` crate.

After moving the KVM specific code for GIC in `arch`, a ver

aarch64: Simplify GIC related structs definition

Combined the `GicDevice` struct in `arch` crate and the `Gic` struct in
`devices` crate.

After moving the KVM specific code for GIC in `arch`, a very thin wapper
layer `GicDevice` was left in `arch` crate. It is easy to combine it
with the `Gic` in `devices` crate.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>

show more ...

b8dbb26631-May-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Refactor `save_pending_tables` of Vgic

Signed-off-by: Michael Zhao <michael.zhao@arm.com>

3fe7d61a30-May-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Remove some redundant parameters

Signed-off-by: Michael Zhao <michael.zhao@arm.com>

c2862b6929-May-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Move GitV3Its code from `arch`

Signed-off-by: Michael Zhao <michael.zhao@arm.com>

03b01c0227-May-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Define `Vgic` trait

Defined `Vgic` trait as the hypervisor agnostic interface for a virtual
GIC.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.gitignore
/cloud-hypervisor/CODEOWNERS
/cloud-hypervisor/CONTRIBUTING.md
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/README.md
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/gic/mod.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/legacy/debug_port.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/vhost-user-net-testing.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/hypervisor/Cargo.toml
arch/aarch64/gic.rs
arch/aarch64/mod.rs
arch/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/tap.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/performance-metrics/src/main.rs
/cloud-hypervisor/performance-metrics/src/performance_tests.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/rpm/cloud-hypervisor.spec
/cloud-hypervisor/rpm/update_src
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/test_infra/src/lib.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vfio_user/Cargo.toml
/cloud-hypervisor/vhdx/Cargo.toml
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_net/Cargo.toml
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/transport/mod.rs
/cloud-hypervisor/virtio-devices/src/transport/pci_device.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-migration/src/lib.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/api/http.rs
/cloud-hypervisor/vmm/src/api/http_endpoint.rs
/cloud-hypervisor/vmm/src/api/mod.rs
/cloud-hypervisor/vmm/src/api/openapi/cloud-hypervisor.yaml
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/coredump.rs
/cloud-hypervisor/vmm/src/cpu.rs
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/interrupt.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/migration.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs
3a0429c917-May-2022 Maksym Pavlenko <pavlenko.maksym@gmail.com>

cargo: Clean up serde dependencies

There is no need to include serde_derive separately,
as it can be specified as serde feature instead.

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>


/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/acpi_tables/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/event_monitor/src/lib.rs
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
kvm/aarch64/mod.rs
kvm/mod.rs
kvm/x86_64/mod.rs
mshv/mod.rs
mshv/x86_64/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/performance-metrics/Cargo.toml
/cloud-hypervisor/performance-metrics/src/main.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vfio_user/Cargo.toml
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_net/Cargo.toml
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/lib.rs
/cloud-hypervisor/virtio-devices/src/transport/pci_device.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/mod.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/lib.rs
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-migration/src/lib.rs
/cloud-hypervisor/vm-migration/src/protocol.rs
/cloud-hypervisor/vm-virtio/Cargo.toml
/cloud-hypervisor/vm-virtio/src/lib.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/api/mod.rs
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/device_tree.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/vm.rs
8ab3aaee10-May-2022 Rob Bradford <robert.bradford@intel.com>

hypervisor: emulator: Remove some glob use imports

Signed-off-by: Rob Bradford <robert.bradford@intel.com>

218be26411-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 ...

4ff0686d11-May-2022 Rob Bradford <robert.bradford@intel.com>

hypervisor: mshv: Move CpuIdEntry alias into x86_64 module

This is consistent with kvm and correctly reflects the architectural
dependency.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>

288cea9111-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 ...

d3f66f8711-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 ...

3ffc105f10-May-2022 Rob Bradford <robert.bradford@intel.com>

hypervisor, vm-device: Relocate InterruptSourceConfig

Move this enum from vm-device to hypervisor crate so that hypervisor
crate does not gain an extra dependency.

Signed-off-by: Rob Bradford <robe

hypervisor, vm-device: Relocate InterruptSourceConfig

Move this enum from vm-device to hypervisor crate so that hypervisor
crate does not gain an extra dependency.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>

show more ...

3f9e8d6710-May-2022 Rob Bradford <robert.bradford@intel.com>

hypervisor: Move creation of irq routing struct to hypervisor crate

This removes the requirement to leak as many datastructures from the
hypervisor crate into the vmm crate.

Signed-off-by: Rob Brad

hypervisor: Move creation of irq routing struct to hypervisor crate

This removes the requirement to leak as many datastructures from the
hypervisor crate into the vmm crate.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>

show more ...

387d568704-May-2022 Rob Bradford <robert.bradford@intel.com>

vmm, hypervisor: Clean up nomenclature around offloading VM operations

The trait and functionality is about operations on the VM rather than
the VMM so should be named appropriately. This clashed wi

vmm, hypervisor: Clean up nomenclature around offloading VM operations

The trait and functionality is about operations on the VM rather than
the VMM so should be named appropriately. This clashed with with
existing struct for the concrete implementation that was renamed
appropriately.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/quality-aarch64.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.rustfmt.toml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/Cargo.toml
/cloud-hypervisor/api_client/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/gic/gicv3.rs
/cloud-hypervisor/arch/src/aarch64/layout.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/arch/src/aarch64/regs.rs
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/arch/src/x86_64/smbios.rs
/cloud-hypervisor/arch/src/x86_64/tdx/mod.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/block_util/src/lib.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/debug_port.rs
/cloud-hypervisor/devices/src/legacy/gpio_pl061.rs
/cloud-hypervisor/devices/src/legacy/mod.rs
/cloud-hypervisor/devices/src/legacy/rtc_pl031.rs
/cloud-hypervisor/devices/src/legacy/serial.rs
/cloud-hypervisor/devices/src/legacy/uart_pl011.rs
/cloud-hypervisor/docs/intel_tdx.md
/cloud-hypervisor/docs/io_throttling.md
/cloud-hypervisor/docs/releases.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
kvm/mod.rs
mshv/mod.rs
vm.rs
/cloud-hypervisor/net_gen/Cargo.toml
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/ctrl_queue.rs
/cloud-hypervisor/net_util/src/queue_pair.rs
/cloud-hypervisor/option_parser/Cargo.toml
/cloud-hypervisor/option_parser/src/lib.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/bus.rs
/cloud-hypervisor/pci/src/configuration.rs
/cloud-hypervisor/pci/src/device.rs
/cloud-hypervisor/pci/src/msi.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/pci/src/vfio_user.rs
/cloud-hypervisor/performance-metrics/Cargo.toml
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/rpm/cloud-hypervisor.spec
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_live_migration.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/cloud-hypervisor/scripts/run_unit_tests.sh
/cloud-hypervisor/scripts/sha1sums-aarch64
/cloud-hypervisor/scripts/sha1sums-x86_64
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/test_infra/src/lib.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vfio_user/Cargo.toml
/cloud-hypervisor/vfio_user/src/lib.rs
/cloud-hypervisor/vhdx/Cargo.toml
/cloud-hypervisor/vhdx/src/lib.rs
/cloud-hypervisor/vhdx/src/vhdx_header.rs
/cloud-hypervisor/vhdx/src/vhdx_metadata.rs
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_net/Cargo.toml
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/console.rs
/cloud-hypervisor/virtio-devices/src/device.rs
/cloud-hypervisor/virtio-devices/src/iommu.rs
/cloud-hypervisor/virtio-devices/src/mem.rs
/cloud-hypervisor/virtio-devices/src/pmem.rs
/cloud-hypervisor/virtio-devices/src/rng.rs
/cloud-hypervisor/virtio-devices/src/transport/pci_common_config.rs
/cloud-hypervisor/virtio-devices/src/transport/pci_device.rs
/cloud-hypervisor/virtio-devices/src/vdpa.rs
/cloud-hypervisor/virtio-devices/src/vsock/packet.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/interrupt/mod.rs
/cloud-hypervisor/vm-device/src/lib.rs
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-migration/src/lib.rs
/cloud-hypervisor/vm-virtio/Cargo.toml
/cloud-hypervisor/vm-virtio/src/lib.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.rs
/cloud-hypervisor/vmm/src/api/http.rs
/cloud-hypervisor/vmm/src/api/http_endpoint.rs
/cloud-hypervisor/vmm/src/api/openapi/cloud-hypervisor.yaml
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/cpu.rs
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/gdb.rs
/cloud-hypervisor/vmm/src/interrupt.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs

1...<<1112131415161718192021