]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Only check for cluster fs if we're using a filesystem
authorGuido Günther <agx@sigxcpu.org>
Wed, 6 Jun 2012 18:36:31 +0000 (20:36 +0200)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Jun 2012 22:38:26 +0000 (18:38 -0400)
commit95ae1a06bc3f8734293961d5ed155c8d5c4b2326
tree2c93bfc1b66e979aac4e5145ccaaa006c5ebb6f6
parent84daddb0b9ed66f65e1db0239cb319b65eeeb8d6
Only check for cluster fs if we're using a filesystem

otherwise migration fails for e.g. network filesystems like sheepdog
with:

   error: Invalid relative path 'virt-name': Invalid argument

while we should fail with:

    Migration may lead to data corruption if disks use cache != none

References:

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676328
    https://www.redhat.com/archives/libvirt-users/2012-May/msg00088.html
(cherry picked from commit 3ac8fb54f4e6365e6252eae9995fb8333972ae94)
src/qemu/qemu_migration.c