Module test_utils

Module test_utils 

Source
Expand description

Utility functions for integration and benchmark testing

Modules§

mock_resources

Functions§

arch_mem
Creates a GuestMemoryMmap of the given size with the contained regions laid out in accordance with the requirements of the architecture on which the tests are being run.
arch_mem_raw
create_tmp_socket
create_vmm
default_vmm
default_vmm_no_boot
dirty_tracking_vmm
multi_region_mem
Creates a GuestMemoryMmap with multiple regions and without dirty page tracking.
multi_region_mem_raw
single_region_mem
Creates a GuestMemoryMmap with a single region of the given size starting at guest physical address 0 and without dirty tracking.
single_region_mem_at
Creates a GuestMemoryMmap with a single region of the given size starting at the given guest physical address at and without dirty tracking.
single_region_mem_at_raw
single_region_mem_raw