Reflect the pKVM experiment status from the property into the misc partition so the bootloader can apply it next boot. This is only done on builds that don't have pKVM enabled by default by pkvm_enabler. Bug: 192819132 Test: set property and observe change in pKVM state at reboot Change-Id: Ief85fa196f630867d0a0ced7fa4744f0241d41ea
13 lines
453 B
Text
13 lines
453 B
Text
service vendor.pkvm_enable /vendor/bin/misc_writer --set-enable-pkvm
|
|
disabled
|
|
oneshot
|
|
|
|
service vendor.pkvm_disable /vendor/bin/misc_writer --set-disable-pkvm
|
|
disabled
|
|
oneshot
|
|
|
|
on property:persist.device_config.virtualization_framework_native.isolated_compilation_enabled=true
|
|
start vendor.pkvm_enable
|
|
|
|
on property:persist.device_config.virtualization_framework_native.isolated_compilation_enabled=false
|
|
start vendor.pkvm_disable
|