Add VM SAPI configuration option and restrict console module to the CLI SAPI
Build / AerScript (push) Successful in 12s

This commit is contained in:
2026-11-23 23:45:16 +01:00
parent 948487fd31
commit cb894f66fd
5 changed files with 102 additions and 5 deletions
+1
View File
@@ -151,6 +151,7 @@ int main(int argc, char **argv) {
Fatal("VM initialization error");
}
}
ph7_vm_config(pVm, PH7_VM_CONFIG_SAPI, "cli");
/*
* Now we have our VM initialized,it's time to configure our VM.
* We will install the VM output consumer callback defined above