8bfd716ef6
a driver for network adapter virtinst-set-default-nic.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=521
18 lines
723 B
Diff
18 lines
723 B
Diff
References: bsc#1172356, bsc#1177620
|
|
Libvirt doesn't accept "Hypervisor default" as a model name
|
|
|
|
Index: virt-manager-3.1.0/virtinst/devices/interface.py
|
|
===================================================================
|
|
--- virt-manager-3.1.0.orig/virtinst/devices/interface.py
|
|
+++ virt-manager-3.1.0/virtinst/devices/interface.py
|
|
@@ -284,6 +284,9 @@ class DeviceInterface(Device):
|
|
return "e1000e"
|
|
if not guest.os.is_x86():
|
|
return None
|
|
+ if guest.conn.is_xen() and guest.os.is_hvm():
|
|
+ # Let libvirt decide the default
|
|
+ return None
|
|
|
|
prefs = ["e1000", "rtl8139", "ne2k_pci", "pcnet"]
|
|
supported_models = guest.osinfo.supported_netmodels()
|