Searched refs:testarea (Results 1 – 1 of 1) sorted by relevance
378 void *testarea = NULL; in postcopy_ram_supported_by_host() local438 testarea = mmap(NULL, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | in postcopy_ram_supported_by_host()440 if (testarea == MAP_FAILED) { in postcopy_ram_supported_by_host()444 g_assert(QEMU_PTR_IS_ALIGNED(testarea, pagesize)); in postcopy_ram_supported_by_host()446 reg_struct.range.start = (uintptr_t)testarea; in postcopy_ram_supported_by_host()455 range_struct.start = (uintptr_t)testarea; in postcopy_ram_supported_by_host()474 if (testarea) { in postcopy_ram_supported_by_host()475 munmap(testarea, pagesize); in postcopy_ram_supported_by_host()