cloud-hypervisor/vmm/src
Rob Bradford 0bead9ebe1 vmm: cpu: Fix slow vector initialization
warning: slow zero-filling initialization
    --> vmm/src/cpu.rs:1780:9
     |
1779 |         let mut mat_data: Vec<u8> = Vec::new();
     |                                     ---------- help: consider replacing this with: `vec![0; std::mem::size_of_val(&lapic)]`
1780 |         mat_data.resize(std::mem::size_of_val(&lapic), 0);
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization
     = note: `#[warn(clippy::slow_vector_initialization)]` on by default

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
2023-08-22 12:01:54 +01:00
..
api vmm: ignore and warn TAP FDs send in vm.create 2023-06-20 15:45:43 +01:00
acpi.rs vmm: Use LocalX2Apic in MADT/MAT 2023-07-18 09:35:13 -07:00
clone3.rs vmm: notify virtio-console of pty resizes 2021-09-14 15:43:25 +01:00
config.rs vmm: support removing devices before VM is booted 2023-07-14 10:01:23 -07:00
coredump.rs vmm: Automatically pause VM for coredump 2023-07-31 17:05:46 +01:00
cpu.rs vmm: cpu: Fix slow vector initialization 2023-08-22 12:01:54 +01:00
device_manager.rs fuzz, vmm: Avoid infinite loop in CMOS fuzzer 2023-08-07 08:04:55 +08:00
device_tree.rs vmm: reduce memory copy when BFT device tree 2023-05-15 17:19:48 +01:00
gdb.rs misc: Remove unnecessary clippy directives 2023-04-18 10:48:31 -07:00
interrupt.rs vm-device: support batch update interrupt source group GSI 2023-08-03 15:58:36 +01:00
lib.rs vmm: seccomp: implement seccomp filtering for the event-monitor thread 2023-08-09 17:22:25 +01:00
memory_manager.rs memory_manager: improve memory region creation 2023-07-10 11:54:05 -07:00
migration.rs vm-migration: Snapshot should have a unique SnapshotDataSection 2022-12-09 10:26:06 +01:00
pci_segment.rs build: Bump acpi_tables from cb5f06c to 05a6091 2023-06-08 17:28:02 +00:00
seccomp_filters.rs vmm: seccomp: implement seccomp filtering for the event-monitor thread 2023-08-09 17:22:25 +01:00
serial_manager.rs build: Fix beta clippy issue (useless_vec) 2023-07-13 08:16:30 -07:00
sigwinch_listener.rs vmm: use the SIGWINCH listener for TTYs too 2023-04-05 11:23:06 +01:00
vm_config.rs vmm: default GDB to false when deserializing 2023-07-14 09:34:39 -07:00
vm.rs vmm: Automatically pause VM for coredump 2023-07-31 17:05:46 +01:00