mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-queue: Remove queue addresses translation
Now that the virtio-devices crate can take care of the queue addresses when placed behind a vIOMMU, we can remove the corresponding code. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
ce6446501d
commit
f29f3085ed
@@ -271,12 +271,6 @@ impl<M: GuestAddressSpace> Queue<M, QueueState> {
|
||||
pub fn iter(&mut self) -> Result<AvailIter<'_, M::T>, Error> {
|
||||
self.state.iter(self.mem.memory())
|
||||
}
|
||||
|
||||
/// Set the queue to "ready", and update desc_table, avail_ring and
|
||||
/// used_ring addresses based on the AccessPlatform handler.
|
||||
pub fn enable(&mut self, set: bool) {
|
||||
self.state.enable(set)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user