arm: virt: Move machine class init code to the abstract machine type
commit9c94d8e6c9a31a74f18168ca8d74c3e3f7c0e40e
authorWei Huang <wei@redhat.com>
Wed, 16 Mar 2016 17:05:59 +0000 (16 17:05 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 16 Mar 2016 17:42:18 +0000 (16 17:42 +0000)
tree97bc1162d0e1a78134dffc0bd629b33d565669cf
parented796373b4880bc4d5cef1bfb7e362f12e944958
arm: virt: Move machine class init code to the abstract machine type

This patch moves the common class initialization code from
"virt-2.6" to the new abstract class. An empty property is added to
"virt-2.6" machine. In the meanwhile, related funtions are renamed
to "virt_2_6_*" for consistency.

Signed-off-by: Wei Huang <wei@redhat.com>
Message-id: 1457717778-17727-3-git-send-email-wei@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c