History log of /cloud-hypervisor/vm-allocator/src/ (Results 1 – 25 of 36)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
b686a5bb02-Apr-2025 Jinank Jain <jinankjain@microsoft.com>

vm-allocator: Fix clippy warning for implicit saturating sub

Use the builtin function to improve the readability of the code.

Warning from beta compiler:

error: manual arithmetic check found
--> v

vm-allocator: Fix clippy warning for implicit saturating sub

Use the builtin function to improve the readability of the code.

Warning from beta compiler:

error: manual arithmetic check found
--> vm-allocator/src/address.rs:151:30
|
|let adjust = if alignment > 1 { alignment - 1 } else { 0 };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| help: replace it with: `alignment.saturating_sub(1)`
|
= help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#implicit_saturating_sub
= note: `-D clippy::implicit-saturating-sub` implied by `-D warnings`
= help: to override `-D warnings` add`#[allow(clippy::implicit_saturating_sub)]`

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

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/cloud-hypervisor/.github/workflows/integration-metrics.yaml
/cloud-hypervisor/.github/workflows/integration-rate-limiter.yaml
/cloud-hypervisor/.github/workflows/lychee.yaml
/cloud-hypervisor/.github/workflows/preview-riscv64.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.gitlint
/cloud-hypervisor/.lychee.toml
/cloud-hypervisor/CONTRIBUTING.md
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/README.md
/cloud-hypervisor/api_client/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/riscv64/fdt.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/arch/src/x86_64/tdx/mod.rs
/cloud-hypervisor/block/Cargo.toml
/cloud-hypervisor/block/src/lib.rs
/cloud-hypervisor/block/src/qcow/mod.rs
/cloud-hypervisor/block/src/raw_async.rs
/cloud-hypervisor/block/src/vhdx/mod.rs
/cloud-hypervisor/block/src/vhdx/vhdx_header.rs
/cloud-hypervisor/block/src/vhdx/vhdx_io.rs
/cloud-hypervisor/block/src/vhdx/vhdx_metadata.rs
/cloud-hypervisor/build.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/pvmemcontrol.rs
/cloud-hypervisor/devices/src/pvpanic.rs
/cloud-hypervisor/docs/amd_sev_snp.md
/cloud-hypervisor/docs/debug-port.md
/cloud-hypervisor/docs/intel_sgx.md
/cloud-hypervisor/docs/intel_tdx.md
/cloud-hypervisor/docs/io_throttling.md
/cloud-hypervisor/docs/live_migration.md
/cloud-hypervisor/docs/logging.md
/cloud-hypervisor/docs/riscv.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/fuzz/fuzz_targets/balloon.rs
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/fuzz/fuzz_targets/cmos.rs
/cloud-hypervisor/fuzz/fuzz_targets/console.rs
/cloud-hypervisor/fuzz/fuzz_targets/http_api.rs
/cloud-hypervisor/fuzz/fuzz_targets/iommu.rs
/cloud-hypervisor/fuzz/fuzz_targets/linux_loader_cmdline.rs
/cloud-hypervisor/fuzz/fuzz_targets/mem.rs
/cloud-hypervisor/fuzz/fuzz_targets/net.rs
/cloud-hypervisor/fuzz/fuzz_targets/pmem.rs
/cloud-hypervisor/fuzz/fuzz_targets/qcow.rs
/cloud-hypervisor/fuzz/fuzz_targets/rng.rs
/cloud-hypervisor/fuzz/fuzz_targets/vhdx.rs
/cloud-hypervisor/fuzz/fuzz_targets/vsock.rs
/cloud-hypervisor/fuzz/fuzz_targets/watchdog.rs
/cloud-hypervisor/fuzz/fuzz_targets/x86emul.rs
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/aarch64/gic.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/mod.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/redist_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/riscv64/aia.rs
/cloud-hypervisor/hypervisor/src/kvm/riscv64/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/mshv/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/x86_64/emulator.rs
/cloud-hypervisor/hypervisor/src/vm.rs
/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/configuration.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/performance-metrics/Cargo.toml
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/test-util.sh
/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/tpm/Cargo.toml
/cloud-hypervisor/tracer/Cargo.toml
/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/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/transport/mod.rs
/cloud-hypervisor/virtio-devices/src/transport/pci_device.rs
/cloud-hypervisor/virtio-devices/src/vdpa.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/blk.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/device.rs
/cloud-hypervisor/virtio-devices/src/vsock/mod.rs
address.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/bus.rs
/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/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/pci_segment.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/serial_manager.rs
/cloud-hypervisor/vmm/src/vm.rs
/cloud-hypervisor/vmm/src/vm_config.rs
50bac16913-Dec-2024 Alyssa Ross <hi@alyssa.is>

vmm: support PCI I/O regions on all architectures

While non-Intel CPU architectures don't have a special concept of IO
address space, support for PCI I/O regions is still needed to be able
to handle

vmm: support PCI I/O regions on all architectures

While non-Intel CPU architectures don't have a special concept of IO
address space, support for PCI I/O regions is still needed to be able
to handle PCI devices that use them.

With this change, I'm able to pass through an e1000e device from QEMU
to a cloud-hypervisor VM on aarch64 and use it in the cloud-hypervisor
guest. Previously, it would hit the unimplemented!().

Signed-off-by: Alyssa Ross <hi@alyssa.is>

show more ...

5b715f4804-Dec-2024 Ruoqing He <heruoqing@iscas.ac.cn>

vm-allocator: Introduce RISC-V architecture

Provide implementation for GSI allocator to work on riscv64
architecture, and doc comment for riscv64 as well.

Signed-off-by: Ruoqing He <heruoqing@iscas

vm-allocator: Introduce RISC-V architecture

Provide implementation for GSI allocator to work on riscv64
architecture, and doc comment for riscv64 as well.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>

show more ...


/cloud-hypervisor/.github/workflows/integration-rate-limiter.yaml
/cloud-hypervisor/.github/workflows/preview-riscv64.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/arch/src/riscv64/fdt.rs
/cloud-hypervisor/arch/src/riscv64/layout.rs
/cloud-hypervisor/arch/src/riscv64/mod.rs
/cloud-hypervisor/block/Cargo.toml
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/docs/live_migration.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/riscv64/aia.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/riscv64/aia.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/open_tap.rs
/cloud-hypervisor/net_util/src/queue_pair.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/pci/src/vfio_user.rs
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/scripts/test-util.sh
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/tracer/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/block.rs
/cloud-hypervisor/virtio-devices/src/net.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
gsi.rs
system.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
80b2c98a21-Nov-2024 Rob Bradford <rbradford@rivosinc.com>

vm-allocator: Add an allocator KVM memory slots

Add an allocator for KVM memory slots, a finite resource in the kernel
- these need to be manipulated across different crates with a common
dependency

vm-allocator: Add an allocator KVM memory slots

