1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Sat, 21 Jan 2017 00:01:16 +0100
3 Subject: [PATCH] AArch64: Cirros TestVM: Use AAVMF (guest UEFI)
5 Based on the direct kernel boot patch by Stan.
7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
10 nailgun/nailgun/orchestrator/deployment_serializers.py | 7 +++++++
11 1 file changed, 7 insertions(+)
13 diff --git a/nailgun/nailgun/orchestrator/deployment_serializers.py b/nailgun/nailgun/orchestrator/deployment_serializers.py
14 index 77fcba1..fd33b3f 100644
15 --- a/nailgun/nailgun/orchestrator/deployment_serializers.py
16 +++ b/nailgun/nailgun/orchestrator/deployment_serializers.py
17 @@ -284,6 +284,13 @@ class DeploymentMultinodeSerializer(object):
18 'hypervisor_type': 'vmware'
21 + # AArch64: Use AAVMF (guest UEFI)
22 + if arch == 'aarch64':
24 + 'hw_firmware_type': 'uefi',
25 + 'short_id': 'ubuntu16.04'
28 # NOTE(aschultz): properties was added as part of N and should be
29 # used infavor of glance_properties
30 image_data['glance_properties'] = self.generate_properties_arguments(