mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
createvm: prioritize riscv64
As all major distros support the riscv64 architecture, add it to the list of prioritized architectures. This will move it up in the architecture drop-down menu and thereby easier to find when creating a new VM. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
da2f65f926
commit
e9dddcd7ac
@ -792,7 +792,7 @@ class vmmCreateVM(vmmGObjectUI):
|
||||
archs.sort()
|
||||
|
||||
prios = ["x86_64", "i686", "aarch64", "armv7l", "ppc64", "ppc64le",
|
||||
"s390x"]
|
||||
"riscv64", "s390x"]
|
||||
if self.conn.caps.host.cpu.arch not in prios:
|
||||
prios = [] # pragma: no cover
|
||||
for p in prios[:]:
|
||||
|
Loading…
Reference in New Issue
Block a user