pub fn new(device_features: u64, queues: Vec<Queue<M>>, config_space: Vec<u8>) -> Self {
        VirtioConfig {
            device_features,
            driver_features: 0,
            device_features_select: 0,
            driver_features_select: 0,
            device_status: 0,
            queue_select: 0,
            queues,
            config_generation: 0,
            config_space,
            device_activated: false,
            interrupt_status: Arc::new(AtomicU8::new(0)),
        }
    }
/// Build and initialize a `VirtioConfig` object.
Build and initialize a `VirtioConfig` object.
Build and initialize a ` VirtioConfig ` object .
pub fn new(device_features: u64, queues: Vec<Queue<M>>, config_space: Vec<u8>) -> Self {
        VirtioConfig {
            device_features,
            driver_features: 0,
            device_features_select: 0,
            driver_features_select: 0,
            device_status: 0,
            queue_select: 0,
            queues,
            config_generation: 0,
            config_space,
            device_activated: false,
            interrupt_status: Arc::new(AtomicU8::new(0)),
        }
    }
pub fn new ( device_features : u64 , queues : Vec < Queue < M > > , config_space : Vec < u8 > ) -> Self { VirtioConfig { device_features , driver_features : 0 , device_features_select : 0 , driver_features_select : 0 , device_status : 0 , queue_select : 0 , queues , config_generation : 0 , config_space , device_activated : false , interrupt_status : Arc :: new ( AtomicU8 :: new ( 0 ) ) , } }
Build and initialize a `VirtioConfig` object.
Build and initialize a ` VirtioConfig ` object .
device_features
u64
queues
Vec<Queue<M>>
config_space
Vec<u8>
device_features
u64
queues
Vec<Queue<M>>
config_space
Vec<u8>