diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c index 281d3ef490bbd001983db4e67407ce3bf92c2b2e..0644703acd11c1ab08f7d8ffd0d134d985978e91 100644 --- a/accel/stubs/kvm-stub.c +++ b/accel/stubs/kvm-stub.c @@ -151,4 +151,15 @@ int kvm_irqchip_update_usi_route(KVMRouteChange *c, int virq, USIMessage msg, UB { return -ENOSYS; } -#endif // CONFIG_UB \ No newline at end of file +#endif // CONFIG_UB + +#ifdef CONFIG_HUGEPAGE_POD +int kvm_update_touched_log(void) +{ + return -ENOSYS; +} +int kvm_clear_slot_dirty_bitmap(void *ram) +{ + return -ENOSYS; +} +#endif diff --git a/meson.build b/meson.build index 60752d9d77d3c2b32be3cd53b93bcebbde4fa7de..c669d0f9a07446590b8ed26a9ba5deecda9c53bf 100644 --- a/meson.build +++ b/meson.build @@ -576,6 +576,7 @@ config_host_data.set('CONFIG_MBIND_PROPORTION', have_mbind_proportion) # hugepage pod have_hugepage_pod = get_option('hugepage_pod') \ .require(targetos == 'linux', error_message: 'hugepage_pod is supported only on Linux') \ + .require(cpu == 'aarch64', error_message: 'hugepage_pod is supported only on aarch64') \ .allowed() config_host_data.set('CONFIG_HUGEPAGE_POD', have_hugepage_pod)