virtio-devices: Remove unused method from VirtioDevice trait

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf 2022-01-26 13:59:06 +01:00 committed by Rob Bradford
parent f29f3085ed
commit 7d09df468d

View File

@ -127,10 +127,6 @@ pub trait VirtioDevice: Send {
std::unimplemented!()
}
fn iommu_translate(&self, addr: u64) -> u64 {
addr
}
/// Some devices may need to do some explicit shutdown work. This method
/// may be implemented to do this. The VMM should call shutdown() on
/// every device as part of shutting down the VM. Acting on the device