mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
virtio-devices: Remove unused method from VirtioDevice trait
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
f29f3085ed
commit
7d09df468d
@ -127,10 +127,6 @@ pub trait VirtioDevice: Send {
|
|||||||
std::unimplemented!()
|
std::unimplemented!()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn iommu_translate(&self, addr: u64) -> u64 {
|
|
||||||
addr
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Some devices may need to do some explicit shutdown work. This method
|
/// Some devices may need to do some explicit shutdown work. This method
|
||||||
/// may be implemented to do this. The VMM should call shutdown() on
|
/// 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
|
/// every device as part of shutting down the VM. Acting on the device
|
||||||
|
Loading…
Reference in New Issue
Block a user