From 8bfd716ef688a63521cf1614007e9e70bb1fd499 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Tue, 27 Oct 2020 20:18:58 +0000 Subject: [PATCH] - 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 --- virt-manager.changes | 7 +++++++ virtinst-set-default-nic.patch | 13 +++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/virt-manager.changes b/virt-manager.changes index 3193cf1d..1839f018 100644 --- a/virt-manager.changes +++ b/virt-manager.changes @@ -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 diff --git a/virtinst-set-default-nic.patch b/virtinst-set-default-nic.patch index 71562436..3c443389 100644 --- a/virtinst-set-default-nic.patch +++ b/virtinst-set-default-nic.patch @@ -1,16 +1,17 @@ -References: bsc#1172356 +References: bsc#1172356, bsc#1177620 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.0.0/virtinst/devices/interface.py -@@ -284,6 +284,8 @@ class DeviceInterface(Device): +--- 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(): -+ return "netfront" ++ # Let libvirt decide the default ++ return None prefs = ["e1000", "rtl8139", "ne2k_pci", "pcnet"] supported_models = guest.osinfo.supported_netmodels()