Commit b350ae13 authored by Thomas Huth's avatar Thomas Huth Committed by Peter Maydell
Browse files

hw/arm: Silence xlnx-ep108 deprecation warning during tests



The new deprecation warning for the xlnx-ep108 machine also pops up
during "make check" which is kind of confusing. Silence it if testing
mode is enabled.

Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Reviewed-by: default avatarAlistair Francis <alistair.francis@xilinx.com>
Acked-by: default avatarWei Huang <wei@redhat.com>
Message-id: 1510846183-756-1-git-send-email-thuth@redhat.com
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent b6e70d1d
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
#include "qemu/error-report.h"
#include "exec/address-spaces.h"
#include "qemu/log.h"
#include "sysemu/qtest.h"

typedef struct XlnxZCU102 {
    MachineState parent_obj;
@@ -164,8 +165,10 @@ static void xlnx_ep108_init(MachineState *machine)
{
    XlnxZCU102 *s = EP108_MACHINE(machine);

    if (!qtest_enabled()) {
        info_report("The Xilinx EP108 machine is deprecated, please use the "
                "ZCU102 machine instead. It has the same features supported.");
                    "ZCU102 machine (which has the same features) instead.");
    }

    xlnx_zynqmp_init(s, machine);
}