Home
last modified time | relevance | path

Searched refs:testarea (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/migration/
H A Dpostcopy-ram.c380 void *testarea = NULL; in postcopy_ram_supported_by_host() local
441 testarea = mmap(NULL, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | in postcopy_ram_supported_by_host()
443 if (testarea == MAP_FAILED) { in postcopy_ram_supported_by_host()
447 g_assert(QEMU_PTR_IS_ALIGNED(testarea, pagesize)); in postcopy_ram_supported_by_host()
449 reg_struct.range.start = (uintptr_t)testarea; in postcopy_ram_supported_by_host()
458 range_struct.start = (uintptr_t)testarea; in postcopy_ram_supported_by_host()
477 if (testarea) { in postcopy_ram_supported_by_host()
478 munmap(testarea, pagesize); in postcopy_ram_supported_by_host()