arm: virt: Add an abstract ARM virt machine type
commited796373b4880bc4d5cef1bfb7e362f12e944958
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)
treee8bd694a842b62099f64d4765122210a2d2abfe4
parent1b4093ea6678ff79d3006db3d3abbf6990b4a59b
arm: virt: Add an abstract ARM virt machine type

In preparation for future ARM virt machine types, this patch creates
an abstract type for all ARM machines. The current machine type in
QEMU (i.e. "virt") is renamed to "virt-2.6", whose naming scheme is
similar to other architectures. For the purpose of backward compatibility,
"virt" is converted to an alias, pointing to "virt-2.6". With this patch,
"qemu -M ?" lists the following virtual machine types along with others:

virt                 QEMU 2.6 ARM Virtual Machine (alias of virt-2.6)
virt-2.6             QEMU 2.6 ARM Virtual Machine

Signed-off-by: Wei Huang <wei@redhat.com>
Message-id: 1457717778-17727-2-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