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

f310dc0930-Mar-2022 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: Don't enable TDX debug

This might not be correctly supported, therefore best to keep it
disabled by default.

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


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/quality-aarch64.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/mod.rs
/cloud-hypervisor/devices/src/legacy/uart_pl011.rs
/cloud-hypervisor/devices/src/lib.rs
/cloud-hypervisor/docs/cpu.md
/cloud-hypervisor/docs/fs.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/vdpa.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
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/option_parser/src/lib.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/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/cloud-hypervisor/scripts/run_metrics.sh
/cloud-hypervisor/scripts/run_unit_tests.sh
/cloud-hypervisor/scripts/test-util.sh
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_infra/Cargo.toml
/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/vdpa.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/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-virtio/Cargo.toml
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.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/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/pci_segment.rs
/cloud-hypervisor/vmm/src/vm.rs
0c4b284819-Mar-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: mshv: fix a comment

It should have said MSHV in the comment.

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


/cloud-hypervisor/.github/dependabot.yml
/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/arch/src/x86_64/layout.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/balloon.md
/cloud-hypervisor/docs/fs.md
/cloud-hypervisor/docs/gdb.md
/cloud-hypervisor/docs/performance_metrics.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
mshv/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/ctrl_queue.rs
/cloud-hypervisor/net_util/src/lib.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/vfio_user.rs
/cloud-hypervisor/performance-metrics/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/scripts/dev_cli.sh
/cloud-hypervisor/scripts/prepare_vdpa.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_live_migration.sh
/cloud-hypervisor/scripts/run_integration_tests_sgx.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/run_metrics.sh
/cloud-hypervisor/scripts/run_unit_tests.sh
/cloud-hypervisor/scripts/test-util.sh
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_infra/Cargo.toml
/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/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/net.rs
/cloud-hypervisor/virtio-devices/src/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/transport/pci_device.rs
/cloud-hypervisor/virtio-devices/src/vdpa.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/net.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-migration/src/lib.rs
/cloud-hypervisor/vm-virtio/Cargo.toml
/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/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/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs
9f11138830-Jan-2022 Akira Moroo <retrage01@gmail.com>

hypervisor: Add `VmExit::Debug` for x86/KVM

This commit adds `VmExit::Debug` for x86/KVM. When the guest hits a
hardware breakpoint, `VcpuExit::Debug` vm exit occurs. This vm exit
will be handled wi

hypervisor: Add `VmExit::Debug` for x86/KVM

This commit adds `VmExit::Debug` for x86/KVM. When the guest hits a
hardware breakpoint, `VcpuExit::Debug` vm exit occurs. This vm exit
will be handled with code implemented in the following commits.

Signed-off-by: Akira Moroo <retrage01@gmail.com>

show more ...

9f27954f20-Feb-2022 Akira Moroo <retrage01@gmail.com>

hypervisor: Add `set_guest_debug` for x86/KVM

This commit adds `set_guest_debug` implementation for x86/KVM. This
function sets hardware breakpoints and single step to debug registers.

