virt-manager/virtinst-set-default-nic.patch
Charles Arnold 34485d6634 - bsc#1174176 - IDE: "Only 2 disks for bus 'NONE' are supported"
virtman-disallow-adding-floppy-disk.patch

- bsc#1172356 - Not able to hot-plug NIC via virt-manager, asks to
  attach on next reboot while it should be live attached
  virtinst-set-default-nic.patch

- bsc#1169708 - Virtualization/virt-manager: Bug yast2 virt-install
  internal error
  virt-install.rb

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=503
2020-07-29 22:08:26 +00:00

17 lines
670 B
Diff

References: bsc#1172356
Libvirt doesn't accept "Hypervisor default" as a model name
Index: virt-manager-2.2.1/virtinst/devices/interface.py
===================================================================
--- virt-manager-2.2.1.orig/virtinst/devices/interface.py
+++ virt-manager-2.2.1/virtinst/devices/interface.py
@@ -256,6 +256,8 @@ 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"
prefs = ["e1000", "rtl8139", "ne2k_pci", "pcnet"]
supported_models = guest.osinfo.supported_netmodels()