aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2025-11-17 16:13:55 +0100
committerAlexander Potapenko <glider@google.com>2025-11-19 08:59:40 +0000
commita0dd64f852f58d267f78c25c35b3f3eae2b521c7 (patch)
tree9b3b4345aa6b28ba5498df41e5515fd846697d73 /sys
parent825f9f21aae8dd655126b50de70210bacbd330f9 (diff)
executor: x86: implement SYZOS_API_ENABLE_NESTED
Add vendor-specific code to turn on nested virtualization on Intel and AMD. Also provide get_cpu_vendor() to pick the correct implementation.
Diffstat (limited to 'sys')
-rw-r--r--sys/linux/dev_kvm_amd64.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/linux/dev_kvm_amd64.txt b/sys/linux/dev_kvm_amd64.txt
index ed2880063..4fd3cdf66 100644
--- a/sys/linux/dev_kvm_amd64.txt
+++ b/sys/linux/dev_kvm_amd64.txt
@@ -105,6 +105,7 @@ syzos_api_call$x86 [
in_dx syzos_api$x86[130, syzos_api_in_dx]
out_dx syzos_api$x86[170, syzos_api_out_dx]
set_irq_handler syzos_api$x86[190, syzos_api_set_irq_handler]
+ enable_nested syzos_api$x86[230, const[0, intptr]]
] [varlen]
kvm_text_x86 [