target-arm: Add virt class and machine types
commitc29196904b2bad015edc553a5693c5c9e6f8177a
authorGreg Bellows <greg.bellows@linaro.org>
Mon, 15 Dec 2014 23:09:43 +0000 (15 17:09 -0600)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 22 Dec 2014 23:12:28 +0000 (22 23:12 +0000)
treec7ab0e2456ec077983478214e22ba7350f36590d
parente364bab69bd70825e7583e0bbc812fb67b63b366
target-arm: Add virt class and machine types

Switch virt qemu machine support to use the newer object type, class, and
instance model.  Added virt TypeInfo with static registration along with virt
specific class and machine structs.  Also added virt class initialization
method.

Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1418684992-8996-7-git-send-email-greg.bellows@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c