History log of /cloud-hypervisor/hypervisor/src/ (Results 376 – 400 of 516)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a335cbb819-May-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: Unconditional build Hypervisor::create_vm_with_type()

Mark it as unreachable for now in the default implementation as this is
currently only used on tdx code path which is KVM only.

Si

hypervisor: Unconditional build Hypervisor::create_vm_with_type()

Mark it as unreachable for now in the default implementation as this is
currently only used on tdx code path which is KVM only.

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

show more ...

0cf9218d19-May-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor, vmm: Add default Hypervisor::check_required_extensions()

This allows the removal of KVM specific compile time checks on this
function.

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

hypervisor, vmm: Add default Hypervisor::check_required_extensions()

This allows the removal of KVM specific compile time checks on this
function.

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

show more ...

2439625719-May-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: Cleanup unused Hypervisor trait members

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

496ceed111-May-2021 Rob Bradford <robert.bradford@intel.com>

misc: Remove unnecessary "extern crate"

Now all crates use edition = "2018" then the majority of the "extern
crate" statements can be removed. Only those for importing macros need
to remain.

Signed

misc: Remove unnecessary "extern crate"

Now all crates use edition = "2018" then the majority of the "extern
crate" statements can be removed. Only those for importing macros need
to remain.

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

show more ...


/cloud-hypervisor/.github/workflows/quality-aarch64.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/arch/src/x86_64/interrupts.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/arch/src/x86_64/mptable.rs
/cloud-hypervisor/arch/src/x86_64/regs.rs
/cloud-hypervisor/arch/src/x86_64/smbios.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/block_util/src/lib.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/gpio_pl061.rs
/cloud-hypervisor/devices/src/legacy/serial.rs
/cloud-hypervisor/devices/src/legacy/uart_pl011.rs
/cloud-hypervisor/devices/src/lib.rs
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
arch/emulator/mod.rs
arch/x86/emulator/instructions/cmp.rs
arch/x86/emulator/instructions/mod.rs
arch/x86/emulator/instructions/mov.rs
arch/x86/emulator/instructions/movs.rs
arch/x86/emulator/mod.rs
lib.rs
/cloud-hypervisor/net_gen/Cargo.toml
/cloud-hypervisor/net_gen/src/if_tun.rs
/cloud-hypervisor/net_gen/src/iff.rs
/cloud-hypervisor/net_gen/src/inn.rs
/cloud-hypervisor/net_gen/src/sockios.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/lib.rs
/cloud-hypervisor/net_util/src/mac.rs
/cloud-hypervisor/net_util/src/open_tap.rs
/cloud-hypervisor/net_util/src/tap.rs
/cloud-hypervisor/pci/src/lib.rs
/cloud-hypervisor/pci/src/msi.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/vhost_user_net/src/lib.rs
/cloud-hypervisor/vhost_user_net/src/main.rs
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/balloon.rs
/cloud-hypervisor/virtio-devices/src/block.rs
/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/lib.rs
/cloud-hypervisor/virtio-devices/src/mem.rs
/cloud-hypervisor/virtio-devices/src/net.rs
/cloud-hypervisor/virtio-devices/src/net_util.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/vhost_user/fs.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/mod.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/net.rs
/cloud-hypervisor/virtio-devices/src/vsock/csm/connection.rs
/cloud-hypervisor/virtio-devices/src/vsock/csm/txbuf.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vm-allocator/src/lib.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/src/queue.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/api/mod.rs
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/cpu.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/vm.rs
28f383ba06-May-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: aarch64: Safer calculation of offset_of

Use a safer method for calculating struct member offsets.

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