Add an allocator for KVM memory slots, a finite resource in the kernel
- these need to be manipulated across different crates with a common
dependency on this crate.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/cloud-hypervisor/.github/workflows/formatting.yaml
/cloud-hypervisor/.github/workflows/integration-arm64.yaml
/cloud-hypervisor/.github/workflows/integration-vfio.yaml
/cloud-hypervisor/.github/workflows/package-consistency.yaml
/cloud-hypervisor/.github/workflows/preview-riscv64.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/.rustfmt.toml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/lib.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/block/src/lib.rs
/cloud-hypervisor/block/src/qcow/mod.rs
/cloud-hypervisor/block/src/qcow/qcow_raw_file.rs
/cloud-hypervisor/block/src/qcow/raw_file.rs
/cloud-hypervisor/block/src/qcow/refcount.rs
/cloud-hypervisor/block/src/vhdx/mod.rs
/cloud-hypervisor/block/src/vhdx/vhdx_bat.rs
/cloud-hypervisor/block/src/vhdx/vhdx_io.rs
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/interrupt_controller.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/gpio_pl061.rs
/cloud-hypervisor/devices/src/legacy/i8042.rs
/cloud-hypervisor/devices/src/legacy/serial.rs
/cloud-hypervisor/devices/src/legacy/uart_pl011.rs
/cloud-hypervisor/devices/src/pvmemcontrol.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/coverage.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/event_monitor/Cargo.toml
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/fuzz/fuzz_targets/balloon.rs
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/fuzz/fuzz_targets/console.rs
/cloud-hypervisor/fuzz/fuzz_targets/http_api.rs
/cloud-hypervisor/fuzz/fuzz_targets/iommu.rs
/cloud-hypervisor/fuzz/fuzz_targets/linux_loader.rs
/cloud-hypervisor/fuzz/fuzz_targets/linux_loader_cmdline.rs
/cloud-hypervisor/fuzz/fuzz_targets/mem.rs
/cloud-hypervisor/fuzz/fuzz_targets/net.rs
/cloud-hypervisor/fuzz/fuzz_targets/pmem.rs
/cloud-hypervisor/fuzz/fuzz_targets/qcow.rs
/cloud-hypervisor/fuzz/fuzz_targets/rng.rs
/cloud-hypervisor/fuzz/fuzz_targets/serial.rs
/cloud-hypervisor/fuzz/fuzz_targets/vhdx.rs
/cloud-hypervisor/fuzz/fuzz_targets/watchdog.rs
/cloud-hypervisor/hypervisor/src/arch/mod.rs
/cloud-hypervisor/hypervisor/src/arch/riscv64/aia.rs
/cloud-hypervisor/hypervisor/src/arch/riscv64/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/cmp.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mov.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/movs.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/or.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/stos.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/dist_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/icc_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/redist_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/riscv64/aia.rs
/cloud-hypervisor/hypervisor/src/kvm/riscv64/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/x86_64/emulator.rs
/cloud-hypervisor/hypervisor/src/vm.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/mac.rs
/cloud-hypervisor/net_util/src/queue_pair.rs
/cloud-hypervisor/net_util/src/tap.rs
/cloud-hypervisor/option_parser/src/lib.rs
/cloud-hypervisor/pci/src/configuration.rs
/cloud-hypervisor/pci/src/lib.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio_user.rs
/cloud-hypervisor/performance-metrics/src/main.rs
/cloud-hypervisor/performance-metrics/src/performance_tests.rs
/cloud-hypervisor/rate_limiter/src/group.rs
/cloud-hypervisor/rate_limiter/src/lib.rs
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/scripts/build-custom-image.sh
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/package-consistency-check.py
/cloud-hypervisor/scripts/run_coverage.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_live_migration.sh
/cloud-hypervisor/scripts/run_integration_tests_rate_limiter.sh
/cloud-hypervisor/scripts/run_integration_tests_sgx.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/cloud-hypervisor/scripts/run_metrics.sh
/cloud-hypervisor/scripts/sha1sums-x86_64
/cloud-hypervisor/scripts/test-util.sh
/cloud-hypervisor/serial_buffer/src/lib.rs
/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/tpm/src/emulator.rs
/cloud-hypervisor/tracer/Cargo.toml
/cloud-hypervisor/tracer/src/tracer.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/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/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/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/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/vsock/csm/connection.rs
/cloud-hypervisor/virtio-devices/src/vsock/csm/txbuf.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/vsock/unix/muxer_killq.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer_rxq.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
lib.rs
memory_slot.rs
/cloud-hypervisor/vm-device/src/bus.rs
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.rs
/cloud-hypervisor/vmm/src/api/dbus/mod.rs
/cloud-hypervisor/vmm/src/api/http/http_endpoint.rs
/cloud-hypervisor/vmm/src/api/mod.rs
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/console_devices.rs
/cloud-hypervisor/vmm/src/coredump.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/gdb.rs
/cloud-hypervisor/vmm/src/igvm/igvm_loader.rs
/cloud-hypervisor/vmm/src/landlock.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/sigwinch_listener.rs
/cloud-hypervisor/vmm/src/vm.rs
/cloud-hypervisor/vmm/src/vm_config.rs
88a9f79929-Sep-2024 Rob Bradford <rbradford@rivosinc.com>

misc: Adapt consistent import style formatting

Historically the Cloud Hypervisor coding style has been to ensure that
all imports are ordered and placed in a single group. Unfortunately
cargo fmt ha

misc: Adapt consistent import style formatting

Historically the Cloud Hypervisor coding style has been to ensure that
all imports are ordered and placed in a single group. Unfortunately
cargo fmt has no support for ensuring that all imports are in a single
group so if whitespace lines were added as part of the import statements
then they would only be odered correctly in the group.

By adopting "group_imports="StdExternalCrate" we can enforce a style
where imports are placed in at most three groups for std, external
crates and the crate itself. Choosing a style enforceable by the tooling
reduces the reviewer burden.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/cloud-hypervisor/.github/workflows/integration-metrics.yaml
/cloud-hypervisor/.github/workflows/integration-rate-limiter.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.github/workflows/taplo.yaml
/cloud-hypervisor/.rustfmt.toml
/cloud-hypervisor/.taplo.toml
/cloud-hypervisor/CONTRIBUTING.md
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/api_client/Cargo.toml
/cloud-hypervisor/api_client/src/lib.rs
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/arch/src/aarch64/uefi.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/arch/src/x86_64/smbios.rs
/cloud-hypervisor/arch/src/x86_64/tdx/mod.rs
/cloud-hypervisor/block/Cargo.toml
/cloud-hypervisor/block/src/async_io.rs
/cloud-hypervisor/block/src/fixed_vhd.rs
/cloud-hypervisor/block/src/fixed_vhd_async.rs
/cloud-hypervisor/block/src/fixed_vhd_sync.rs
/cloud-hypervisor/block/src/lib.rs
/cloud-hypervisor/block/src/qcow/mod.rs
/cloud-hypervisor/block/src/qcow/qcow_raw_file.rs
/cloud-hypervisor/block/src/qcow/raw_file.rs
/cloud-hypervisor/block/src/qcow/refcount.rs
/cloud-hypervisor/block/src/qcow_sync.rs
/cloud-hypervisor/block/src/raw_async.rs
/cloud-hypervisor/block/src/raw_async_aio.rs
/cloud-hypervisor/block/src/raw_sync.rs
/cloud-hypervisor/block/src/vhd.rs
/cloud-hypervisor/block/src/vhdx/mod.rs
/cloud-hypervisor/block/src/vhdx/vhdx_bat.rs
/cloud-hypervisor/block/src/vhdx/vhdx_header.rs
/cloud-hypervisor/block/src/vhdx/vhdx_io.rs
/cloud-hypervisor/block/src/vhdx/vhdx_metadata.rs
/cloud-hypervisor/block/src/vhdx_sync.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/debug_console.rs
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/interrupt_controller.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/debug_port.rs
/cloud-hypervisor/devices/src/legacy/fwdebug.rs
/cloud-hypervisor/devices/src/legacy/gpio_pl061.rs
/cloud-hypervisor/devices/src/legacy/i8042.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/devices/src/lib.rs
/cloud-hypervisor/devices/src/pvmemcontrol.rs
/cloud-hypervisor/devices/src/pvpanic.rs
/cloud-hypervisor/devices/src/tpm.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/fuzzing.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/landlock.md
/cloud-hypervisor/docs/memory.md
/cloud-hypervisor/docs/performance_metrics.md
/cloud-hypervisor/docs/releases.md
/cloud-hypervisor/docs/snapshot_restore.md
/cloud-hypervisor/docs/tracing.md
/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/fuzz/fuzz_targets/console.rs
/cloud-hypervisor/fuzz/fuzz_targets/http_api.rs
/cloud-hypervisor/fuzz/fuzz_targets/qcow.rs
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/aarch64/gic.rs
/cloud-hypervisor/hypervisor/src/arch/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/movs.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/or.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/stos.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/mod.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/hypervisor.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/dist_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/icc_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/redist_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/snp_constants.rs
/cloud-hypervisor/hypervisor/src/mshv/x86_64/emulator.rs
/cloud-hypervisor/hypervisor/src/mshv/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/vm.rs
/cloud-hypervisor/net_gen/Cargo.toml
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/build.rs
/cloud-hypervisor/net_util/src/ctrl_queue.rs
/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/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/lib.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/performance-metrics/src/main.rs
/cloud-hypervisor/performance-metrics/src/performance_tests.rs
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/rate_limiter/src/group.rs
/cloud-hypervisor/rate_limiter/src/lib.rs
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_coverage.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_live_migration.sh
/cloud-hypervisor/scripts/run_integration_tests_rate_limiter.sh
/cloud-hypervisor/scripts/run_integration_tests_vfio.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/serial_buffer/Cargo.toml
/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/tpm/Cargo.toml
/cloud-hypervisor/tpm/src/emulator.rs
/cloud-hypervisor/tpm/src/socket.rs
/cloud-hypervisor/tracer/Cargo.toml
/cloud-hypervisor/tracer/src/tracer.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/build.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/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/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/thread_helper.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/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/csm/txbuf.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/vsock/unix/muxer_rxq.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
address.rs
system.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/bus.rs
/cloud-hypervisor/vm-device/src/dma_mapping/mod.rs
/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-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/build.rs
/cloud-hypervisor/vmm/src/acpi.rs
/cloud-hypervisor/vmm/src/api/dbus/mod.rs
/cloud-hypervisor/vmm/src/api/http/http_endpoint.rs
/cloud-hypervisor/vmm/src/api/http/mod.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/console_devices.rs
/cloud-hypervisor/vmm/src/coredump.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/gdb.rs
/cloud-hypervisor/vmm/src/igvm/igvm_loader.rs
/cloud-hypervisor/vmm/src/igvm/loader.rs
/cloud-hypervisor/vmm/src/interrupt.rs
/cloud-hypervisor/vmm/src/landlock.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/migration.rs
/cloud-hypervisor/vmm/src/pci_segment.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/serial_manager.rs
/cloud-hypervisor/vmm/src/sigwinch_listener.rs
/cloud-hypervisor/vmm/src/vm.rs
/cloud-hypervisor/vmm/src/vm_config.rs
f6cd3bd829-Apr-2024 Wei Liu <liuwe@microsoft.com>

