On Sat, May 07, 2011 at 03:33:10AM -0500, Igor Serebryany wrote:
On Fri, May 06, 2011 at 06:00:09PM +0100, Richard W.M. Jones wrote:
> How about just adding flags into the disk XML, eg:
> <disk>
> ...
> <flags>
> <migrate>false</migrate>
> <snapshot>false</snapshot>
> </flags>
> </disk>
I would love to see this in libvirt.
On a somewhat related note ... would this make it possible to
live-migrate domains where there is shared storage for the data disks
but a separate, local swap disk? How does swapped-out memory get handled
during QEMU migration?
Swap data doesn't need to be persisted across OS restarts, but you can't
just discard it upon live migration. The swap disk has to be handled
like any other disk during migration.
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|