Andrew Jones 516fc0a081 accel: kvm: Fix kvm_type invocation
Prior to commit f2ce39b4f067 a MachineClass kvm_type method
only needed to be registered to ensure it would be executed.
With commit f2ce39b4f067 a kvm-type machine property must also
be specified. hw/arm/virt relies on the kvm_type method to pass
its selected IPA limit to KVM, but this is not exposed as a
machine property. Restore the previous functionality of invoking
kvm_type when it's present.

Fixes: f2ce39b4f067 ("vl: make qemu_get_machine_opts static")
Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20210310135218.255205-2-drjones@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-03-12 12:47:11 +00:00
..
2021-01-12 21:19:02 +00:00
2020-12-10 17:16:44 +01:00
2021-01-19 10:20:29 +11:00
2021-02-21 18:41:04 +01:00
2021-03-05 15:17:34 +00:00
2021-02-10 15:42:20 +00:00
2021-03-09 21:19:10 +01:00
2021-03-09 13:50:35 +00:00
2021-02-21 12:12:18 +00:00
2021-03-06 16:18:42 +01:00
2020-12-15 12:53:13 -05:00
2021-03-12 12:47:11 +00:00
2021-03-09 21:27:51 +01:00
2021-01-22 14:51:35 +01:00