qemu: Fix GIC behavior for the default case

When no GIC version is specified, we currently default to GIC v2;
however, that's not a great default, since guests will fail to
start if the hardware only supports GIC v3.

Change the behavior so that a sensible default is chosen instead.
That basically means using the same algorithm whether the user
didn't explicitly enable the GIC feature or they explicitly
enabled it but didn't specify any GIC version.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
Andrea Bolognani committed 2018-02-13 14:40:03 +01:00
1 parent 7500533c56
commit 132548efde
5 files changed
+17 -19

No files matched your search

@@ -1 +1 @@
aarch64-gic-v2.args
aarch64-gic-v3.args
@@ -1 +1 @@
aarch64-gic-v2.args
aarch64-gic-v3.args
@@ -1 +1 @@
../qemuxml2argvdata/aarch64-gic-v2.xml
../qemuxml2argvdata/aarch64-gic-v3.xml
@@ -1 +1 @@
../qemuxml2argvdata/aarch64-gic-v2.xml
../qemuxml2argvdata/aarch64-gic-v3.xml