block, pci, rate_limiter, vm-allocator: drop legacy numeric constants

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


/cloud-hypervisor/.github/workflows/audit.yaml
/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/dco.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/cloud-hypervisor/.github/workflows/fuzz-build.yaml
/cloud-hypervisor/.github/workflows/gitlint.yaml
/cloud-hypervisor/.github/workflows/hadolint.yaml
/cloud-hypervisor/.github/workflows/integration-arm64.yaml
/cloud-hypervisor/.github/workflows/integration-metrics.yaml
/cloud-hypervisor/.github/workflows/integration-rate-limiter.yaml
/cloud-hypervisor/.github/workflows/integration-sgx.yaml
/cloud-hypervisor/.github/workflows/integration-vfio.yaml
/cloud-hypervisor/.github/workflows/integration-windows.yaml
/cloud-hypervisor/.github/workflows/integration-x86-64.yaml
/cloud-hypervisor/.github/workflows/openapi.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.github/workflows/reuse.yaml
/cloud-hypervisor/.github/workflows/shlint.yaml
/cloud-hypervisor/.gitignore
/cloud-hypervisor/.reuse/dep5
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/LICENSES/Apache-2.0.txt
/cloud-hypervisor/LICENSES/BSD-3-Clause.txt
/cloud-hypervisor/LICENSES/CC-BY-4.0.txt
/cloud-hypervisor/README.md
/cloud-hypervisor/api_client/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/layout.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/arch/src/aarch64/uefi.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/Cargo.toml
/cloud-hypervisor/block/src/lib.rs
/cloud-hypervisor/block/src/qcow/mod.rs
/cloud-hypervisor/block/src/qcow/qcow_raw_file.rs
/cloud-hypervisor/block/src/qcow/raw_file.rs
/cloud-hypervisor/block/src/qcow/refcount.rs
/cloud-hypervisor/block/src/qcow/vec_cache.rs
/cloud-hypervisor/block/src/vhd.rs
/cloud-hypervisor/block/src/vhdx/vhdx_header.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/debug_console.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/gpio_pl061.rs
/cloud-hypervisor/devices/src/legacy/i8042.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/devices/src/lib.rs
/cloud-hypervisor/devices/src/pvpanic.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/debug-port.md
/cloud-hypervisor/docs/intel_tdx.md
/cloud-hypervisor/docs/io_throttling.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/vfio.md
/cloud-hypervisor/docs/vhost-user-net-testing.md
/cloud-hypervisor/docs/vsock.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/fuzz/fuzz_targets/cmos.rs
/cloud-hypervisor/fuzz/fuzz_targets/http_api.rs
/cloud-hypervisor/fuzz/fuzz_targets/linux_loader_cmdline.rs
/cloud-hypervisor/fuzz/fuzz_targets/qcow.rs
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/aarch64/gic.rs
/cloud-hypervisor/hypervisor/src/arch/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/cmp.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mov.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/movs.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/or.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/msr_index.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/hypervisor.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/vm.rs
/cloud-hypervisor/net_gen/Cargo.toml
/cloud-hypervisor/net_gen/src/lib.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/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/lib.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/performance-metrics/src/performance_tests.rs
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/rate_limiter/src/group.rs
/cloud-hypervisor/rate_limiter/src/lib.rs
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/scripts/check-image-compatibility.sh
/cloud-hypervisor/scripts/common-aarch64.sh
/cloud-hypervisor/scripts/create-cloud-init.sh
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/gitlint/rules.py
/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_rate_limiter.sh
/cloud-hypervisor/scripts/run_integration_tests_sgx.sh
/cloud-hypervisor/scripts/run_integration_tests_vfio.sh
/cloud-hypervisor/scripts/run_integration_tests_windows_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_windows_x86_64.sh
/cloud-hypervisor/scripts/run_integration_tests_x86_64.sh
/cloud-hypervisor/scripts/run_metrics.sh
/cloud-hypervisor/scripts/run_openapi_tests.sh
/cloud-hypervisor/scripts/run_unit_tests.sh
/cloud-hypervisor/scripts/sha1sums-aarch64
/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/test_infra/src/lib.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/tpm/Cargo.toml
/cloud-hypervisor/tpm/src/emulator.rs
/cloud-hypervisor/tpm/src/lib.rs
/cloud-hypervisor/tracer/Cargo.toml
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/vhost_user_block/src/main.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/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/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/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/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/csm/mod.rs
/cloud-hypervisor/virtio-devices/src/vsock/csm/txbuf.rs
/cloud-hypervisor/virtio-devices/src/vsock/device.rs
/cloud-hypervisor/virtio-devices/src/vsock/mod.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
address.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/bus.rs
/cloud-hypervisor/vm-device/src/dma_mapping/mod.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/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.rs
/cloud-hypervisor/vmm/src/api/dbus/mod.rs
/cloud-hypervisor/vmm/src/api/http/http_endpoint.rs
/cloud-hypervisor/vmm/src/api/http/mod.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/device_tree.rs
/cloud-hypervisor/vmm/src/gdb.rs
/cloud-hypervisor/vmm/src/igvm/igvm_loader.rs
/cloud-hypervisor/vmm/src/igvm/loader.rs
/cloud-hypervisor/vmm/src/igvm/mod.rs
/cloud-hypervisor/vmm/src/interrupt.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/sigwinch_listener.rs
/cloud-hypervisor/vmm/src/vm.rs
/cloud-hypervisor/vmm/src/vm_config.rs
45b01d5914-Nov-2023 Thomas Barrett <tbarrett@crusoeenergy.com>

vmm: assign each pci segment 32-bit mmio allocator

Signed-off-by: Thomas Barrett <tbarrett@crusoeenergy.com>


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/gitlint.yaml
/cloud-hypervisor/.github/workflows/openapi.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.gitlint
/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/uefi.rs
/cloud-hypervisor/arch/src/x86_64/mptable.rs
/cloud-hypervisor/block/Cargo.toml
/cloud-hypervisor/block/src/lib.rs
/cloud-hypervisor/block/src/raw_async_aio.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/pvpanic.rs
/cloud-hypervisor/docs/amd_sev_snp.md
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/coverage.md
/cloud-hypervisor/docs/debug-port.md
/cloud-hypervisor/docs/gdb.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/live_migration.md
/cloud-hypervisor/docs/logging.md
/cloud-hypervisor/docs/memory.md
/cloud-hypervisor/docs/mshv.md
/cloud-hypervisor/docs/profiling.md
/cloud-hypervisor/docs/snapshot_restore.md
/cloud-hypervisor/docs/vhost-user-blk-testing.md
/cloud-hypervisor/docs/vsock.md
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/snp_constants.rs
/cloud-hypervisor/hypervisor/src/vm.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/device.rs
/cloud-hypervisor/pci/src/vfio.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/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/scripts/common-aarch64.sh
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/gitlint/rules.py
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_live_migration.sh
/cloud-hypervisor/scripts/run_integration_tests_rate_limiter.sh
/cloud-hypervisor/scripts/run_integration_tests_sgx.sh
/cloud-hypervisor/scripts/run_integration_tests_vfio.sh
/cloud-hypervisor/scripts/run_integration_tests_windows_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_windows_x86_64.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_data/cloud-init/ubuntu/ci/user-data
/cloud-hypervisor/test_infra/src/lib.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/vhost_user_block/src/main.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/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/console.rs
/cloud-hypervisor/virtio-devices/src/rng.rs
/cloud-hypervisor/virtio-devices/src/seccomp_filters.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/vm-allocator/Cargo.toml
system.rs
/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/config.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/migration.rs
/cloud-hypervisor/vmm/src/pci_segment.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs
/cloud-hypervisor/vmm/src/vm_config.rs
274f1aa218-Oct-2023 Muminul Islam <muislam@microsoft.com>

virtio-devices,vm-allocator: Fix clippy warnings

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


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/block/Cargo.toml
/cloud-hypervisor/block/src/lib.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/legacy/serial.rs
/cloud-hypervisor/devices/src/legacy/uart_pl011.rs
/cloud-hypervisor/docs/balloon.md
/cloud-hypervisor/docs/intel_tdx.md
/cloud-hypervisor/docs/memory.md
/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/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/vm.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/performance-metrics/Cargo.toml
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/resources/linux-config-x86_64
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/tracer/Cargo.toml
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/block.rs
/cloud-hypervisor/virtio-devices/src/vhost_user/mod.rs
system.rs
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-migration/src/lib.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/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/pci_segment.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/serial_manager.rs
/cloud-hypervisor/vmm/src/vm.rs
/cloud-hypervisor/vmm/src/vm_config.rs
7bf0cc1e31-Aug-2023 Philipp Schuster <philipp.schuster@cyberus-technology.de>

misc: Fix various spelling errors using typos

This fixes all typos found by the typos utility with respect to the config file.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.d

misc: Fix various spelling errors using typos

This fixes all typos found by the typos utility with respect to the config file.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.typos.toml
/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/x86_64/mod.rs
/cloud-hypervisor/arch/src/x86_64/tdx/mod.rs
/cloud-hypervisor/block/Cargo.toml
/cloud-hypervisor/block/src/async_io.rs
/cloud-hypervisor/block/src/fixed_vhd.rs
/cloud-hypervisor/block/src/fixed_vhd_async.rs
/cloud-hypervisor/block/src/fixed_vhd_sync.rs
/cloud-hypervisor/block/src/lib.rs
/cloud-hypervisor/block/src/qcow/mod.rs
/cloud-hypervisor/block/src/qcow/qcow_raw_file.rs
/cloud-hypervisor/block/src/qcow/raw_file.rs
/cloud-hypervisor/block/src/qcow/refcount.rs
/cloud-hypervisor/block/src/qcow/vec_cache.rs
/cloud-hypervisor/block/src/qcow_sync.rs
/cloud-hypervisor/block/src/raw_async.rs
/cloud-hypervisor/block/src/raw_sync.rs
/cloud-hypervisor/block/src/vhd.rs
/cloud-hypervisor/block/src/vhdx/mod.rs
/cloud-hypervisor/block/src/vhdx/vhdx_bat.rs
/cloud-hypervisor/block/src/vhdx/vhdx_header.rs
/cloud-hypervisor/block/src/vhdx/vhdx_io.rs
/cloud-hypervisor/block/src/vhdx/vhdx_metadata.rs
/cloud-hypervisor/block/src/vhdx_sync.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/gpio_pl061.rs
/cloud-hypervisor/devices/src/legacy/i8042.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/devices/src/lib.rs
/cloud-hypervisor/devices/src/pvpanic.rs
/cloud-hypervisor/docs/amd_sev_snp.md
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/logging.md
/cloud-hypervisor/docs/memory.md
/cloud-hypervisor/docs/tracing.md
/cloud-hypervisor/docs/windows.md
/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/fuzz/fuzz_targets/balloon.rs
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/fuzz/fuzz_targets/cmos.rs
/cloud-hypervisor/fuzz/fuzz_targets/iommu.rs
/cloud-hypervisor/fuzz/fuzz_targets/mem.rs
/cloud-hypervisor/fuzz/fuzz_targets/qcow.rs
/cloud-hypervisor/fuzz/fuzz_targets/rng.rs
/cloud-hypervisor/fuzz/fuzz_targets/serial.rs
/cloud-hypervisor/fuzz/fuzz_targets/vhdx.rs
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/cmp.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mov.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/mod.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/hypervisor.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/vm.rs
/cloud-hypervisor/net_gen/src/if_tun.rs
/cloud-hypervisor/net_gen/src/iff.rs
/cloud-hypervisor/net_gen/src/lib.rs
/cloud-hypervisor/net_util/Cargo.toml
/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/msi.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/performance-metrics/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/check-image-compatibility.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_rate_limiter.sh
/cloud-hypervisor/scripts/run_integration_tests_sgx.sh
/cloud-hypervisor/scripts/run_integration_tests_vfio.sh
/cloud-hypervisor/scripts/run_integration_tests_windows_x86_64.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/src/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/ubuntu/ci/user-data
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/test_infra/src/lib.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/tpm/src/lib.rs
/cloud-hypervisor/tracer/Cargo.toml
/cloud-hypervisor/tracer/src/tracer.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/virtio-devices/Cargo.toml
/cloud-hypervisor/virtio-devices/src/balloon.rs
/cloud-hypervisor/virtio-devices/src/block.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/vsock/csm/txbuf.rs
/cloud-hypervisor/virtio-devices/src/vsock/device.rs
/cloud-hypervisor/virtio-devices/src/vsock/packet.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
lib.rs
system.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/bus.rs
/cloud-hypervisor/vm-device/src/interrupt/mod.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/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.rs
/cloud-hypervisor/vmm/src/api/dbus/mod.rs
/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/pci_segment.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/serial_manager.rs
/cloud-hypervisor/vmm/src/sigwinch_listener.rs
/cloud-hypervisor/vmm/src/vm.rs
/cloud-hypervisor/vmm/src/vm_config.rs
99a98f2726-Jun-2023 Ravi kumar Veeramally <ravikumar.veeramally@intel.com>

vm-allicator: Remove "new_without_default" clippy

Add a Default implementation that delegates to new, so that clippy
can be removed.

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel

vm-allicator: Remove "new_without_default" clippy

Add a Default implementation that delegates to new, so that clippy
can be removed.

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com>

show more ...

5a9dd74802-Jun-2023 Jianyong Wu <jianyong.wu@arm.com>

vm-allocator: Add page size related functions

To avoid code duplication extract page related functions to their
own module and add utility functions for manipulating addresses
related to page sizes

vm-allocator: Add page size related functions

