diff --git a/pcid/src/cfg_access/fallback.rs b/pcid/src/cfg_access/fallback.rs index bd073eaf27..1f1e49a8ae 100644 --- a/pcid/src/cfg_access/fallback.rs +++ b/pcid/src/cfg_access/fallback.rs @@ -84,10 +84,6 @@ impl ConfigRegionAccess for Pci { } #[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))] impl ConfigRegionAccess for Pci { - fn function_exists(&self, _address: PciAddress) -> bool { - todo!(); - } - unsafe fn read(&self, addr: PciAddress, offset: u16) -> u32 { let _guard = self.lock.lock().unwrap(); todo!("Pci::CfgAccess::read on this architecture") diff --git a/virtio-core/src/arch/aarch64.rs b/virtio-core/src/arch/aarch64.rs index 5d855258ca..4801a1f25d 100644 --- a/virtio-core/src/arch/aarch64.rs +++ b/virtio-core/src/arch/aarch64.rs @@ -4,6 +4,6 @@ use pcid_interface::*; use crate::{transport::Error, Device}; -pub fn enable_msix(pcid_handle: &mut PcidServerHandle) -> Result { +pub fn enable_msix(pcid_handle: &mut PciFunctionHandle) -> Result { unimplemented!("virtio_core: aarch64 enable_msix") }