[libvirt] [PATCH 2/4] libxl: remove domain when migration prepare fails

2014-07-08 Thread Jim Fehlig
In libxlDomainMigrationPrepare(), a new virDomainObj is created from the incoming domain def and added to the driver's domain list, but never removed if there are subsequent failures during the prepare phase. targethost# virsh list --all sourcehost# virsh migrate --live dom

Re: [libvirt] [PATCH 2/4] libxl: remove domain when migration prepare fails

2014-07-08 Thread Eric Blake
On 07/08/2014 03:52 PM, Jim Fehlig wrote: In libxlDomainMigrationPrepare(), a new virDomainObj is created from the incoming domain def and added to the driver's domain list, but never removed if there are subsequent failures during the prepare phase. targethost# virsh list --all