2020-10-27 21:18:58 +01:00
|
|
|
References: bsc#1172356, bsc#1177620
|
2020-07-30 00:08:26 +02:00
|
|
|
Libvirt doesn't accept "Hypervisor default" as a model name
|
|
|
|
|
2020-10-27 21:18:58 +01:00
|
|
|
Index: virt-manager-3.1.0/virtinst/devices/interface.py
|
2020-07-30 00:08:26 +02:00
|
|
|
===================================================================
|
2020-10-27 21:18:58 +01:00
|
|
|
--- 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):
|
2020-07-30 00:08:26 +02:00
|
|
|
return "e1000e"
|
|
|
|
if not guest.os.is_x86():
|
|
|
|
return None
|
|
|
|
+ if guest.conn.is_xen() and guest.os.is_hvm():
|
2020-10-27 21:18:58 +01:00
|
|
|
+ # Let libvirt decide the default
|
|
|
|
+ return None
|
2020-07-30 00:08:26 +02:00
|
|
|
|
|
|
|
prefs = ["e1000", "rtl8139", "ne2k_pci", "pcnet"]
|
|
|
|
supported_models = guest.osinfo.supported_netmodels()
|