MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / test_irq

Function test_irq

virtio-devices/src/vsock/device.rs:681–690  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

679
680 #[test]
681 fn test_irq() {
682 // Test case: successful IRQ signaling.
683 {
684 let test_ctx = TestContext::new();
685 let ctx = test_ctx.create_epoll_handler_context();
686
687 let _queue: Queue = Queue::new(256).unwrap();
688 ctx.handler.signal_used_queue(0).unwrap();
689 }
690 }
691
692 #[test]
693 fn test_txq_event() {

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
signal_used_queueMethod · 0.45

Tested by

no test coverage detected