On Tue, Nov 07, 2017 at 11:28:24PM -0300, Philippe Mathieu-Daudé wrote: > From: Alistair Francis <alistair.fran...@xilinx.com> > > The EP108 was an early access development board that is no longer used. > Add an info message to convert any users to the ZCU102 instead. On QEMU > they are both identical. > > Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com> > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > hw/arm/xlnx-zcu102.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c > index e2d15a1c9d..d42b6e3d3a 100644 > --- a/hw/arm/xlnx-zcu102.c > +++ b/hw/arm/xlnx-zcu102.c > @@ -164,6 +164,8 @@ static void xlnx_ep108_init(MachineState *machine) > { > XlnxZCU102 *s = EP108_MACHINE(machine); > > + info_report("Please use the ZCU102 machine instead of this machine.");
Why do we need this, in addition to the generic deprecation message that says basically the same thing ? > + > xlnx_zynqmp_init(s, machine); > } > > @@ -180,11 +182,13 @@ static void xlnx_ep108_machine_class_init(ObjectClass > *oc, void *data) > { > MachineClass *mc = MACHINE_CLASS(oc); > > - mc->desc = "Xilinx ZynqMP EP108 board (Deprecated, please use > xlnx-zcu102)"; > + mc->desc = "Xilinx ZynqMP EP108 board"; > mc->init = xlnx_ep108_init; > mc->block_default_type = IF_IDE; > mc->units_per_default_bus = 1; > mc->ignore_memory_transaction_failures = true; > + mc->deprecated_reason = > + "The ZCU102 machine has the same features supported"; > } Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|