[libvirt] [PATCH] Fix p2p migration without a passed uri.

Cole Robinson crobinso at redhat.com
Wed Oct 28 15:35:29 UTC 2009


On 10/28/2009 10:26 AM, Chris Lalancette wrote:
> Cole Robinson wrote:
>> Signed-off-by: Cole Robinson <crobinso at redhat.com>
>> ---
>>  src/libvirt.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/libvirt.c b/src/libvirt.c
>> index 926c539..126675e 100644
>> --- a/src/libvirt.c
>> +++ b/src/libvirt.c
>> @@ -3217,7 +3217,7 @@ virDomainMigrate (virDomainPtr domain,
>>              char *dstURI = NULL;
>>              if (uri == NULL) {
>>                  dstURI = virConnectGetURI(dconn);
>> -                if (!uri)
>> +                if (!dstURI)
>>                      return NULL;
>>              }
>>  
> 
> Oops, ACK.
> 

Thanks, pushed.

- Cole




More information about the libvir-list mailing list