- bsc#1177620 - [xen] deployed WIN2K19 guest system could not find

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
This commit is contained in:
Charles Arnold 2020-10-27 20:18:58 +00:00 committed by Git OBS Bridge
parent d131530f83
commit 8bfd716ef6
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 27 14:16:41 MDT 2020 - carnold@suse.com
- bsc#1177620 - [xen] deployed WIN2K19 guest system could not find
a driver for network adapter
virtinst-set-default-nic.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 25 02:34:44 UTC 2020 - Bruce Rogers <brogers@suse.com> Sun Oct 25 02:34:44 UTC 2020 - Bruce Rogers <brogers@suse.com>

View File

@ -1,16 +1,17 @@
References: bsc#1172356 References: bsc#1172356, bsc#1177620
Libvirt doesn't accept "Hypervisor default" as a model name Libvirt doesn't accept "Hypervisor default" as a model name
Index: virt-manager-3.0.0/virtinst/devices/interface.py Index: virt-manager-3.1.0/virtinst/devices/interface.py
=================================================================== ===================================================================
--- virt-manager-3.0.0.orig/virtinst/devices/interface.py --- virt-manager-3.1.0.orig/virtinst/devices/interface.py
+++ virt-manager-3.0.0/virtinst/devices/interface.py +++ virt-manager-3.1.0/virtinst/devices/interface.py
@@ -284,6 +284,8 @@ class DeviceInterface(Device): @@ -284,6 +284,9 @@ class DeviceInterface(Device):
return "e1000e" return "e1000e"
if not guest.os.is_x86(): if not guest.os.is_x86():
return None return None
+ if guest.conn.is_xen() and guest.os.is_hvm(): + if guest.conn.is_xen() and guest.os.is_hvm():
+ return "netfront" + # Let libvirt decide the default
+ return None
prefs = ["e1000", "rtl8139", "ne2k_pci", "pcnet"] prefs = ["e1000", "rtl8139", "ne2k_pci", "pcnet"]
supported_models = guest.osinfo.supported_netmodels() supported_models = guest.osinfo.supported_netmodels()