]> xenbits.xensource.com Git - libvirt.git/commit
virStoragePRDefFormat: Suppress path formatting for migratable XML
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Jul 2018 11:58:33 +0000 (13:58 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 10 Jul 2018 12:56:22 +0000 (14:56 +0200)
commit0da435118cb2abe5b747818fc209c7a647590687
tree68f732854a7d1701697b5310a7a1885ed5211657
parent900403a3b2fe76ec3e03086c24a2d5480a7a6b06
virStoragePRDefFormat: Suppress path formatting for migratable XML

If there are managed reservations for a disk source, the path to
the pr-helper socket is generated automatically by libvirt when
needed and points somewhere under priv->libDir. Therefore it is
very unlikely that the path will work even on migration
destination (the libDir is derived from domain short name and its
ID).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c
src/util/virstoragefile.c
src/util/virstoragefile.h