]> xenbits.xensource.com Git - libvirt.git/commit
Fix impl of virDomainCreateWithFlags remote client helper
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 12 Jul 2013 10:56:00 +0000 (11:56 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 18 Jul 2013 10:01:49 +0000 (11:01 +0100)
commitddaf15d7a3863d54e242f8ff759592206466540d
tree9e06b2a11cea3020af721bbfca62eefced5ab63b
parentbfd663ef97eba196ddc5e35b8f2cfe36fa38a980
Fix impl of virDomainCreateWithFlags remote client helper

In the following commit:

  commit 03d813bbcd7b4a18360105500672b84d985dd889
  Author: Marek Marczykowski <marmarek@invisiblethingslab.com>
  Date:   Thu May 23 02:01:30 2013 +0200

    remote: fix dom->id after virDomainCreateWithFlags

The virDomainCreateWithFlags remote client helper was made to
invoke REMOTE_PROC_DOMAIN_LOOKUP_BY_UUID to refresh the 'id'
of the domain, following the pattern used in the previous
virDomainCreate method impl.

The remote protocol for virDomainCreateWithFlags though did
actually fix the design flaw in virDomainCreate, by directly
returning the new domain info. For some reason, this data was
never used. So we can just use that data now instead.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/remote/remote_driver.c