1# Copyright (C) 2021 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15owner: Platform
16module: "android.sysprop.HypervisorProperties"
17
18# Provides a free-form description of the version of the hypervisor in use
19# that Android is running as a guest of, if any. Empty string on native
20# Android deployments, or if the information was not or could not be supplied.
21prop {
22    api_name: "hypervisor_version"
23    type: String
24    scope: Public
25    access: Readonly
26    prop_name: "ro.boot.hypervisor.version"
27}
28
29# Declares whether or not the hypervisor supports running traditional virtual
30# machines that can be created and managed via VirtualizationService.
31prop {
32    api_name: "hypervisor_vm_supported"
33    type: Boolean
34    scope: Public
35    access: Readonly
36    prop_name: "ro.boot.hypervisor.vm.supported"
37}
38
39# Declares whether or not the hypervisor supports running protected virtual
40# machines, where the host cannot inspect the virtual machine's internal state,
41# that can be created and managed via VirtualizationService. pKVM is an example
42# of a hypervisor that supports protected virtual machines.
43prop {
44    api_name: "hypervisor_protected_vm_supported"
45    type: Boolean
46    scope: Public
47    access: Readonly
48    prop_name: "ro.boot.hypervisor.protected_vm.supported"
49}
50