pub fn create_queue(&self) -> Queue {
        let mut q = Queue::new(self.size());

        q.size = self.size();
        q.ready = true;
        q.desc_table = self.dtable_start();
        q.avail_ring = self.avail_start();
        q.used_ring = self.used_start();

        q
    }
// Creates a new Queue, using the underlying memory regions represented by the VirtQueue.
Creates a new Queue, using the underlying memory regions represented by the VirtQueue.
Creates a new Queue using the underlying memory regions represented by the VirtQueue .
pub fn create_queue(&self) -> Queue {
        let mut q = Queue::new(self.size());
        q.size = self.size();
        q.ready = true;
        q.desc_table = self.dtable_start();
        q.avail_ring = self.avail_start();
        q.used_ring = self.used_start();
        q
    }
pub fn create_queue ( & self ) -> Queue { let mut q = Queue :: new ( self . size ( ) ) ; q . size = self . size ( ) ; q . ready = true ; q . desc_table = self . dtable_start ( ) ; q . avail_ring = self . avail_start ( ) ; q . used_ring = self . used_start ( ) ; q }
Creates a new Queue, using the underlying memory regions represented by the VirtQueue.
Creates a new Queue using the underlying memory regions represented by the VirtQueue .
&self
&self