Add early_vms.xml to Virtualization package to allow reusability
This patch is to move early_vms.xml from cuttlefish specfic directory
to Virtualization package to allow reusability.
Bug: 377925547
Test: Boot cuttlefish and brya
Change-Id: I4c2a37fc86269413da35defa3480f7ae0e0f17d8
diff --git a/guest/trusty/common/Android.bp b/guest/trusty/common/Android.bp
new file mode 100644
index 0000000..0541ed5
--- /dev/null
+++ b/guest/trusty/common/Android.bp
@@ -0,0 +1,7 @@
+prebuilt_etc {
+ name: "early_vms.xml",
+ src: "early_vms.xml",
+ filename: "early_vms.xml",
+ relative_install_path: "avf",
+ system_ext_specific: true,
+}
diff --git a/guest/trusty/common/early_vms.xml b/guest/trusty/common/early_vms.xml
new file mode 100644
index 0000000..1ed324c
--- /dev/null
+++ b/guest/trusty/common/early_vms.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2024 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<early_vms>
+ <early_vm>
+ <name>trusty_security_vm_launcher</name>
+ <cid>200</cid>
+ <path>/system_ext/bin/trusty_security_vm_launcher</path>
+ </early_vm>
+</early_vms>