Revert^2: pKVM: Include pvmfw and virt APEX in gs101 builds
Support for pKVM is being added to all gs101 builds starting with T, disabled by default. So far, the userspace components have been included only in special _pkvm builds. Include them unconditionally. Also move BOARD_* variables specifying location and partition size of pvmfw from vendor board config file here. This adds 89MB to the size of the system image. Bug: 192819132 Test: build a gs101 target, check /apex/com.android.virt exists Change-Id: Ie46b0ad5f45bd4757570b72cb275d002df7b4616
This commit is contained in:
parent
efcaa740ad
commit
ae3c59fc0b
2 changed files with 8 additions and 2 deletions
|
@ -422,4 +422,10 @@ BOARD_KERNEL_CMDLINE += at24.write_timeout=100
|
|||
# Enable larger logbuf
|
||||
BOARD_KERNEL_CMDLINE += log_buf_len=1024K
|
||||
|
||||
# Protected VM firmware
|
||||
BOARD_PREBUILT_PVMFWIMAGE := packages/modules/Virtualization/pvmfw/pvmfw.img
|
||||
BOARD_PVMFWIMAGE_PARTITION_SIZE := 0x00100000
|
||||
# TODO(ptosi): Delete this variable once AOSP starts using the other one
|
||||
BOARD_PVMFWIMG_PARTITION_SIZE = $(BOARD_PVMFWIMAGE_PARTITION_SIZE)
|
||||
|
||||
-include vendor/google_devices/gs101/proprietary/BoardConfigVendor.mk
|
||||
|
|
|
@ -1068,9 +1068,9 @@ PRODUCT_PACKAGES += \
|
|||
vendor.samsung_slsi.hardware.tetheroffload@1.1-service
|
||||
|
||||
# pKVM
|
||||
$(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk)
|
||||
PRODUCT_BUILD_PVMFW_IMAGE := true
|
||||
ifeq ($(TARGET_PKVM_ENABLED),true)
|
||||
$(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk)
|
||||
PRODUCT_BUILD_PVMFW_IMAGE := true
|
||||
PRODUCT_PACKAGES += pkvm_enabler
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue