]> xenbits.xensource.com Git - qemu-xen-unstable.git/commitdiff
target-arm/machine.c: Allow user to request GICv3 emulation
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jun 2016 14:23:48 +0000 (15:23 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jun 2016 14:23:51 +0000 (15:23 +0100)
Now we have an emulated GICv3, remove the restriction in
gicv3_class_name() so that the user can request a GICv3 with
-machine gic-version=3 even when not using KVM.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org>
Tested-by: Shannon Zhao <shannon.zhao@linaro.org>
Message-id: 1465915112-29272-20-git-send-email-peter.maydell@linaro.org

target-arm/machine.c

index 2f452603f16ab8410b290a65db659487a7551fb5..2dbeb826cd72a8c520634e8eccea6ba9930a824d 100644 (file)
@@ -342,8 +342,7 @@ const char *gicv3_class_name(void)
                      "platform");
 #endif
     } else {
-        /* TODO: Software emulation is not implemented yet */
-        error_report("KVM is currently required for GICv3 emulation");
+        return "arm-gicv3";
     }
 
     exit(1);