]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: allow simple domain save to use fd: protocol
authorEric Blake <eblake@redhat.com>
Wed, 2 Mar 2011 04:59:25 +0000 (21:59 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 28 Mar 2011 16:26:32 +0000 (10:26 -0600)
commit9497506fa0b2c8f34cf661f952aee2f5c0417974
tree2555b04ada18628c0d221aa9e093dade9df31ca3
parentd51023d4c28c3c7e717cf349f1bcfed4af044bc4
qemu: allow simple domain save to use fd: protocol

This allows direct saves (no compression, no root-squash NFS) to use
the more efficient fd: migration, which in turn avoids a race where
qemu exec: migration can sometimes fail because qemu does a generic
waitpid() that conflicts with the pclose() used by exec:.  Further
patches will solve compression and root-squash NFS.

* src/qemu/qemu_driver.c (qemudDomainSaveFlag): Use new function
when there is no compression.
src/qemu/qemu_driver.c