virt-manager/virtman-dont-allow-grub.xen-to-be-deleted.patch
Charles Arnold 8b3b1b9096 - Upstream bug fixes
848123e6-fix-memory-stats-for-shutoff-VM.patch
  ebcb7c06-fix-exception-when-the-address-is-not-an-IP.patch
  c4d26d16-fix-VM-polling-on-old-libvirt.patch
  ac2be796-do-not-throw-exception-if-volume-or-pool-dont-exist.patch
  88e18c86-fix-sending-net-removed-signal.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=231
2015-05-08 22:17:44 +00:00

17 lines
685 B
Diff

Reference: bnc#885094
grub.xen is required to boot Xen PV VMs using BTRFS. It belongs to
the grub2-x86_64-xen RPM and should never be deleted.
Index: virt-manager-1.2.0/virtManager/delete.py
===================================================================
--- virt-manager-1.2.0.orig/virtManager/delete.py
+++ virt-manager-1.2.0/virtManager/delete.py
@@ -254,7 +254,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