/cloud-hypervisor/.github/ISSUE_TEMPLATE/bug_report.md
/cloud-hypervisor/.github/dependabot.yml
/cloud-hypervisor/.github/workflows/quality-aarch64.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/src/aml.rs
/cloud-hypervisor/api_client/src/lib.rs
/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/gic/gicv3_its.rs
/cloud-hypervisor/arch/src/aarch64/gic/mod.rs
/cloud-hypervisor/arch/src/aarch64/layout.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/arch/src/x86_64/mpspec.rs
/cloud-hypervisor/arch/src/x86_64/mptable.rs
/cloud-hypervisor/arch/src/x86_64/regs.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/block_util/src/lib.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/ioapic.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/device_model.md
/cloud-hypervisor/docs/fs.md
/cloud-hypervisor/docs/intel_sgx.md
/cloud-hypervisor/docs/io_throttling.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/networking.md
/cloud-hypervisor/docs/snapshot_restore.md
/cloud-hypervisor/docs/vfio.md
/cloud-hypervisor/docs/vhost-user-blk-testing.md
/cloud-hypervisor/docs/vhost-user-net-testing.md
/cloud-hypervisor/docs/windows.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
kvm/aarch64/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/lib.rs
/cloud-hypervisor/net_util/src/open_tap.rs
/cloud-hypervisor/net_util/src/queue_pair.rs
/cloud-hypervisor/net_util/src/tap.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/configuration.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/rate_limiter/src/lib.rs
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/resources/linux-config-aarch64
/cloud-hypervisor/resources/linux-config-x86_64
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_vfio.sh
/cloud-hypervisor/scripts/run_integration_tests_windows.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/cloud-hypervisor/scripts/sha1sums-x86_64
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/ubuntu/user-data
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vhost_user_backend/Cargo.toml
/cloud-hypervisor/vhost_user_backend/src/lib.rs
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/cloud-hypervisor/vhost_user_net/src/lib.rs
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/block.rs
/cloud-hypervisor/virtio-devices/src/console.rs
/cloud-hypervisor/virtio-devices/src/iommu.rs
/cloud-hypervisor/virtio-devices/src/lib.rs
/cloud-hypervisor/virtio-devices/src/net.rs
/cloud-hypervisor/virtio-devices/src/net_util.rs
/cloud-hypervisor/virtio-devices/src/pmem.rs
/cloud-hypervisor/virtio-devices/src/rng.rs
/cloud-hypervisor/virtio-devices/src/seccomp_filters.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/vhost_user/fs.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/mod.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/net.rs
/cloud-hypervisor/virtio-devices/src/vsock/device.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/src/bus.rs
/cloud-hypervisor/vm-migration/src/lib.rs
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/api/http.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/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/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs
3c6dfd7725-Mar-2021 Rob Bradford <robert.bradford@intel.com>

tdx: Address Rust 1.51.0 clippy issue (upper_case_acroynms)

error: name `FinalizeTDX` contains a capitalized acronym
--> vmm/src/vm.rs:274:5
|
274 | FinalizeTDX(hypervisor::HypervisorVmEr

tdx: Address Rust 1.51.0 clippy issue (upper_case_acroynms)

error: name `FinalizeTDX` contains a capitalized acronym
--> vmm/src/vm.rs:274:5
|
274 | FinalizeTDX(hypervisor::HypervisorVmError),
| ^^^^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `FinalizeTdx`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms

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

show more ...

e294688925-Mar-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: Address Rust 1.51.0 clippy issue (from_over_into)

warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> hypervisor/sr

hypervisor: Address Rust 1.51.0 clippy issue (from_over_into)

warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
--> hypervisor/src/vm.rs:41:1
|
41 | impl Into<u64> for DataMatch {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::from_over_into)]` on by default
= help: consider to implement `From` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into

warning: 1 warning emitted

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

show more ...

0c27f69f25-Mar-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: Address Rust 1.51.0 clippy issue (upper_case_acroynms)

warning: name `TranslateGVA` contains a capitalized acronym
--> hypervisor/src/arch/emulator/mod.rs:51:5
|
51 | TranslateG

hypervisor: Address Rust 1.51.0 clippy issue (upper_case_acroynms)

warning: name `TranslateGVA` contains a capitalized acronym
--> hypervisor/src/arch/emulator/mod.rs:51:5
|
51 | TranslateGVA(#[source] anyhow::Error),
| ^^^^^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `TranslateGva`
|
= note: `#[warn(clippy::upper_case_acronyms)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms

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

