virt-manager/virtman-check-for-empty-network-name.patch
Charles Arnold f511ebe400 - bnc#888173 - KVM: Unable to install: no console output from
virt-install
  virtman-s390x-default-to-vminstall.patch

- bnc#890350 - Can't create virtual networks through virt-manager
  53ad17e6-createnet-fix-a-small-pylint.patch

- Upstream bug fix
  53ce11d1-honor-untoggled-set-fixed-MAC-address.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=192
2014-08-11 21:36:23 +00:00

16 lines
612 B
Diff

bnc#885273
Index: virt-manager-1.0.1/virtManager/createnet.py
===================================================================
--- virt-manager-1.0.1.orig/virtManager/createnet.py
+++ virt-manager-1.0.1/virtManager/createnet.py
@@ -253,6 +253,8 @@ class vmmCreateNetwork(vmmGObjectUI):
try:
net = self._build_xmlstub()
net.name = self.widget("net-name").get_text()
+ if net.name == '':
+ return self.err.val_err(_("Invalid network name"), "")
except Exception, e:
return self.err.val_err(_("Invalid network name"), str(e))