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

Method create_group

vmm/src/interrupt.rs:390–395  ·  view source on GitHub ↗
(&self, config: Self::GroupConfig)

Source from the content-addressed store, hash-verified

388 type GroupConfig = LegacyIrqGroupConfig;
389
390 fn create_group(&self, config: Self::GroupConfig) -> Result<Arc<dyn InterruptSourceGroup>> {
391 Ok(Arc::new(LegacyUserspaceInterruptGroup::new(
392 self.ioapic.clone(),
393 config.irq,
394 )))
395 }
396
397 fn destroy_group(&self, _group: Arc<dyn InterruptSourceGroup>) -> Result<()> {
398 Ok(())

Callers 11

newMethod · 0.80
newMethod · 0.80
newMethod · 0.80
initialize_msixMethod · 0.80
initialize_msiMethod · 0.80
add_acpi_devicesMethod · 0.80
add_legacy_devicesMethod · 0.80
add_serial_deviceMethod · 0.80
add_vfio_deviceMethod · 0.80
add_vfio_user_deviceMethod · 0.80
newMethod · 0.80

Calls 3

newFunction · 0.85
cloneMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected