mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Show 'virtio' net option for qemu guests, not just KVM
This commit is contained in:
parent
c3f602db60
commit
eeb0879d8f
@ -232,9 +232,9 @@ def populate_netmodel_combo(vm, combo):
|
||||
model.append([None, _("Hypervisor default")])
|
||||
if vm.is_hvm():
|
||||
mod_list = ["rtl8139", "ne2k_pci", "pcnet", "e1000"]
|
||||
if vm.get_hv_type() == "kvm":
|
||||
if vm.get_hv_type() in ["kvm", "qemu", "test"]:
|
||||
mod_list.append("virtio")
|
||||
if vm.get_hv_type() == "xen":
|
||||
if vm.get_hv_type() in ["xen", "test"]:
|
||||
mod_list.append("netfront")
|
||||
mod_list.sort()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user