hw/arm/virt: introduce DEFINE_VIRT_MACHINE_AS_LATEST
commit3356ebce9ef5a928acccad31f131e8c6e15ceb99
authorAndrew Jones <drjones@redhat.com>
Tue, 14 Jun 2016 14:59:12 +0000 (14 15:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Jun 2016 14:59:12 +0000 (14 15:59 +0100)
treedb11447b2389694df66f46211f788a72c6da3b2d
parentab093c3c55850cd11cd2bfdcfe33cbe563986955
hw/arm/virt: introduce DEFINE_VIRT_MACHINE_AS_LATEST

Create two variants of DEFINE_VIRT_MACHINE. One, just called
DEFINE_VIRT_MACHINE, that does not set properties that only
the latest machine type should have, and another that does.
This will hopefully reduce potential for errors when adding
new versions.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Message-id: 1465746713-30414-4-git-send-email-drjones@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c