pub fn signal_used_queue(&self) -> result::Result<(), DeviceError> {
        debug!("vsock: raising IRQ");
        self.interrupt_status
            .fetch_or(VIRTIO_MMIO_INT_VRING as usize, Ordering::SeqCst);
        if let Some(intc) = &self.intc {
            intc.lock().unwrap().set_irq(self.irq_line.unwrap());
            Ok(())
        } else {
            self.interrupt_evt.write(1).map_err(|e| {
                error!("Failed to signal used queue: {:?}", e);
                DeviceError::FailedSignalingUsedQueue(e)
            })
        }
    }
/// Signal the guest driver that we've used some virtio buffers that it had previously made
/// available.
Signal the guest driver that we've used some virtio buffers that it had previously made
available.
Signal the guest driver that we ' ve used some virtio buffers that it had previously made available .
pub fn signal_used_queue(&self) -> result::Result<(), DeviceError> {
        debug!("vsock: raising IRQ");
        self.interrupt_status
            .fetch_or(VIRTIO_MMIO_INT_VRING as usize, Ordering::SeqCst);
        if let Some(intc) = &self.intc {
            intc.lock().unwrap().set_irq(self.irq_line.unwrap());
            Ok(())
        } else {
            self.interrupt_evt.write(1).map_err(|e| {
                error!("Failed to signal used queue: {:?}", e);
                DeviceError::FailedSignalingUsedQueue(e)
            })
        }
    }
pub fn signal_used_queue ( & self ) -> result :: Result < ( ) , DeviceError > { debug ! ( " " ) ; self . interrupt_status . fetch_or ( VIRTIO_MMIO_INT_VRING as usize , Ordering :: SeqCst ) ; if let Some ( intc ) = & self . intc { intc . lock ( ) . unwrap ( ) . set_irq ( self . irq_line . unwrap ( ) ) ; Ok ( ( ) ) } else { self . interrupt_evt . write ( 1 ) . map_err ( | e | { error ! ( " " e ) ; DeviceError :: FailedSignalingUsedQueue ( e ) } ) } }
Signal the guest driver that we've used some virtio buffers that it had previously made
available.
Signal the guest driver that we ' ve used some virtio buffers that it had previously made available .
&self