To avoid code duplication extract page related functions to their
own module and add utility functions for manipulating addresses
related to page sizes

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

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/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/MAINTAINERS.md
/cloud-hypervisor/README.md
/cloud-hypervisor/api_client/Cargo.toml
/cloud-hypervisor/api_client/src/lib.rs
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/arch/src/aarch64/regs.rs
/cloud-hypervisor/arch/src/aarch64/uefi.rs
/cloud-hypervisor/arch/src/lib.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/Cargo.toml
/cloud-hypervisor/block_util/src/async_io.rs
/cloud-hypervisor/block_util/src/fixed_vhd_async.rs
/cloud-hypervisor/block_util/src/fixed_vhd_sync.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/build.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/interrupt_controller.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/debug_port.rs
/cloud-hypervisor/devices/src/legacy/gpio_pl061.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/devices/src/lib.rs
/cloud-hypervisor/devices/src/tpm.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/building.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/debug-port.md
/cloud-hypervisor/docs/gdb.md
/cloud-hypervisor/docs/heap-profiling.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/intel_tdx.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/live_migration.md
/cloud-hypervisor/docs/logging.md
/cloud-hypervisor/docs/memory.md
/cloud-hypervisor/docs/profiling.md
/cloud-hypervisor/docs/snapshot_restore.md
/cloud-hypervisor/docs/tpm.md
/cloud-hypervisor/docs/uefi.md
/cloud-hypervisor/docs/vhost-user-blk-testing.md
/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/fuzz/fuzz_targets/linux_loader.rs
/cloud-hypervisor/fuzz/fuzz_targets/linux_loader_cmdline.rs
/cloud-hypervisor/fuzz/fuzz_targets/net.rs
/cloud-hypervisor/fuzz/fuzz_targets/serial.rs
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/movs.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/mod.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/hypervisor.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/redist_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/net_gen/Cargo.toml
/cloud-hypervisor/net_gen/src/iff.rs
/cloud-hypervisor/net_gen/src/lib.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/mac.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/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/lib.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/performance-metrics/src/main.rs
/cloud-hypervisor/performance-metrics/src/performance_tests.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/qcow/src/qcow_raw_file.rs
/cloud-hypervisor/qcow/src/raw_file.rs
/cloud-hypervisor/qcow/src/refcount.rs
/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/ch-trace-visualiser.py
/cloud-hypervisor/scripts/create-cloud-init.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_rate_limiter.sh
/cloud-hypervisor/scripts/run_integration_tests_sgx.sh
/cloud-hypervisor/scripts/run_integration_tests_vfio.sh
/cloud-hypervisor/scripts/run_integration_tests_windows_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_windows_x86_64.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/sha1sums-x86_64
/cloud-hypervisor/scripts/test-util.sh
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/ubuntu/ci/meta-data
/cloud-hypervisor/test_data/cloud-init/ubuntu/ci/network-config
/cloud-hypervisor/test_data/cloud-init/ubuntu/ci/user-data
/cloud-hypervisor/test_data/cloud-init/ubuntu/local/meta-data
/cloud-hypervisor/test_data/cloud-init/ubuntu/local/network-config
/cloud-hypervisor/test_data/cloud-init/ubuntu/local/user-data
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/test_infra/src/lib.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/tpm/Cargo.toml
/cloud-hypervisor/tpm/src/emulator.rs
/cloud-hypervisor/tpm/src/lib.rs
/cloud-hypervisor/tpm/src/socket.rs
/cloud-hypervisor/tracer/Cargo.toml
/cloud-hypervisor/tracer/src/tracer.rs
/cloud-hypervisor/vhdx/Cargo.toml
/cloud-hypervisor/vhdx/src/vhdx.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_block/src/lib.rs
/cloud-hypervisor/vhost_user_block/src/main.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/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/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/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/transport/mod.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/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/csm/mod.rs
/cloud-hypervisor/virtio-devices/src/vsock/csm/txbuf.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/mod.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer_killq.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer_rxq.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
lib.rs
page_size.rs
system.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/bus.rs
/cloud-hypervisor/vm-device/src/dma_mapping/vfio.rs
/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/acpi.rs
/cloud-hypervisor/vmm/src/api/dbus/mod.rs
/cloud-hypervisor/vmm/src/api/http/http_endpoint.rs
/cloud-hypervisor/vmm/src/api/http/mod.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/device_tree.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/migration.rs
/cloud-hypervisor/vmm/src/pci_segment.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/serial_manager.rs
/cloud-hypervisor/vmm/src/sigwinch_listener.rs
/cloud-hypervisor/vmm/src/vm.rs
/cloud-hypervisor/vmm/src/vm_config.rs
3d08a0fb16-Nov-2022 Wei Liu <liuwe@microsoft.com>

vm-allocator: fix a clippy warning on missing safety comments

There is already a comment but Clippy isn't happy with its form.

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


/cloud-hypervisor/.github/dependabot.yml
/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.gitignore
/cloud-hypervisor/.rustfmt.toml
/cloud-hypervisor/CODEOWNERS
/cloud-hypervisor/CONTRIBUTING.md
/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/acpi_tables/src/rsdp.rs
/cloud-hypervisor/acpi_tables/src/sdt.rs
/cloud-hypervisor/api_client/Cargo.toml
/cloud-hypervisor/api_client/src/lib.rs
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.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/interrupts.rs
/cloud-hypervisor/arch/src/x86_64/layout.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/arch/src/x86_64/tdx/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/build.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/interrupt_controller.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.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/devices/src/lib.rs
/cloud-hypervisor/devices/src/tpm.rs
/cloud-hypervisor/docs/COPYING.docs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/arm64.md
/cloud-hypervisor/docs/balloon.md
/cloud-hypervisor/docs/building.md
/cloud-hypervisor/docs/cpu.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/device_model.md
/cloud-hypervisor/docs/fs.md
/cloud-hypervisor/docs/gdb.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/intel_sgx.md
/cloud-hypervisor/docs/intel_tdx.md
/cloud-hypervisor/docs/io_throttling.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/live_migration.md
/cloud-hypervisor/docs/memory.md
/cloud-hypervisor/docs/performance_metrics.md
/cloud-hypervisor/docs/profiling.md
/cloud-hypervisor/docs/releases.md
/cloud-hypervisor/docs/seccomp.md
/cloud-hypervisor/docs/snapshot_restore.md
/cloud-hypervisor/docs/tpm.md
/cloud-hypervisor/docs/tracing.md
/cloud-hypervisor/docs/uefi.md
/cloud-hypervisor/docs/vdpa.md
/cloud-hypervisor/docs/vfio-user.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/virtiofs-root.md
/cloud-hypervisor/docs/vsock.md
/cloud-hypervisor/docs/windows.md
/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/fuzz/fuzz_targets/balloon.rs
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/fuzz/fuzz_targets/cmos.rs
/cloud-hypervisor/fuzz/fuzz_targets/console.rs
/cloud-hypervisor/fuzz/fuzz_targets/http_api.rs
/cloud-hypervisor/fuzz/fuzz_targets/iommu.rs
/cloud-hypervisor/fuzz/fuzz_targets/mem.rs
/cloud-hypervisor/fuzz/fuzz_targets/pmem.rs
/cloud-hypervisor/fuzz/fuzz_targets/rng.rs
/cloud-hypervisor/fuzz/fuzz_targets/serial.rs
/cloud-hypervisor/fuzz/fuzz_targets/watchdog.rs
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/aarch64/gic.rs
/cloud-hypervisor/hypervisor/src/arch/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/arch/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/cmp.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/gdt.rs
/cloud-hypervisor/hypervisor/src/arch/x86/mod.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/device.rs
/cloud-hypervisor/hypervisor/src/hypervisor.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/dist_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/icc_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/gic/redist_regs.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/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/lib.rs
/cloud-hypervisor/net_util/src/mac.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/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/lib.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/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/qcow/src/qcow.rs
/cloud-hypervisor/qcow/src/raw_file.rs
/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/ch-trace-visualiser.py
/cloud-hypervisor/scripts/common-aarch64.sh
/cloud-hypervisor/scripts/create-cloud-init.sh
/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_rate_limiter.sh
/cloud-hypervisor/scripts/run_integration_tests_sgx.sh
/cloud-hypervisor/scripts/run_integration_tests_vfio.sh
/cloud-hypervisor/scripts/run_integration_tests_windows_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_windows_x86_64.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/sha1sums-aarch64
/cloud-hypervisor/scripts/sha1sums-x86_64
/cloud-hypervisor/scripts/test-util.sh
/cloud-hypervisor/scripts/windows-11-iot-enterprise-aarch64.raw.sha1
/cloud-hypervisor/serial_buffer/Cargo.toml
/cloud-hypervisor/serial_buffer/src/lib.rs
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/ubuntu/user-data
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/test_infra/src/lib.rs
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/tpm/Cargo.toml
/cloud-hypervisor/tpm/src/emulator.rs
/cloud-hypervisor/tpm/src/lib.rs
/cloud-hypervisor/tpm/src/socket.rs
/cloud-hypervisor/tracer/Cargo.toml
/cloud-hypervisor/tracer/src/lib.rs
/cloud-hypervisor/tracer/src/tracer.rs
/cloud-hypervisor/tracer/src/tracer_noop.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_io.rs
/cloud-hypervisor/vhdx/src/vhdx_metadata.rs
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/vhost_user_block/src/main.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/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/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/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/thread_helper.rs
/cloud-hypervisor/virtio-devices/src/transport/mod.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/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/csm/mod.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
system.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/bus.rs
/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-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/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/device_tree.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/migration.rs
/cloud-hypervisor/vmm/src/pci_segment.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/serial_manager.rs
/cloud-hypervisor/vmm/src/sigwinch_listener.rs
/cloud-hypervisor/vmm/src/vm.rs
/cloud-hypervisor/vmm/src/vm_config.rs
def98faf29-Oct-2021 Rob Bradford <robert.bradford@intel.com>

