arm/xilinx_zynq: Always instantiate the GEMs
commit7fcd57e80d134deb925aa47934040a39fd5fa1e0
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Sat, 4 Jan 2014 01:58:43 +0000 (3 17:58 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jan 2014 19:07:21 +0000 (8 19:07 +0000)
treeecd40b3de0c7a05194cb42b2cb8350ad769b0892
parentafb2530fe328079b3e4355fda9751a1dd9ef6ffb
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