Allow virsh to pass in a custom XML document for migration
Allow virsh to pass in a custom XML document for migration

Switch virsh migrate over to use virDomainMigrate2 and
virDomainMigrateToURI2. This is still compatible with
older libvirts, because these methods dynamically choose
whether to perform v1, v2 or v3 migration based on declared
RPC support from the libvirtd instances

Add a --xml arg which allows the user to pass in a custom
XML document. This XML document must be ABI compatible
with the current *live* XML document for the running guest
on the source host. ABI compatibility will be enforced by
any driver supporting this function

* tools/virsh.c: Add '--xml' arg to migrate command

dumbbell/libvirt,danwent/libvirt-ovs,rmarwaha/libvirt1,trainstack/libvirt,warewolf/libvirt,rmarwaha/libvirt,dumbbell/libvirt,foomango/libvirt,jardasgit/libvirt,iam-TJ/libvirt,iam-TJ/libvirt,warewolf/libvirt,cbosdo/libvirt,rmarwaha/libvirt,datto/libvirt,fabianfreyer/libvirt,rmarwaha/libvirt,bjzhang/libvirt,jfehlig/libvirt,danwent/libvirt-ovs,leilihh/libvirt,zhlcindy/libvirt-1.1.4-maintain,foomango/libvirt,libvirt/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,jeckersb/libvirt,novel/fbsd-libvirt,shugaoye/libvirt,rmarwaha/libvirt1,novel/fbsd-libvirt,danwent/libvirt-ovs,zippy2/libvirt,zippy2/libvirt,kantai/libvirt-vfork,taget/libvirt,foomango/libvirt,elmarco/libvirt,rmarwaha/libvirt1,dumbbell/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,crobinso/libvirt,datto/libvirt,nertpinx/libvirt,crobinso/libvirt,zippy2/libvirt,emaste/libvirt,rlaager/libvirt,bjzhang/libvirt,bjzhang/libvirt,kantai/libvirt-vfork,warewolf/libvirt,leilihh/libvirt,wiedi/libvirt,libvirt/libvirt,zippy2/libvirt,VenkatDatta/libvirt,agx/libvirt,nertpinx/libvirt,shugaoye/libvirt,dumbbell/libvirt,crobinso/libvirt,zhlcindy/libvirt-1.1.4-maintain,warewolf/libvirt,emaste/libvirt,fabianfreyer/libvirt,eskultety/libvirt,usc-isi/libvirt,kantai/libvirt-vfork,iam-TJ/libvirt,novel/fbsd-libvirt,rlaager/libvirt,dumbbell/libvirt,siboulet/libvirt-openvz,soulxu/libvirt-xuhj,novel/fbsd-libvirt,kantai/libvirt-vfork,soulxu/libvirt-xuhj,taget/libvirt,rmarwaha/libvirt,eskultety/libvirt,rmarwaha/libvirt1,datto/libvirt,leilihh/libvirt,olafhering/libvirt,iam-TJ/libvirt,rmarwaha/libvirt,cbosdo/libvirt,dumbbell/libvirt,emaste/libvirt,jardasgit/libvirt,taget/libvirt,emaste/libvirt,foomango/libvirt,trainstack/libvirt,wiedi/libvirt,elmarco/libvirt,warewolf/libvirt,rlaager/libvirt,olafhering/libvirt,taget/libvirt,jfehlig/libvirt,libvirt/libvirt,eskultety/libvirt,novel/fbsd-libvirt,bjzhang/libvirt,jeckersb/libvirt,agx/libvirt,jeckersb/libvirt,fabianfreyer/libvirt,soulxu/libvirt-xuhj,siboulet/libvirt-openvz,crobinso/libvirt,fabianfreyer/libvirt,iam-TJ/libvirt,bjzhang/libvirt,emaste/libvirt,datto/libvirt,jeckersb/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,elmarco/libvirt,usc-isi/libvirt,eskultety/libvirt,warewolf/libvirt,siboulet/libvirt-openvz,cbosdo/libvirt,taget/libvirt,leilihh/libvirt,siboulet/libvirt-openvz,trainstack/libvirt,agx/libvirt,cbosdo/libvirt,jeckersb/libvirt,shugaoye/libvirt,jeckersb/libvirt,nertpinx/libvirt,rlaager/libvirt,jfehlig/libvirt,trainstack/libvirt,jardasgit/libvirt,kantai/libvirt-vfork,wiedi/libvirt,emaste/libvirt,soulxu/libvirt-xuhj,leilihh/libvirt,novel/fbsd-libvirt,trainstack/libvirt,rlaager/libvirt,wiedi/libvirt,novel/fbsd-libvirt,usc-isi/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,olafhering/libvirt,nertpinx/libvirt,danwent/libvirt-ovs,trainstack/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,jardasgit/libvirt,iam-TJ/libvirt,warewolf/libvirt,andreabolognani/libvirt,trainstack/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,VenkatDatta/libvirt,siboulet/libvirt-openvz,elmarco/libvirt,wiedi/libvirt,shugaoye/libvirt,agx/libvirt,usc-isi/libvirt,zhlcindy/libvirt-1.1.4-maintain,soulxu/libvirt-xuhj,usc-isi/libvirt,rmarwaha/libvirt,wiedi/libvirt,danwent/libvirt-ovs,elmarco/libvirt,zhlcindy/libvirt-1.1.4-maintain,emaste/libvirt,wiedi/libvirt,iam-TJ/libvirt,foomango/libvirt,eskultety/libvirt,cbosdo/libvirt,rmarwaha/libvirt1,shugaoye/libvirt,andreabolognani/libvirt,leilihh/libvirt,datto/libvirt,rmarwaha/libvirt1,agx/libvirt,libvirt/libvirt,olafhering/libvirt