diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-06-22 19:33:54 +1000 |
|---|---|---|
| committer | Cédric Le Goater <clg@kaod.org> | 2023-06-25 22:41:30 +0200 |
| commit | 516cd737330a9b4d90a66136ebf738c4653b4e78 (patch) | |
| tree | fcc9998b6b3118e109a0579149cc37e4e062a969 /scripts/probe-gdb-support.py | |
| parent | d24e80b2ae3e061a200178d679711b5538479a72 (diff) | |
| download | focaccia-qemu-516cd737330a9b4d90a66136ebf738c4653b4e78.tar.gz focaccia-qemu-516cd737330a9b4d90a66136ebf738c4653b4e78.zip | |
hw/ppc/spapr: Test whether TCG is enabled with tcg_enabled()
Although the PPC target only supports the TCG and KVM accelerators, QEMU supports more. We can not assume that '!kvm == tcg', so test for the correct accelerator. This also eases code review, because here we don't care about KVM, we really want to test for TCG. Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> [np: Fix changelog typo noticed by Zoltan] Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'scripts/probe-gdb-support.py')
0 files changed, 0 insertions, 0 deletions