]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/virt: Support -machine gic-version=max
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 9 Mar 2018 17:09:44 +0000 (17:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 9 Mar 2018 17:09:44 +0000 (17:09 +0000)
commitdc16538a985b1ed9175dc69382b0467e15e50949
tree8842076dbc4bf553028f97f94e453fa302f4cbf6
parent9076ddb3f60a0583b68de6b20ec2b664f08f71cc
hw/arm/virt: Support -machine gic-version=max

Add support for passing 'max' to -machine gic-version. By analogy
with the -cpu max option, this picks the "best available" GIC version
whether you're using KVM or TCG, so it behaves like 'host' when
using KVM, and gives you GICv3 when using TCG.

Also like '-cpu host', using -machine gic-version=max' means there
is no guarantee of migration compatibility between QEMU versions;
in future 'max' might mean '4'.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20180308130626.12393-7-peter.maydell@linaro.org
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
hw/arm/virt.c