show more ...


/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/src/aml.rs
/cloud-hypervisor/acpi_tables/src/rsdp.rs
/cloud-hypervisor/acpi_tables/src/sdt.rs
/cloud-hypervisor/api_client/src/lib.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/arch/src/x86_64/regs.rs
/cloud-hypervisor/block_util/src/lib.rs
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/seccomp.md
/cloud-hypervisor/fuzz/Cargo.lock
arch/emulator/mod.rs
arch/x86/emulator/instructions/cmp.rs
arch/x86/emulator/instructions/mov.rs
arch/x86/emulator/instructions/movs.rs
arch/x86/emulator/mod.rs
arch/x86/mod.rs
cpu.rs
kvm/mod.rs
mshv/mod.rs
/cloud-hypervisor/net_util/src/mac.rs
/cloud-hypervisor/net_util/src/queue_pair.rs
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/test_infra/src/lib.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/virtio-devices/src/balloon.rs
/cloud-hypervisor/virtio-devices/src/block.rs
/cloud-hypervisor/virtio-devices/src/console.rs
/cloud-hypervisor/virtio-devices/src/iommu.rs
/cloud-hypervisor/virtio-devices/src/mem.rs
/cloud-hypervisor/virtio-devices/src/net.rs
/cloud-hypervisor/virtio-devices/src/pmem.rs
/cloud-hypervisor/virtio-devices/src/rng.rs
/cloud-hypervisor/virtio-devices/src/transport/pci_device.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/blk.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/fs.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/net.rs
/cloud-hypervisor/virtio-devices/src/vsock/device.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vm-virtio/src/lib.rs
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vmm/src/acpi.rs
/cloud-hypervisor/vmm/src/cpu.rs
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/interrupt.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
68401e6e10-Mar-2021 Vineeth Pillai <viremana@linux.microsoft.com>

hypervisor:mshv: Support the move of MSI routing to kernel

Signed-off-by: Vineeth Pillai <viremana@linux.microsoft.com>

7fad74cb10-Mar-2021 Vineeth Pillai <viremana@linux.microsoft.com>

hypervisor: refactor vec_with_array_field function

refactor vec_with_array_field to common hypervisor code
so that mshv can also make use of it.

Signed-off-by: Vineeth Pillai <viremana@linux.micros

hypervisor: refactor vec_with_array_field function

refactor vec_with_array_field to common hypervisor code
so that mshv can also make use of it.

Signed-off-by: Vineeth Pillai <viremana@linux.microsoft.com>

show more ...

d370ea5822-Mar-2021 Sebastien Boeuf <sebastien.boeuf@intel.com>

deps: bump iced-x86 from 1.10.3 to 1.11.0

Bumps iced-x86 from 1.10.3 to 1.11.0.

Manual update of the code was needed since memory_displacement() was
deprecated and replaced with either memory_displ

deps: bump iced-x86 from 1.10.3 to 1.11.0

Bumps iced-x86 from 1.10.3 to 1.11.0.

Manual update of the code was needed since memory_displacement() was
deprecated and replaced with either memory_displacement32() or
memory_displacement64().

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

show more ...


/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/layout.rs
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/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/uart_pl011.rs
/cloud-hypervisor/devices/src/lib.rs
/cloud-hypervisor/docs/device_model.md
/cloud-hypervisor/docs/virtiofs-root.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
arch/x86/emulator/instructions/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/resources/linux-config-aarch64
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_integration_tests_vfio.sh
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/tests/test_infra/mod.rs
/cloud-hypervisor/vhost_user_backend/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/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/transport/pci_device.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-virtio/src/lib.rs
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/api/http.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/vm.rs
afc8358214-Mar-2021 Michael Zhao <michael.zhao@arm.com>

