pub fn virtqueues(mem: &GuestMemoryMmap) -> (VirtQueue, VirtQueue) {
    let rxq = VirtQueue::new(GuestAddress(0), mem, 16);
    let txq = VirtQueue::new(GuestAddress(0x1000), mem, 16);
    assert!(rxq.end().0 < txq.start().0);

    (rxq, txq)
}
// Returns handles to virtio queues creation/activation and manipulation.
Returns handles to virtio queues creation/activation and manipulation.
Returns handles to virtio queues creation / activation and manipulation .
pub fn virtqueues(mem: &GuestMemoryMmap) -> (VirtQueue, VirtQueue) {
    let rxq = VirtQueue::new(GuestAddress(0), mem, 16);
    let txq = VirtQueue::new(GuestAddress(0x1000), mem, 16);
    assert!(rxq.end().0 < txq.start().0);
    (rxq, txq)
}
pub fn virtqueues ( mem : & GuestMemoryMmap ) -> ( VirtQueue , VirtQueue ) { let rxq = VirtQueue :: new ( GuestAddress ( 0 ) , mem , 16 ) ; let txq = VirtQueue :: new ( GuestAddress ( 0x1000 ) , mem , 16 ) ; assert ! ( rxq end ( ) 0 txq start ( ) 0 ) ; ( rxq , txq ) }
Returns handles to virtio queues creation/activation and manipulation.
Returns handles to virtio queues creation / activation and manipulation .
mem
&GuestMemoryMmap
mem
&GuestMemoryMmap