NOTE: The `s

hypervisor: Add `set_guest_debug` for x86/KVM

This commit adds `set_guest_debug` implementation for x86/KVM. This
function sets hardware breakpoints and single step to debug registers.

NOTE: The `set_guest_debug` implementation is based on the crosvm
implementation [1].

[1]
https://github.com/google/crosvm/blob/main/hypervisor/src/kvm/x86_64.rs

Signed-off-by: Akira Moroo <retrage01@gmail.com>

show more ...

603ca0e220-Feb-2022 Akira Moroo <retrage01@gmail.com>

hypervisor: Add `translate_gva` for x86/KVM

This commit adds `translate_gva` for x86/KVM. The same name function is
already implemented for MSHV, but the implementation differs as
KVM_TRANSLATE does

hypervisor: Add `translate_gva` for x86/KVM

This commit adds `translate_gva` for x86/KVM. The same name function is
already implemented for MSHV, but the implementation differs as
KVM_TRANSLATE does not take the flag argument and does not return status
code. This change requires the newer version of kvm-ioctls [1].

[1]
https://github.com/rust-vmm/kvm-ioctls/commit/97ff779b6ea96ae451308149b0ae38f13b271c19

Signed-off-by: Akira Moroo <retrage01@gmail.com>

show more ...

7c6bdf8819-Feb-2022 Akira Moroo <retrage01@gmail.com>

hypervisor: Remove mshv specific type from `translate_gva`

`translate_gva` returns mshv-specific type `hv_translate_gva_result`.
This return type is not a problem since this function is implemented

hypervisor: Remove mshv specific type from `translate_gva`

`translate_gva` returns mshv-specific type `hv_translate_gva_result`.
This return type is not a problem since this function is implemented
only for mshv, but we need to remove the type as the same function will
be implemented for KVM in PR #3575. This commit replaces the
mshv-specific type with `u32`.

Signed-off-by: Akira Moroo <retrage01@gmail.com>

show more ...


/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/docs/fs.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
cpu.rs
mshv/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/configuration.rs
/cloud-hypervisor/performance-metrics/Cargo.toml
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/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/transport/pci_common_config.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/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/api/openapi/cloud-hypervisor.yaml
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/cpu.rs
cb844ecd16-Feb-2022 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: Add support for TDX exit reason to KVM

Relying on the recent additions to the kvm-ioctls crate, this commit
implements the support for providing the exit reason details to the
caller, wh

hypervisor: Add support for TDX exit reason to KVM

Relying on the recent additions to the kvm-ioctls crate, this commit
implements the support for providing the exit reason details to the
caller, which allows the identification of the type of hypercall that
was issued. It also introduces a way for the consumer to set the status
code that must be sent back to the guest.

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

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/README.md
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/docs/intel_tdx.md
/cloud-hypervisor/docs/snapshot_restore.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
cpu.rs
kvm/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/configuration.rs
/cloud-hypervisor/pci/src/lib.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/performance-metrics/Cargo.toml
/cloud-hypervisor/performance-metrics/build.rs
/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/resources/Dockerfile
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/cloud-hypervisor/scripts/run_metrics.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_block/src/main.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/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/transport/pci_device.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vmm/Cargo.toml
/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/device_tree.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/migration.rs
/cloud-hypervisor/vmm/src/vm.rs
5079123807-Feb-2022 Rob Bradford <robert.bradford@intel.com>

vmm: Ensure that PIO and MMIO exits complete before pausing

As per this kernel documentation:

For KVM_EXIT_IO, KVM_EXIT_MMIO, KVM_EXIT_OSI, KVM_EXIT_PAPR, KVM_EXIT_XEN,
KVM_EXIT_EPR, KV

vmm: Ensure that PIO and MMIO exits complete before pausing

As per this kernel documentation:

For KVM_EXIT_IO, KVM_EXIT_MMIO, KVM_EXIT_OSI, KVM_EXIT_PAPR, KVM_EXIT_XEN,
KVM_EXIT_EPR, KVM_EXIT_X86_RDMSR and KVM_EXIT_X86_WRMSR the corresponding
operations are complete (and guest state is consistent) only after userspace
has re-entered the kernel with KVM_RUN. The kernel side will first finish
incomplete operations and then check for pending signals.

The pending state of the operation is not preserved in state which is
visible to userspace, thus userspace should ensure that the operation is
completed before performing a live migration. Userspace can re-enter the
guest with an unmasked signal pending or with the immediate_exit field set
to complete pending operations without allowing any further instructions
to be executed.

Since we capture the state as part of the pause and override it as part
of the resume we must ensure the state is consistent otherwise we will
lose the results of the MMIO or PIO operation that caused the exit from
which we paused.

Fixes: #3658

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/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/mod.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/docs/COPYING.docs
/cloud-hypervisor/docs/snapshot_restore.md
/cloud-hypervisor/docs/uefi.md
/cloud-hypervisor/docs/windows.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/hypervisor/Cargo.toml
cpu.rs
kvm/mod.rs
kvm/x86_64/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/ctrl_queue.rs
/cloud-hypervisor/net_util/src/queue_pair.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/resources/Dockerfile
/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_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/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/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/transport/pci_common_config.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/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/csm/connection.rs
/cloud-hypervisor/virtio-devices/src/vsock/device.rs
/cloud-hypervisor/virtio-devices/src/vsock/mod.rs
/cloud-hypervisor/virtio-devices/src/vsock/packet.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/Cargo.toml
/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/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/lib.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs
9bcb984911-Jan-2022 Jianyong Wu <jianyong.wu@arm.com>

hypervisor: add has/set trait for vcpu

Like devicefd, vcpufd also has ability to set/has attribute through kvm
ioctl. These traits are used when enable PMU on arm64, so add it here.

Signed-off-by:

hypervisor: add has/set trait for vcpu

Like devicefd, vcpufd also has ability to set/has attribute through kvm
ioctl. These traits are used when enable PMU on arm64, so add it here.

Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>

show more ...

658658e718-Jan-2022 Rob Bradford <robert.bradford@intel.com>

hypervisor: kvm: Ignore -EINVAL from KVM_KVMCLOCK_CTRL ioctl()

If the guest hasn't initialised a PV clock then the KVM_KVMCLOCK_CTRL
ioctl will return -EINVAL. Therefore if running in the firmware o

hypervisor: kvm: Ignore -EINVAL from KVM_KVMCLOCK_CTRL ioctl()

If the guest hasn't initialised a PV clock then the KVM_KVMCLOCK_CTRL
ioctl will return -EINVAL. Therefore if running in the firmware or an OS
that doesn't use the PV clock then we should ignore that error

Tested by migrating a VM that has not yet booted into the Linux kernel
(just in firmware) by specifying no disk image:

e.g. target/debug/cloud-hypervisor --kernel ~/workloads/hypervisor-fw --api-socket /tmp/api --serial tty --console off

Fixes: #3586

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/arch/src/aarch64/gic/dist_regs.rs
/cloud-hypervisor/arch/src/aarch64/gic/icc_regs.rs
/cloud-hypervisor/arch/src/aarch64/gic/redist_regs.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/arch/src/aarch64/regs.rs
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/block_util/src/lib.rs
/cloud-hypervisor/devices/src/legacy/rtc_pl031.rs
/cloud-hypervisor/devices/src/legacy/uart_pl011.rs
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/live_migration.md
/cloud-hypervisor/docs/uefi.md
/cloud-hypervisor/docs/windows.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/hypervisor/Cargo.toml
kvm/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/tap.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/pci/src/vfio_user.rs
/cloud-hypervisor/resources/linux-config-aarch64
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_windows.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/tests/integration.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/vsock/unix/muxer.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-migration/src/protocol.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/api/mod.rs
/cloud-hypervisor/vmm/src/api/openapi/cloud-hypervisor.yaml
/cloud-hypervisor/vmm/src/cpu.rs
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/vm.rs
0a97b76c14-Jan-2022 Rob Bradford <robert.bradford@intel.com>

hypervisor: mshv: Fix beta clippy issue

error: this boolean expression can be simplified
--> hypervisor/src/mshv/mod.rs:348:25
|
348 | !(unsafe { access_info.__bindgen

hypervisor: mshv: Fix beta clippy issue

error: this boolean expression can be simplified
--> hypervisor/src/mshv/mod.rs:348:25
|
348 | !(unsafe { access_info.__bindgen_anon_1.string_op() } == 1),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unsafe { access_info.__bindgen_anon_1.string_op() } != 1`
|
= note: `-D clippy::nonminimal-bool` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool

