macro_rules! suspendable_virtio_tests {
($name:ident, $dev: expr, $num_queues:literal, $modfun:expr) => { ... };
}Expand description
name is the name of the test grouping. Can be anything unique within the same crate.
dev is a block that returns a created virtio device.
``num_queuesis the number of queues to be created.modfun` is the function name of the function that would modify the device. The function call
should modify the device so that a snapshot taken after the function call would be different
from a snapshot taken before the function call.