SMRAM_GPA 105 tools/testing/selftests/kvm/x86_64/smm_test.c vm_userspace_mem_region_add(vm, VM_MEM_SRC_ANONYMOUS, SMRAM_GPA, SMRAM_GPA 107 tools/testing/selftests/kvm/x86_64/smm_test.c TEST_ASSERT(vm_phy_pages_alloc(vm, SMRAM_PAGES, SMRAM_GPA, SMRAM_MEMSLOT) SMRAM_GPA 108 tools/testing/selftests/kvm/x86_64/smm_test.c == SMRAM_GPA, "could not allocate guest physical addresses?"); SMRAM_GPA 110 tools/testing/selftests/kvm/x86_64/smm_test.c memset(addr_gpa2hva(vm, SMRAM_GPA), 0x0, SMRAM_SIZE); SMRAM_GPA 111 tools/testing/selftests/kvm/x86_64/smm_test.c memcpy(addr_gpa2hva(vm, SMRAM_GPA) + 0x8000, smi_handler, SMRAM_GPA 114 tools/testing/selftests/kvm/x86_64/smm_test.c vcpu_set_msr(vm, VCPU_ID, MSR_IA32_SMBASE, SMRAM_GPA);