error: this boolean expression can be simplified
--> hypervisor/src/mshv/mod.rs:352:25
|
352 | !(unsafe { access_info.__bindgen_anon_1.rep_prefix() } == 1),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unsafe { access_info.__bindgen_anon_1.rep_prefix() } != 1`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool

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

show more ...


/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.gitignore
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/Cargo.toml
/cloud-hypervisor/acpi_tables/src/aml.rs
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/gic/gicv3_its.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/layout.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/block_util/src/async_io.rs
/cloud-hypervisor/block_util/src/lib.rs
/cloud-hypervisor/block_util/src/qcow_sync.rs
/cloud-hypervisor/block_util/src/raw_async.rs
/cloud-hypervisor/block_util/src/raw_sync.rs
/cloud-hypervisor/block_util/src/vhdx_sync.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/docs/arm64.md
/cloud-hypervisor/docs/device_model.md
/cloud-hypervisor/docs/uefi.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/hypervisor/Cargo.toml
mshv/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/queue_pair.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/configuration.rs
/cloud-hypervisor/pci/src/device.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/pci/src/vfio_user.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/resources/linux-config-aarch64
/cloud-hypervisor/resources/linux-config-x86_64
/cloud-hypervisor/scripts/create-cloud-init.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_live_migration.sh
/cloud-hypervisor/scripts/run_integration_tests_sgx.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/run_unit_tests.sh
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/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_backend/Cargo.toml
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_block/src/main.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/cloud-hypervisor/vhost_user_net/src/main.rs
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/block.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/transport/pci_device.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/vu_common_ctrl.rs
/cloud-hypervisor/virtio-devices/src/vsock/packet.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer.rs
/cloud-hypervisor/virtio-queue/Cargo.toml
/cloud-hypervisor/virtio-queue/src/chain.rs
/cloud-hypervisor/virtio-queue/src/defs.rs
/cloud-hypervisor/virtio-queue/src/descriptor.rs
/cloud-hypervisor/virtio-queue/src/iterator.rs
/cloud-hypervisor/virtio-queue/src/lib.rs
/cloud-hypervisor/virtio-queue/src/mock.rs
/cloud-hypervisor/virtio-queue/src/queue.rs
/cloud-hypervisor/virtio-queue/src/queue_guard.rs
/cloud-hypervisor/virtio-queue/src/state.rs
/cloud-hypervisor/virtio-queue/src/state_sync.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-virtio/Cargo.toml
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.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/device_tree.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/pci_segment.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs
c452471c04-Dec-2021 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: Add support for setting KVM identity map

Extending the Vm trait with set_identity_map_address() in order to
expose this ioctl to the VMM.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf

hypervisor: Add support for setting KVM identity map

Extending the Vm trait with set_identity_map_address() in order to
expose this ioctl to the VMM.

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

show more ...

348def9d03-Dec-2021 Rob Bradford <robert.bradford@intel.com>

arch, hypervisor, vmm: Explicitly place the TSS in the 32-bit space

Place the 3 page TSS at an explicit location in the 32-bit address space
to avoid conflicting with the loaded raw firmware.

Signe

arch, hypervisor, vmm: Explicitly place the TSS in the 32-bit space

Place the 3 page TSS at an explicit location in the 32-bit address space
to avoid conflicting with the loaded raw firmware.

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

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/README.md
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/x86_64/layout.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/docs/arm64.md
/cloud-hypervisor/docs/vfio-user.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
kvm/x86_64/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/vfio_user.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/raw_file.rs
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/linux-config-x86_64
/cloud-hypervisor/rpm/cloud-hypervisor.spec
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/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/vhost_user_backend/Cargo.toml
/cloud-hypervisor/vhost_user_block/Cargo.toml
/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/epoll_helper.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-migration/src/lib.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.rs
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/interrupt.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/vm.rs
58d984f618-Nov-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: add a few safety comments

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

dd3c086a18-Nov-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: drop one unsafe from mock_vmm

Simple aggregate types are Sync by default. There is no need to use
`impl Sync` for MockVmm (a simple struct).

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


/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/acpi_tables/src/rsdp.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/smbios.rs
/cloud-hypervisor/arch/src/x86_64/tdx/mod.rs
/cloud-hypervisor/block_util/src/lib.rs
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/intel_tdx.md
/cloud-hypervisor/docs/vfio.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/hypervisor/Cargo.toml
arch/x86/emulator/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/ctrl_queue.rs
/cloud-hypervisor/net_util/src/lib.rs
/cloud-hypervisor/pci/src/configuration.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/vfio_user/src/lib.rs
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/balloon.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/transport/pci_device.rs
/cloud-hypervisor/virtio-queue/src/lib.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-migration/src/protocol.rs
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/sigwinch_listener.rs
6221b6f815-Nov-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: aarch64: move a comment to where it should be

No functional change.

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

57cc8bc615-Nov-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: aarch64: remove undefined behaviour in offset__of

The variable tmp was never initialized. Calling assume_init when the
content is not yet initialized causes immediate undefined behaviour

hypervisor: aarch64: remove undefined behaviour in offset__of

The variable tmp was never initialized. Calling assume_init when the
content is not yet initialized causes immediate undefined behaviour.

We also cannot create any intermediate references because they will be
subject to the same requirements for references -- the referred object
must be valid.

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

show more ...


/cloud-hypervisor/.github/workflows/dco.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/CONTRIBUTING.md
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/acpi_tables/src/aml.rs
/cloud-hypervisor/arch/Cargo.toml
/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/acpi.rs
/cloud-hypervisor/docs/arm64.md
/cloud-hypervisor/docs/cpu.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/intel_sgx.md
/cloud-hypervisor/docs/memory.md
/cloud-hypervisor/docs/snapshot_restore.md
/cloud-hypervisor/docs/vhost-user-blk-testing.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/hypervisor/Cargo.toml
kvm/aarch64/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/ctrl_queue.rs
/cloud-hypervisor/net_util/src/mac.rs
/cloud-hypervisor/net_util/src/queue_pair.rs
/cloud-hypervisor/option_parser/src/lib.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/bus.rs
/cloud-hypervisor/pci/src/device.rs
/cloud-hypervisor/pci/src/lib.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/pci/src/vfio_user.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/src/main.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vfio_user/Cargo.toml
/cloud-hypervisor/vhdx/Cargo.toml
/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/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/epoll_helper.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/transport/pci_common_config.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/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/csm/connection.rs
/cloud-hypervisor/virtio-devices/src/vsock/device.rs
/cloud-hypervisor/virtio-devices/src/vsock/mod.rs
/cloud-hypervisor/virtio-devices/src/vsock/packet.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/virtio-queue/Cargo.toml
/cloud-hypervisor/virtio-queue/src/defs.rs
/cloud-hypervisor/virtio-queue/src/lib.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-allocator/src/address.rs
/cloud-hypervisor/vm-allocator/src/system.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-migration/src/protocol.rs
/cloud-hypervisor/vm-virtio/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/acpi.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/device_tree.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/pci_segment.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs
70f9fea119-Oct-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: aarch64: Use assert!() rather than if+panic

As identified by the new beta clippy.

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

2f57d1c319-Oct-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: mshv: Use assert!() rather than if+panic

As identified by the new beta clippy.

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

7d75770019-Oct-2021 Rob Bradford <robert.bradford@intel.com>

hypervisor: emulator: Print out all exception details

Print out all the details from an emulator exception.

As identified by the new beta clippy.

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

hypervisor: emulator: Print out all exception details

Print out all the details from an emulator exception.

As identified by the new beta clippy.

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

show more ...

c3d6acee30-Sep-2021 Muminul Islam <muislam@microsoft.com>

hypervisor: Add Misc register to Save/Restore state for MSHV

Hypercall register needs to be saved and restored for
TLB flush and IPI synthetic features enablement.
Enabling these two synthetic featu

hypervisor: Add Misc register to Save/Restore state for MSHV

Hypercall register needs to be saved and restored for
TLB flush and IPI synthetic features enablement.
Enabling these two synthetic features improves
guest performance.

Signed-off-by: Muminul Islam <muislam@microsoft.com>

show more ...

76a036e911-Oct-2021 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: kvm: Add missing MSR related to Hyper-V

When the synthetic interrupt controller is enabled, an extra set of MSRs
must be stored in case of migration. There was one MSR missing in the
lis

hypervisor: kvm: Add missing MSR related to Hyper-V

When the synthetic interrupt controller is enabled, an extra set of MSRs
must be stored in case of migration. There was one MSR missing in the
list, HV_X64_MSR_SINT14 corresponding to the 15th interrupt source from
the synthetic interrupt controller.

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

show more ...


/cloud-hypervisor/.github/workflows/fuzz-build.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/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/tdx/mod.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/legacy/serial.rs
/cloud-hypervisor/devices/src/legacy/uart_pl011.rs
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/memory.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
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/bus.rs
/cloud-hypervisor/pci/src/lib.rs
/cloud-hypervisor/pci/src/vfio_user.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/resources/linux-config-aarch64
/cloud-hypervisor/scripts/check-image-compatability.sh
/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_sgx.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/cloud-hypervisor/scripts/sha1sums-aarch64
/cloud-hypervisor/scripts/test-util.sh
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vfio_user/Cargo.toml
/cloud-hypervisor/vhdx/Cargo.toml
/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/balloon.rs
/cloud-hypervisor/virtio-devices/src/mem.rs
/cloud-hypervisor/virtio-devices/src/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/fs.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/vu_common_ctrl.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-migration/src/protocol.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.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/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/pci_segment.rs
/cloud-hypervisor/vmm/src/serial_buffer.rs
/cloud-hypervisor/vmm/src/serial_manager.rs
/cloud-hypervisor/vmm/src/vm.rs
86afa38c20-Sep-2021 Wei Liu <liuwe@microsoft.com>

hypervisor: mshv: drop one unsafe in code

The binding already provides a default() method which does the same
thing.

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


/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/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/gic/gicv3_its.rs
/cloud-hypervisor/arch/src/aarch64/layout.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
mshv/mod.rs
/cloud-hypervisor/net_gen/Cargo.toml
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/mac.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/bus.rs
/cloud-hypervisor/pci/src/lib.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vfio_user/Cargo.toml
/cloud-hypervisor/vhdx/Cargo.toml
/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/iommu.rs
/cloud-hypervisor/virtio-devices/src/mem.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/serial_manager.rs
/cloud-hypervisor/vmm/src/vm.rs
bcdac10115-Sep-2021 Sebastien Boeuf <sebastien.boeuf@intel.com>

deps: Bump kvm-bindings to v0.5.0

Update the kvm-bindings dependency so that Cloud Hypervisor now depends
on the version 0.5.0, which is based on Linux kernel v5.13.0. We still
have to rely on a for

deps: Bump kvm-bindings to v0.5.0

Update the kvm-bindings dependency so that Cloud Hypervisor now depends
on the version 0.5.0, which is based on Linux kernel v5.13.0. We still
have to rely on a forked version to be able to serialize all the KVM
structures we need.

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

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/hypervisor/Cargo.toml
kvm/mod.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/rpm/cloud-hypervisor.spec
/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/tests/integration.rs
/cloud-hypervisor/vfio_user/Cargo.toml
/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/thread_helper.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/vsock/mod.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-migration/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/clone3.rs
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/cpu.rs
/cloud-hypervisor/vmm/src/device_manager.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/sigwinch_listener.rs
/cloud-hypervisor/vmm/src/vm.rs

1...<<1112131415161718192021