mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Fix clippy lints on RISC-V
These caused CI failures in #7129. No functional change. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
This commit is contained in:
committed by
Rob Bradford
parent
0ff8d1cb28
commit
00f0b9e42c
@@ -1702,7 +1702,7 @@ impl CpuManager {
|
||||
n_supervisor_int_id: arch::riscv64::CLOUDHV_IRQCHIP_NUM_MSIS,
|
||||
n_guest_int_id: arch::riscv64::CLOUDHV_IRQCHIP_NUM_MSIS,
|
||||
geust_index_bits: 1,
|
||||
hart_index_bits: hart_index_bits,
|
||||
hart_index_bits,
|
||||
group_index_bits: 1,
|
||||
// IMSIC_MMIO_GROUP_MIN_SHIFT
|
||||
group_index_shift: 24,
|
||||
|
||||
@@ -1741,7 +1741,7 @@ impl DeviceManager {
|
||||
) -> DeviceManagerResult<Arc<Mutex<dyn InterruptController>>> {
|
||||
let interrupt_controller: Arc<Mutex<aia::Aia>> = Arc::new(Mutex::new(
|
||||
aia::Aia::new(
|
||||
self.config.lock().unwrap().cpus.boot_vcpus as u32,
|
||||
self.config.lock().unwrap().cpus.boot_vcpus,
|
||||
Arc::clone(&self.msi_interrupt_manager),
|
||||
self.address_manager.vm.clone(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user