vmm, vm-allocator: Introduce an allocator for platform devices

This allocator allocates 64-bit MMIO addresses for use with platform
devices e.g. ACPI control devices and ensures there is no overlap

vmm, vm-allocator: Introduce an allocator for platform devices

This allocator allocates 64-bit MMIO addresses for use with platform
devices e.g. ACPI control devices and ensures there is no overlap with
PCI address space ranges which can cause issues with PCI device
remapping.

Use this allocator the ACPI platform devices.

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

show more ...

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

vm-allocator: Add accessors for start and end addresses of allocator

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


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/dco.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/cloud-hypervisor/.github/workflows/fuzz-build.yaml
/cloud-hypervisor/.github/workflows/quality-aarch64.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/CONTRIBUTING.md
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/MAINTAINERS.md
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/Cargo.toml
/cloud-hypervisor/acpi_tables/src/rsdp.rs
/cloud-hypervisor/acpi_tables/src/sdt.rs
/cloud-hypervisor/api_client/Cargo.toml
/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/dist_regs.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/gic/redist_regs.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/aarch64/uefi.rs
/cloud-hypervisor/arch/src/lib.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/arch/src/x86_64/tdx/mod.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/block_util/src/lib.rs
/cloud-hypervisor/block_util/src/qcow_sync.rs
/cloud-hypervisor/block_util/src/vhd.rs
/cloud-hypervisor/block_util/src/vhdx_sync.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/gpio_pl061.rs
/cloud-hypervisor/devices/src/legacy/i8042.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/api.md
/cloud-hypervisor/docs/arm64.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/fuzzing.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/intel_sgx.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/live_migration.md
/cloud-hypervisor/docs/memory.md
/cloud-hypervisor/docs/uefi.md
/cloud-hypervisor/docs/vfio-user.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/fuzz/fuzz_targets/vhdx.rs
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/or.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/hypervisor.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/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/lib.rs
/cloud-hypervisor/net_util/src/mac.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/bus.rs
/cloud-hypervisor/pci/src/configuration.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/pci/src/vfio_user.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/qcow/src/refcount.rs
/cloud-hypervisor/rate_limiter/Cargo.toml
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/resources/linux-config-aarch64
/cloud-hypervisor/resources/linux-config-x86_64
/cloud-hypervisor/rpm/cloud-hypervisor.spec
/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/sha1sums-x86_64
/cloud-hypervisor/scripts/test-util.sh
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/ubuntu/user-data
/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.rs
/cloud-hypervisor/vhdx/src/vhdx_bat.rs
/cloud-hypervisor/vhdx/src/vhdx_header.rs
/cloud-hypervisor/vhdx/src/vhdx_io.rs
/cloud-hypervisor/vhdx/src/vhdx_metadata.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_block/src/main.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/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/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/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/thread_helper.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
address.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/interrupt/mod.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/vm-virtio/src/queue.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/mod.rs
/cloud-hypervisor/vmm/src/api/openapi/cloud-hypervisor.yaml
/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/device_tree.rs
/cloud-hypervisor/vmm/src/interrupt.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/serial_buffer.rs
/cloud-hypervisor/vmm/src/serial_manager.rs
/cloud-hypervisor/vmm/src/sigwinch_listener.rs
/cloud-hypervisor/vmm/src/vm.rs
ff46fb6923-Mar-2021 Michael Zhao <michael.zhao@arm.com>

aarch64: Fix IRQ number setting for ACPI

On FDT, VMM can allocate IRQ from 0 for devices.
But on ACPI, the lowest range below 32 has to be avoided.

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


/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/src/sdt.rs
/cloud-hypervisor/arch/src/aarch64/fdt.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/aarch64/regs.rs
/cloud-hypervisor/arch/src/lib.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/docs/hotplug.md
/cloud-hypervisor/docs/macvtap-bridge.md
/cloud-hypervisor/docs/profiling.md
/cloud-hypervisor/docs/vfio.md
/cloud-hypervisor/docs/windows.md
/cloud-hypervisor/fuzz/Cargo.lock
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/hypervisor.rs
/cloud-hypervisor/hypervisor/src/kvm/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/resources/Dockerfile
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/sha1sums-aarch64
/cloud-hypervisor/tests/integration.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/src/lib.rs
/cloud-hypervisor/virtio-devices/src/net.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
system.rs
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.rs
/cloud-hypervisor/vmm/src/api/mod.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/vm.rs
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/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/acpi_tables/src/rsdp.rs
/cloud-hypervisor/acpi_tables/src/sdt.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/interrupts.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/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/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/devices/src/lib.rs
/cloud-hypervisor/docs/device_model.md
/cloud-hypervisor/docs/fs.md
/cloud-hypervisor/docs/hotplug.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/seccomp.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/virtiofs-root.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
/cloud-hypervisor/hypervisor/src/arch/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/cmp.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mov.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/movs.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/mod.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/vm.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/queue_pair.rs
/cloud-hypervisor/net_util/src/tap.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/bus.rs
/cloud-hypervisor/pci/src/configuration.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/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/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/dev_cli.sh
/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/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/ubuntu/user-data
/cloud-hypervisor/test_infra/Cargo.toml
/cloud-hypervisor/test_infra/src/lib.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/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/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/vsock/csm/connection.rs
/cloud-hypervisor/virtio-devices/src/vsock/csm/txbuf.rs
/cloud-hypervisor/virtio-devices/src/vsock/device.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/mod.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer.rs
/cloud-hypervisor/virtio-devices/src/watchdog.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
lib.rs
/cloud-hypervisor/vm-device/src/bus.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/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/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/device_tree.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
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/build.yaml
/cloud-hypervisor/.github/workflows/docker-image.yaml
/cloud-hypervisor/.github/workflows/fuzz-build.yaml
/cloud-hypervisor/.github/workflows/quality-aarch64.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/CONTRIBUTING.md
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/Cargo.toml
/cloud-hypervisor/api_client/Cargo.toml
/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/dist_regs.rs
/cloud-hypervisor/arch/src/aarch64/gic/gicv3.rs
/cloud-hypervisor/arch/src/aarch64/gic/gicv3_its.rs
/cloud-hypervisor/arch/src/aarch64/gic/icc_regs.rs
/cloud-hypervisor/arch/src/aarch64/gic/mod.rs
/cloud-hypervisor/arch/src/aarch64/gic/redist_regs.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/interrupts.rs
/cloud-hypervisor/arch/src/x86_64/layout.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/arch/src/x86_64/tdx/mod.rs
/cloud-hypervisor/arch_gen/src/x86/mod.rs
/cloud-hypervisor/arch_gen/src/x86/mpspec.rs
/cloud-hypervisor/block_util/Cargo.toml
/cloud-hypervisor/block_util/src/async_io.rs
/cloud-hypervisor/block_util/src/fixed_vhd_async.rs
/cloud-hypervisor/block_util/src/fixed_vhd_sync.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/vhd.rs
/cloud-hypervisor/build.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/interrupt_controller.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/fwdebug.rs
/cloud-hypervisor/devices/src/legacy/i8042.rs
/cloud-hypervisor/devices/src/legacy/rtc_pl031.rs
/cloud-hypervisor/devices/src/legacy/serial.rs
/cloud-hypervisor/devices/src/lib.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/arm64.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/device_model.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/intel_sgx.md
/cloud-hypervisor/docs/io_throttling.md
/cloud-hypervisor/docs/logging.md
/cloud-hypervisor/docs/macvtap-bridge.md
/cloud-hypervisor/docs/memory.md
/cloud-hypervisor/docs/networking.md
/cloud-hypervisor/docs/profiling.md
/cloud-hypervisor/docs/snapshot_restore.md
/cloud-hypervisor/docs/uefi.md
/cloud-hypervisor/docs/vfio.md
/cloud-hypervisor/docs/windows.md
/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/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/cmp.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/mov.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/instructions/movs.rs
/cloud-hypervisor/hypervisor/src/arch/x86/emulator/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/gdt.rs
/cloud-hypervisor/hypervisor/src/arch/x86/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/regs.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/device.rs
/cloud-hypervisor/hypervisor/src/hypervisor.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/mshv/mod.rs
/cloud-hypervisor/hypervisor/src/mshv/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/vm.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/queue_pair.rs
/cloud-hypervisor/net_util/src/tap.rs
/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/lib.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/qcow/src/raw_file.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/rpm/cloud-hypervisor.spec
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_cargo_tests.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.sh
/cloud-hypervisor/scripts/run_integration_tests_sgx.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/scripts/sha1sums-x86_64
/cloud-hypervisor/scripts/test-util.sh
/cloud-hypervisor/src/bin/ch-remote.rs
/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/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/rate_limiter.rs
/cloud-hypervisor/virtio-devices/src/rng.rs
/cloud-hypervisor/virtio-devices/src/seccomp_filters.rs
/cloud-hypervisor/virtio-devices/src/transport/mod.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/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/csm/connection.rs
/cloud-hypervisor/virtio-devices/src/vsock/csm/txbuf.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
system.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/bus.rs
/cloud-hypervisor/vm-device/src/dma_mapping/mod.rs
/cloud-hypervisor/vm-device/src/dma_mapping/vfio.rs
/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-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/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/device_tree.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
afc98a5e23-Aug-2020 Michael Zhao <michael.zhao@arm.com>

vmm: Fix AArch64 clippy warnings of vmm and other crates

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


/cloud-hypervisor/.github/workflows/audit.yaml
/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/cross-build.yaml
/cloud-hypervisor/.github/workflows/quality-aarch64.yaml
/cloud-hypervisor/.github/workflows/quality.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/src/sdt.rs
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/gic.rs
/cloud-hypervisor/arch/src/aarch64/gicv2.rs
/cloud-hypervisor/arch/src/aarch64/gicv3.rs
/cloud-hypervisor/arch/src/aarch64/gicv3_its.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/gdt.rs
/cloud-hypervisor/arch/src/x86_64/interrupts.rs
/cloud-hypervisor/arch/src/x86_64/layout.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/arch/src/x86_64/regs.rs
/cloud-hypervisor/arch/src/x86_64/smbios.rs
/cloud-hypervisor/arch_gen/src/x86/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/devices/src/gic.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/lib.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/arm64.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/debug-port.md
/cloud-hypervisor/docs/fs.md
/cloud-hypervisor/docs/fuzzing.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/intel_sgx.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/fuzz/.gitignore
/cloud-hypervisor/fuzz/Cargo.toml
/cloud-hypervisor/fuzz/fuzz_targets/block.rs
/cloud-hypervisor/fuzz/fuzz_targets/qcow.rs
/cloud-hypervisor/hypervisor/Cargo.toml
/cloud-hypervisor/hypervisor/src/arch/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/mod.rs
/cloud-hypervisor/hypervisor/src/arch/x86/msr_index.rs
/cloud-hypervisor/hypervisor/src/cpu.rs
/cloud-hypervisor/hypervisor/src/device.rs
/cloud-hypervisor/hypervisor/src/hypervisor.rs
/cloud-hypervisor/hypervisor/src/kvm/aarch64/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/mod.rs
/cloud-hypervisor/hypervisor/src/kvm/x86_64/mod.rs
/cloud-hypervisor/hypervisor/src/lib.rs
/cloud-hypervisor/hypervisor/src/vm.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/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/lib.rs
/cloud-hypervisor/pci/src/msi.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/qcow/src/qcow_raw_file.rs
/cloud-hypervisor/qcow/src/raw_file.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/rpm/cloud-hypervisor.spec
/cloud-hypervisor/scripts/create-cloud-init.sh
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_cargo_tests.sh
/cloud-hypervisor/scripts/run_integration_tests_aarch64.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/bin/ch-remote.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/ubuntu/network-config
/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_block/Cargo.toml
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/vhost_user_block/src/main.rs
/cloud-hypervisor/vhost_user_fs/Cargo.toml
/cloud-hypervisor/vhost_user_fs/src/main.rs
/cloud-hypervisor/vhost_user_fs/src/sandbox.rs
/cloud-hypervisor/vhost_user_fs/src/seccomp.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/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/block_io_uring.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/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/mmio.rs
/cloud-hypervisor/virtio-devices/src/transport/mod.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/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/csm/connection.rs
/cloud-hypervisor/virtio-devices/src/vsock/csm/mod.rs
/cloud-hypervisor/virtio-devices/src/vsock/csm/txbuf.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/mod.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer_killq.rs
/cloud-hypervisor/virtio-devices/src/vsock/unix/muxer_rxq.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
gsi.rs
/cloud-hypervisor/vm-device/src/interrupt/mod.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/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/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
99e72be112-Jun-2020 Henry Wang <Henry.Wang@arm.com>

unit tests: Fix unit tests and docs for AArch64

Currently, not every feature of the cloud-hypervisor is enabled
on AArch64, which means that on AArch64 machines, the
`run_unit_tests.sh` needs to be

unit tests: Fix unit tests and docs for AArch64

Currently, not every feature of the cloud-hypervisor is enabled
on AArch64, which means that on AArch64 machines, the
`run_unit_tests.sh` needs to be tailored and some unit test cases
should be run on x86_64 only.

Also this commit fixes the typo and unifies `Arm64` and `AArch64`
in the AArch64 document.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>

show more ...

b5f1c91209-Jun-2020 Michael Zhao <michael.zhao@arm.com>

vmm: Enable memory manager for AArch64

Screened IO space as it is not available on AArch64.

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

e948884609-Jun-2020 Michael Zhao <michael.zhao@arm.com>

vm-allocator: Enable vm-allocator for AArch64

Implemented GSI allocator and system allocator for AArch64.
Renamed some layout definitions to align more code between architectures.

Signed-off-by: Mi

vm-allocator: Enable vm-allocator for AArch64

Implemented GSI allocator and system allocator for AArch64.
Renamed some layout definitions to align more code between architectures.

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

show more ...

abd6204d10-Jun-2020 Anatol Belski <ab@php.net>

source: Fix file permissions

Rust sources and some data files should not be executable. The perms are
set to 644.

Signed-off-by: Anatol Belski <ab@php.net>


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/cross-build.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.gitignore
/cloud-hypervisor/.rustfmt.toml
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/Cargo.toml
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/gic.rs
/cloud-hypervisor/arch/src/aarch64/gicv2.rs
/cloud-hypervisor/arch/src/aarch64/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/gdt.rs
/cloud-hypervisor/arch/src/x86_64/interrupts.rs
/cloud-hypervisor/arch/src/x86_64/layout.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/arch/src/x86_64/regs.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/interrupt_controller.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/fwdebug.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/lib.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/fs.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/vhost-user-blk-testing.md
/cloud-hypervisor/docs/vhost-user-net-testing.md
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/mac.rs
/cloud-hypervisor/net_util/src/tap.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/lib.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/qcow/src/refcount.rs
/cloud-hypervisor/qcow/src/vec_cache.rs
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/resources/linux-config
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_integration_tests.sh
/cloud-hypervisor/scripts/run_unit_tests.sh
/cloud-hypervisor/scripts/sha1sums
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/bin/vhost_user_blk.rs
/cloud-hypervisor/src/bin/vhost_user_fs.rs
/cloud-hypervisor/src/bin/vhost_user_net.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/clear/openstack/latest/user_data
/cloud-hypervisor/test_data/cloud-init/ubuntu/meta-data
/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_fs/Cargo.toml
/cloud-hypervisor/vhost_user_fs/src/descriptor_utils.rs
/cloud-hypervisor/vhost_user_fs/src/filesystem.rs
/cloud-hypervisor/vhost_user_fs/src/fs_cache_req_handler.rs
/cloud-hypervisor/vhost_user_fs/src/fuse.rs
/cloud-hypervisor/vhost_user_fs/src/lib.rs
/cloud-hypervisor/vhost_user_fs/src/passthrough.rs
/cloud-hypervisor/vhost_user_fs/src/sandbox.rs
/cloud-hypervisor/vhost_user_fs/src/seccomp.rs
/cloud-hypervisor/vhost_user_fs/src/server.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/cloud-hypervisor/vhost_user_net/src/lib.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
address.rs
system.rs
/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-virtio/Cargo.toml
/cloud-hypervisor/vm-virtio/src/block.rs
/cloud-hypervisor/vm-virtio/src/console.rs
/cloud-hypervisor/vm-virtio/src/device.rs
/cloud-hypervisor/vm-virtio/src/iommu.rs
/cloud-hypervisor/vm-virtio/src/lib.rs
/cloud-hypervisor/vm-virtio/src/mem.rs
/cloud-hypervisor/vm-virtio/src/net.rs
/cloud-hypervisor/vm-virtio/src/net_util.rs
/cloud-hypervisor/vm-virtio/src/pmem.rs
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vm-virtio/src/rng.rs
/cloud-hypervisor/vm-virtio/src/transport/mmio.rs
/cloud-hypervisor/vm-virtio/src/transport/pci_common_config.rs
/cloud-hypervisor/vm-virtio/src/transport/pci_device.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/blk.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/fs.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/handler.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/mod.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/net.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/vu_common_ctrl.rs
/cloud-hypervisor/vm-virtio/src/vsock/device.rs
/cloud-hypervisor/vm-virtio/src/vsock/mod.rs
/cloud-hypervisor/vm-virtio/src/vsock/packet.rs
/cloud-hypervisor/vm-virtio/src/vsock/unix/muxer.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/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/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
b8e1cf2d11-Mar-2020 Sebastien Boeuf <sebastien.boeuf@intel.com>