aarch64: Enable IRQ routing for legacy devices

On AArch64, interrupt controller (GIC) is emulated by KVM. VMM need to
set IRQ routing for devices, including legacy ones.

Before this commit, IRQ rou

aarch64: Enable IRQ routing for legacy devices

On AArch64, interrupt controller (GIC) is emulated by KVM. VMM need to
set IRQ routing for devices, including legacy ones.

Before this commit, IRQ routing was only set for MSI. Legacy routing
entries of type KVM_IRQ_ROUTING_IRQCHIP were missing. That is way legacy
devices (like serial device ttyS0) does not work.

The setting of X86 IRQ routing entries are not impacted.

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

show more ...


/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/layout.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/docs/io_throttling.md
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
kvm/mod.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/scripts/run_integration_tests_windows.sh
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/vhost_user_backend/src/lib.rs
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/vhost_user_net/src/lib.rs
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/block.rs
/cloud-hypervisor/virtio-devices/src/device.rs
/cloud-hypervisor/virtio-devices/src/lib.rs
/cloud-hypervisor/virtio-devices/src/rate_limiter.rs
/cloud-hypervisor/virtio-devices/src/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/blk.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/fs.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/mod.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/net.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/vu_common_ctrl.rs
/cloud-hypervisor/vm-allocator/src/system.rs
/cloud-hypervisor/vm-device/src/interrupt/mod.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/api/openapi/cloud-hypervisor.yaml
/cloud-hypervisor/vmm/src/config.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
1c54fc3a23-Feb-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: Support creating a VM of a specified KVM type

This is necessary to support creating a TD VM.

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

f282cc0012-Feb-2021 Rob Bradford <robert.bradford@intel.com>

tdx: Add abstraction to call TDX ioctls to hypervisor

Add API to the hypervisor interface and implement for KVM to allow the
special TDX KVM ioctls on the VM and vCPU FDs.

Signed-off-by: Rob Bradfo

tdx: Add abstraction to call TDX ioctls to hypervisor

Add API to the hypervisor interface and implement for KVM to allow the
special TDX KVM ioctls on the VM and vCPU FDs.

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

show more ...

7456553801-Mar-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: mshv: hook up TranslateGVA hypercall

At this stage this is the bare minimum needed to make Windows server
2019 work on MSHV.

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

030a86db01-Mar-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: mshv: simplify GVA to GPA cache

So far we've only had the need to emulate one instruction. There is no
need to use a HashMap when a simple tuple for the initial mapping will
do.

We can

hypervisor: mshv: simplify GVA to GPA cache

So far we've only had the need to emulate one instruction. There is no
need to use a HashMap when a simple tuple for the initial mapping will
do.

We can bring back the HashMap once more sophisticated use cases surface.

No functional change.

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

show more ...

3eb5b67d01-Mar-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: mshv: make SoftTLB part of MshvEmulatorContext

This avoids code complexity down the line when we get around
implementing Windows support.

No functional change.

Signed-off-by: Wei Liu <

hypervisor: mshv: make SoftTLB part of MshvEmulatorContext

This avoids code complexity down the line when we get around
implementing Windows support.

No functional change.

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

show more ...

f8875ace25-Feb-2021 Rob Bradford <robert.bradford@intel.com>

misc: Bulk upgrade dependencies

