I don't think it would be safe at any rate to have the ISO images be
written to while kvm is reading them.  Would it be ok to work around
this another way?

Perhaps the right way to update the ISOs is:

        cp orig.iso new.iso
        rsync -Pv mirror://updated_iso.iso new.iso
        rm orig.iso
        mv new.iso orig.iso

This way you can still minimize network traffic, while syncing to a
temporary copy.  After the 'rm orig.iso', libvirt and kvm will
continue to use the original, deleted file, until they close it.
Then, the next time they open 'orig.iso', they'll get the new file.

Would that be conceivable with your mirroring setup?

** Changed in: libvirt (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/691590

Title:
  libvirt should not take ownership of ISO images

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to