arm/xilinx_zynq: Always instantiate the GEMs
commitec0e68ef1da316b3ead1943d8f607cc68b13e0d1
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Sat, 4 Jan 2014 01:58:43 +0000 (3 17:58 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Jan 2014 19:18:07 +0000 (7 19:18 +0000)
tree203f8bebf0b7f7dbdc15f0fe8c8ac3a8fc948992
parent8455bc76c76c5246694290a28c6ebd6797011c18
arm/xilinx_zynq: Always instantiate the GEMs

Don't conditionalise GEM instantiation on networking attachments. The
device should always be present even if not attached to a network.

This allows for probing of the device by expectant guests (such as
OS's).  This is needed because sysbus (or AXI in Xilinx's real hw case)
is not self identifying so the guest has no dynamic way of detecting
device absence.

Also allows for testing of the GEM in loopback mode with -net none.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 55649779a68ee3ff54b24c339b6fdbdccd1f0ed7.1388800598.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/xilinx_zynq.c