From 86dcebf4b39ff2e6b2d28691b308a571177e16a5 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sat, 25 Aug 2018 23:57:09 +0200 Subject: [AArch64] salt.control.virt support Salt relies on a limiting libvirt_domain j2 template to generate the XML it passes to libvirt for salt.control managed virtual machines. For AArch64, we need to set up 3 XML nodes in a non-default way: 1. UEFI firmware (AAVMF) should be enabled by passing a pflash loader; 2. CPU mode should be 'host-passthrough'; 3. QEMU machine type should be 'virt'; To allow configuring the above using pillar data: - virtng module: implement functionality similar to upstream changes: * 219b84a512 virt module: Allow NVRAM unlinking on DOM undefine in develop, not in 2018.2; * 9cace9adb9 Add support to virt for libvirt loader in develop, not in 2018.2; - virtng module: extend it with: * pass virt machine type to vm; * pass cpu_mode to vm; JIRA: ARMBAND-404 Change-Id: Ib2123e7170991b3dfbdb42bd1a2baa5a4360b200 Signed-off-by: Alexandru Avadanii --- mcp/salt-formulas/salt-formula-salt | 1 + 1 file changed, 1 insertion(+) create mode 160000 mcp/salt-formulas/salt-formula-salt (limited to 'mcp/salt-formulas') diff --git a/mcp/salt-formulas/salt-formula-salt b/mcp/salt-formulas/salt-formula-salt new file mode 160000 index 000000000..262e8b0ba --- /dev/null +++ b/mcp/salt-formulas/salt-formula-salt @@ -0,0 +1 @@ +Subproject commit 262e8b0ba270baf46a3ad264a5acf3d6056b5cd3 -- cgit 1.2.3-korg