blob: bb8a3d05ee3a2af6e3cdbc51b5d66329dfcd1199 [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
source_set("hypervisor") {
sources = [
"guest.cc",
"invalidate.cc",
"pv.cc",
"vcpu.cc",
"vmcall.cc",
"vmexit.cc",
"vmx.S",
"vmx_cpu_state.cc",
]
deps = [
":tests",
"//zircon/kernel/arch/x86:headers",
"//zircon/kernel/hypervisor:headers",
"//zircon/kernel/lib/boot-options",
"//zircon/kernel/lib/syscalls:headers",
"//zircon/kernel/platform/pc",
]
}
source_set("tests") {
# TODO: testonly = true
sources = [ "vmx_test.cc" ]
deps = [
"//zircon/kernel/hypervisor:headers",
"//zircon/kernel/lib/unittest",
]
}