Last one in the batch of forgotten patches. Sorry I haven't sent these sooner. :( virt-manager supports saving memory images from libvirtd managed domains, but it doesn't restore them. This patch fixes that by teaching virt-manager to recognize libvirtd's magic string. -- Soren Hansen | Virtualisation specialist | Ubuntu Server Team Canonical Ltd. | http://www.ubuntu.com/
=== modified file 'src/virtManager/manager.py' Index: virt-manager-0.5.3/src/virtManager/manager.py =================================================================== --- virt-manager-0.5.3.orig/src/virtManager/manager.py 2008-03-12 10:18:38.472312907 +0100 +++ virt-manager-0.5.3/src/virtManager/manager.py 2008-03-12 10:18:58.224332725 +0100 @@ -335,7 +335,7 @@ try: f = open(file, "r") magic = f.read(16) - if magic != "LinuxGuestRecord": + if magic != "LinuxGuestRecord" and magic != "LibvirtQemudSave": return False return True except:
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools