Re: [PATCHv4 2/7] interface: define internal driver API for network config transactions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 26, 2011 at 12:17:40PM -0400, Laine Stump wrote:
> From: Michal Privoznik <mprivozn@xxxxxxxxxx>
> 
> No change from previous version of ACKed patch.
> ---
>  src/driver.h |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
> 
> diff --git a/src/driver.h b/src/driver.h
> index 450dd53..c9747aa 100644
> --- a/src/driver.h
> +++ b/src/driver.h
> @@ -865,6 +865,15 @@ typedef int
>  typedef int
>          (*virDrvInterfaceIsActive)(virInterfacePtr iface);
>  
> +typedef int
> +        (*virDrvInterfaceChangeBegin)   (virConnectPtr conn,
> +                                         unsigned int flags);
> +typedef int
> +        (*virDrvInterfaceChangeCommit)  (virConnectPtr conn,
> +                                         unsigned int flags);
> +typedef int
> +        (*virDrvInterfaceChangeRollback)(virConnectPtr conn,
> +                                         unsigned int flags);
>  
>  typedef struct _virInterfaceDriver virInterfaceDriver;
>  typedef virInterfaceDriver *virInterfaceDriverPtr;
> @@ -895,6 +904,9 @@ struct _virInterfaceDriver {
>      virDrvInterfaceCreate            interfaceCreate;
>      virDrvInterfaceDestroy           interfaceDestroy;
>      virDrvInterfaceIsActive          interfaceIsActive;
> +    virDrvInterfaceChangeBegin       interfaceChangeBegin;
> +    virDrvInterfaceChangeCommit      interfaceChangeCommit;
> +    virDrvInterfaceChangeRollback    interfaceChangeRollback;
>  };

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]