mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
create: Show TCG vs KVM for aarch64 too
Since it can be used for arm32 installs as well. Requested here; https://bugzilla.redhat.com/show_bug.cgi?id=1214592#c4
This commit is contained in:
parent
f371ac0de3
commit
b45a0ce286
@ -805,12 +805,12 @@ class vmmCreate(vmmGObjectUI):
|
|||||||
model.clear()
|
model.clear()
|
||||||
|
|
||||||
# Allow choosing between qemu and kvm for archs that traditionally
|
# Allow choosing between qemu and kvm for archs that traditionally
|
||||||
# have a decent amount of TCG usage, like armv7l
|
# have a decent amount of TCG usage, like armv7l. Also include
|
||||||
|
# aarch64 which can be used for arm32 VMs as well
|
||||||
domains = [d.hypervisor_type for d in self._capsinfo.guest.domains[:]]
|
domains = [d.hypervisor_type for d in self._capsinfo.guest.domains[:]]
|
||||||
if not self.conn.is_qemu():
|
if not self.conn.is_qemu():
|
||||||
domains = []
|
domains = []
|
||||||
elif self._capsinfo.arch in ["i686", "x86_64", "aarch64",
|
elif self._capsinfo.arch in ["i686", "x86_64", "ppc64", "ppc64le"]:
|
||||||
"ppc64", "ppc64le"]:
|
|
||||||
domains = []
|
domains = []
|
||||||
|
|
||||||
default = 0
|
default = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user