virt-manager/virtman-dont-allow-grub.xen-to-be-deleted.patch
Charles Arnold 8b0cf3e366 - bnc#885094 - sles 12 beta 9 virt manager install of sles 12 pv
guest over nfs fails to reboot
  virtman-dont-allow-grub.xen-to-be-deleted.patch
- bnc#885273 - create virtual network wizard accept empty name
  virtman-check-for-empty-network-name.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=185
2014-07-01 19:11:34 +00:00

16 lines
554 B
Diff

bnc#885094
Index: virt-manager-1.0.1/virtManager/delete.py
===================================================================
--- virt-manager-1.0.1.orig/virtManager/delete.py
+++ virt-manager-1.0.1/virtManager/delete.py
@@ -242,7 +242,7 @@ def populate_storage_list(storage_list,
diskdata.append(("dtb", vm.get_xmlobj().os.dtb, True, False))
for target, path, ro, shared in diskdata:
- if not path:
+ if not path or path == "/usr/lib/grub2/x86_64-xen/grub.xen":
continue
# There are a few pieces here