vm-allocator: Add new function to free 32 bits MMIO address space

The allocator already had functions to allocate and free both IO and 64
bits MMIO address spaces, but it only had an allocating func

vm-allocator: Add new function to free 32 bits MMIO address space

The allocator already had functions to allocate and free both IO and 64
bits MMIO address spaces, but it only had an allocating function for 32
bits MMIO address space.

With this new function, it will be now possible to remove cleanly some
ranges from the 32 bits MMIO address space.

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

show more ...


/cloud-hypervisor/.travis.yml
/cloud-hypervisor/CONTRIBUTING.md
/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/acpi_tables/src/lib.rs
/cloud-hypervisor/acpi_tables/src/rsdp.rs
/cloud-hypervisor/acpi_tables/src/sdt.rs
/cloud-hypervisor/arch/Cargo.toml
/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/layout.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_gen/src/x86/mod.rs
/cloud-hypervisor/build.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/bus.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/i8042.rs
/cloud-hypervisor/devices/src/legacy/mod.rs
/cloud-hypervisor/devices/src/legacy/serial.rs
/cloud-hypervisor/devices/src/lib.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/debug-port.md
/cloud-hypervisor/docs/device_model.md
/cloud-hypervisor/docs/fs.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/networking.md
/cloud-hypervisor/docs/vfio.md
/cloud-hypervisor/net_gen/Cargo.toml
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/mac.rs
/cloud-hypervisor/net_util/src/tap.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/lib.rs
/cloud-hypervisor/pci/src/msi.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/qcow/src/qcow_raw_file.rs
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/resources/linux-virtio-fs-virtio-iommu-config
/cloud-hypervisor/scripts/create-cloud-init.sh
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_cargo_tests.sh
/cloud-hypervisor/scripts/run_integration_tests.sh
/cloud-hypervisor/scripts/run_openapi_tests.sh
/cloud-hypervisor/scripts/run_unit_tests.sh
/cloud-hypervisor/scripts/sha1sums
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/bin/vhost_user_blk.rs
/cloud-hypervisor/src/bin/vhost_user_fs.rs
/cloud-hypervisor/src/bin/vhost_user_net.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/clear/openstack/latest/meta_data.json
/cloud-hypervisor/test_data/cloud-init/clear/openstack/latest/user_data
/cloud-hypervisor/test_data/cloud-init/ubuntu/meta-data
/cloud-hypervisor/test_data/cloud-init/ubuntu/network-config
/cloud-hypervisor/test_data/cloud-init/ubuntu/user-data
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vfio/Cargo.toml
/cloud-hypervisor/vfio/src/lib.rs
/cloud-hypervisor/vfio/src/vfio_device.rs
/cloud-hypervisor/vfio/src/vfio_pci.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_fs/Cargo.toml
/cloud-hypervisor/vhost_user_fs/src/descriptor_utils.rs
/cloud-hypervisor/vhost_user_fs/src/file_traits.rs
/cloud-hypervisor/vhost_user_fs/src/filesystem.rs
/cloud-hypervisor/vhost_user_fs/src/fs_cache_req_handler.rs
/cloud-hypervisor/vhost_user_fs/src/fuse.rs
/cloud-hypervisor/vhost_user_fs/src/lib.rs
/cloud-hypervisor/vhost_user_fs/src/multikey.rs
/cloud-hypervisor/vhost_user_fs/src/passthrough.rs
/cloud-hypervisor/vhost_user_fs/src/server.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/cloud-hypervisor/vhost_user_net/src/lib.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
system.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/interrupt/mod.rs
/cloud-hypervisor/vm-device/src/lib.rs
/cloud-hypervisor/vm-virtio/Cargo.toml
/cloud-hypervisor/vm-virtio/src/block.rs
/cloud-hypervisor/vm-virtio/src/console.rs
/cloud-hypervisor/vm-virtio/src/device.rs
/cloud-hypervisor/vm-virtio/src/iommu.rs
/cloud-hypervisor/vm-virtio/src/lib.rs
/cloud-hypervisor/vm-virtio/src/net.rs
/cloud-hypervisor/vm-virtio/src/net_util.rs
/cloud-hypervisor/vm-virtio/src/pmem.rs
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vm-virtio/src/rng.rs
/cloud-hypervisor/vm-virtio/src/transport/mmio.rs
/cloud-hypervisor/vm-virtio/src/transport/mod.rs
/cloud-hypervisor/vm-virtio/src/transport/pci_common_config.rs
/cloud-hypervisor/vm-virtio/src/transport/pci_device.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/blk.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/fs.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/handler.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/mod.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/net.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/vu_common_ctrl.rs
/cloud-hypervisor/vm-virtio/src/vsock/csm/connection.rs
/cloud-hypervisor/vm-virtio/src/vsock/csm/mod.rs
/cloud-hypervisor/vm-virtio/src/vsock/csm/txbuf.rs
/cloud-hypervisor/vm-virtio/src/vsock/device.rs
/cloud-hypervisor/vm-virtio/src/vsock/mod.rs
/cloud-hypervisor/vm-virtio/src/vsock/packet.rs
/cloud-hypervisor/vm-virtio/src/vsock/unix/mod.rs
/cloud-hypervisor/vm-virtio/src/vsock/unix/muxer.rs
/cloud-hypervisor/vm-virtio/src/vsock/unix/muxer_killq.rs
/cloud-hypervisor/vm-virtio/src/vsock/unix/muxer_rxq.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/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/vm.rs
0ff074d224-Jul-2019 Sebastien Boeuf <sebastien.boeuf@intel.com>

vm-allocator: Fix potential allocation errors

There is one corner case which was not properly handled by the current
code from our AddressAllocator. If both the address start (from the
next range) a

vm-allocator: Fix potential allocation errors

There is one corner case which was not properly handled by the current
code from our AddressAllocator. If both the address start (from the
next range) and the requested region size are already aligned on the
same value as "alignment", when doing the substract of the requested
size + alignment, the returned address is already aligned. The problem
is that we might end up overlapping with an existing range since the
check between the available delta and the requested size does not take
into account a full extra alignment.

By substracting the requested size + alignment - 1 from the address
start of the next range, we ensure this kind of corner case would not
happen since the address won't be naturally aligned and after some
adjustment from the function align_address(), the correct start address
will be returned.

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

show more ...

f98a69f417-Jul-2019 Sebastien Boeuf <sebastien.boeuf@intel.com>

vm-allocator: Introduce an MMIO hole address allocator

With this new AddressAllocator as part of the SystemAllocator, the
VMM can now decide with finer granularity where to place memory.

By allocat

vm-allocator: Introduce an MMIO hole address allocator

With this new AddressAllocator as part of the SystemAllocator, the
VMM can now decide with finer granularity where to place memory.

By allocating the RAM and the hole into the MMIO address space, we
ensure that no memory will be allocated by accident where the RAM or
where the hole is.
And by creating the new MMIO hole address space, we create a subset
of the entire MMIO address space where we can place 32 bits BARs for
example.

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

show more ...

12