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

Function platform_fixture

vmm/src/config.rs:4975–4990  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4973 }
4974
4975 fn platform_fixture() -> PlatformConfig {
4976 PlatformConfig {
4977 num_pci_segments: MAX_NUM_PCI_SEGMENTS,
4978 iommu_segments: None,
4979 iommu_address_width_bits: MAX_IOMMU_ADDRESS_WIDTH_BITS,
4980 serial_number: None,
4981 uuid: None,
4982 oem_strings: None,
4983 iommufd: false,
4984 vfio_p2p_dma: default_platformconfig_vfio_p2p_dma(),
4985 #[cfg(feature = "tdx")]
4986 tdx: false,
4987 #[cfg(feature = "sev_snp")]
4988 sev_snp: false,
4989 }
4990 }
4991
4992 fn numa_fixture() -> NumaConfig {
4993 NumaConfig {

Callers 1

test_config_validationFunction · 0.85

Tested by 1

test_config_validationFunction · 0.68