On 11/18/2015 01:13 PM, Pavel Boldin wrote: > Add virDrvDomainMigrateOpenTunnel call that is to be implemented by > the drivers in order to provide a way to open tunnel during migration. > > Signed-off-by: Pavel Boldin <pbol...@mirantis.com> > --- > src/driver-hypervisor.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/src/driver-hypervisor.h b/src/driver-hypervisor.h > index ae2ec4d..30a7446 100644 > --- a/src/driver-hypervisor.h > +++ b/src/driver-hypervisor.h > @@ -1212,6 +1212,13 @@ typedef int > const char *password, > unsigned int flags); > > +typedef int > +(*virDrvDomainMigrateOpenTunnel)(virConnectPtr dconn, > + virStreamPtr st, > + unsigned char uuid[VIR_UUID_BUFLEN],
Should be 'const unsigned char *uuid," seems all use VIR_UUID_BUFLEN anyway as one digs deeper. > + unsigned int flags); > + > + > typedef struct _virHypervisorDriver virHypervisorDriver; > typedef virHypervisorDriver *virHypervisorDriverPtr; > > @@ -1443,6 +1450,7 @@ struct _virHypervisorDriver { > virDrvDomainGetFSInfo domainGetFSInfo; > virDrvDomainInterfaceAddresses domainInterfaceAddresses; > virDrvDomainSetUserPassword domainSetUserPassword; > + virDrvDomainMigrateOpenTunnel domainMigrateOpenTunnel; > }; > > > -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list