In particular update for the vmm-sys-util upgrade and all the other
dependent packages. This requires an updated forked version of
kvm-bindings (due to updated vfio-i

misc: Bulk upgrade dependencies

In particular update for the vmm-sys-util upgrade and all the other
dependent packages. This requires an updated forked version of
kvm-bindings (due to updated vfio-ioctls) but allowed the removal of our
forked version of kvm-ioctls.

The changes to the API from kvm-ioctls and vmm-sys-util required some
other minor changes to the code.

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

show more ...


/cloud-hypervisor/.github/workflows/quality-aarch64.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/x86_64/interrupts.rs
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
kvm/mod.rs
kvm/x86_64/mod.rs
mshv/mod.rs
mshv/x86_64/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/lib.rs
/cloud-hypervisor/net_util/src/mac.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/qcow/src/raw_file.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vhost_user_backend/Cargo.toml
/cloud-hypervisor/vhost_user_backend/src/lib.rs
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/cloud-hypervisor/vhost_user_net/src/lib.rs
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/iommu.rs
/cloud-hypervisor/virtio-devices/src/lib.rs
/cloud-hypervisor/virtio-devices/src/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/blk.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/fs.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/handler.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/mod.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/net.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/vu_common_ctrl.rs
/cloud-hypervisor/virtio-devices/src/vsock/packet.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/dma_mapping/mod.rs
/cloud-hypervisor/vm-device/src/dma_mapping/vfio.rs
/cloud-hypervisor/vm-device/src/lib.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/cpu.rs
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/migration.rs
49214cf022-Feb-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: emulator: fix MOVZX

According to Intel's mnemonic (which is used by iced-x86) the first
argument is destination while the second is source.

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


/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/block_util/src/vhd.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/event_monitor/src/lib.rs
/cloud-hypervisor/hypervisor/Cargo.toml
arch/x86/emulator/instructions/mov.rs
/cloud-hypervisor/net_util/src/queue_pair.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/scripts/run_integration_tests_windows.sh
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vhost_user_net/src/lib.rs
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/balloon.rs
/cloud-hypervisor/virtio-devices/src/block.rs
/cloud-hypervisor/virtio-devices/src/console.rs
/cloud-hypervisor/virtio-devices/src/iommu.rs
/cloud-hypervisor/virtio-devices/src/lib.rs
/cloud-hypervisor/virtio-devices/src/mem.rs
/cloud-hypervisor/virtio-devices/src/net.rs
/cloud-hypervisor/virtio-devices/src/pmem.rs
/cloud-hypervisor/virtio-devices/src/rng.rs
/cloud-hypervisor/virtio-devices/src/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/blk.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/fs.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/net.rs
/cloud-hypervisor/virtio-devices/src/vsock/device.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs
e22b6ec704-Jan-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: x86: emulate MOVS instruction

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

b59243f611-Jan-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: mshv: support reading and writing guest memory in emulator

We don't have an easy way to figure out if a GPA points to normal memory
or device memory, but the guest's normal memory region

hypervisor: mshv: support reading and writing guest memory in emulator

We don't have an easy way to figure out if a GPA points to normal memory
or device memory, but the guest's normal memory regions shouldn't
overlap with device regions. We can simply try to do a normal memory
read / write, and proceed to do device memory read / write if that
fails.

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

show more ...

07a09eda08-Feb-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: kvm: Remove whitespace from use statements

This allows cargo fmt to correctly order the statements.

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

29881a2d10-Dec-2020 Wei Liu <liuwe@microsoft.com>

hypervisor: mshv: explicitly skip a few IO ports

OVMF would use string IO on those ports. String IO has not been
implemented, so that leads to panics.

Skip them explicitly in MSHV. Leave a long-ish

hypervisor: mshv: explicitly skip a few IO ports

OVMF would use string IO on those ports. String IO has not been
implemented, so that leads to panics.

Skip them explicitly in MSHV. Leave a long-ish comment in code to
explain the situation. We should properly implement string IO once it
becomes feasible / necessary.

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

show more ...

a330a15615-Feb-2021 Rob Bradford <robert.bradford@intel.com>

arch, arch_gen, hypervisor: Remove some unnecessary clippy attributes

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

cf6480f015-Feb-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: mshv: drop some clippy attributes

They were used to suppress warnings during development. At this stage
they aren't needed anymore.

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

1...<<1112131415161718192021