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

Re: [libvirt] [PATCH] esx: Fix driver method version annotations



On Sun, Jun 05, 2011 at 10:09:10AM +0200, Matthias Bolte wrote:
> ---
>  src/esx/esx_interface_driver.c |    6 +++---
>  src/esx/esx_network_driver.c   |    6 +++---
>  src/esx/esx_nwfilter_driver.c  |    6 +++---
>  src/esx/esx_secret_driver.c    |    6 +++---
>  src/esx/esx_storage_driver.c   |    2 +-
>  5 files changed, 13 insertions(+), 13 deletions(-)
> 
> diff --git a/src/esx/esx_interface_driver.c b/src/esx/esx_interface_driver.c
> index 3f9c175..a468976 100644
> --- a/src/esx/esx_interface_driver.c
> +++ b/src/esx/esx_interface_driver.c
> @@ -66,9 +66,9 @@ esxInterfaceClose(virConnectPtr conn)
>  
>  
>  static virInterfaceDriver esxInterfaceDriver = {
> -    "ESX",                                 /* name */
> -    .open = esxInterfaceOpen, /* 0.7.0 */
> -    .close = esxInterfaceClose, /* 0.7.0 */
> +    .name = "ESX",
> +    .open = esxInterfaceOpen, /* 0.7.6 */
> +    .close = esxInterfaceClose, /* 0.7.6 */
>  };
>  
>  
> diff --git a/src/esx/esx_network_driver.c b/src/esx/esx_network_driver.c
> index 9385a26..3c76fae 100644
> --- a/src/esx/esx_network_driver.c
> +++ b/src/esx/esx_network_driver.c
> @@ -66,9 +66,9 @@ esxNetworkClose(virConnectPtr conn)
>  
>  
>  static virNetworkDriver esxNetworkDriver = {
> -    "ESX",                                 /* name */
> -    .open = esxNetworkOpen, /* 0.7.0 */
> -    .close = esxNetworkClose, /* 0.7.0 */
> +    .name = "ESX",
> +    .open = esxNetworkOpen, /* 0.7.6 */
> +    .close = esxNetworkClose, /* 0.7.6 */
>  };
>  
>  
> diff --git a/src/esx/esx_nwfilter_driver.c b/src/esx/esx_nwfilter_driver.c
> index ee85abc..13cacd4 100644
> --- a/src/esx/esx_nwfilter_driver.c
> +++ b/src/esx/esx_nwfilter_driver.c
> @@ -65,9 +65,9 @@ esxNWFilterClose(virConnectPtr conn)
>  
>  
>  static virNWFilterDriver esxNWFilterDriver = {
> -    "ESX",                                 /* name */
> -    .open = esxNWFilterOpen, /* 0.8.0 */
> -    .close = esxNWFilterClose, /* 0.8.0 */
> +    .name = "ESX",
> +    .open = esxNWFilterOpen, /* 0.8.1 */
> +    .close = esxNWFilterClose, /* 0.8.1 */
>  };
>  
>  
> diff --git a/src/esx/esx_secret_driver.c b/src/esx/esx_secret_driver.c
> index dff2290..656224e 100644
> --- a/src/esx/esx_secret_driver.c
> +++ b/src/esx/esx_secret_driver.c
> @@ -64,9 +64,9 @@ esxSecretClose(virConnectPtr conn)
>  
>  
>  static virSecretDriver esxSecretDriver = {
> -    "ESX",                                 /* name */
> -    .open = esxSecretOpen, /* 0.7.1 */
> -    .close = esxSecretClose, /* 0.7.1 */
> +    .name = "ESX",
> +    .open = esxSecretOpen, /* 0.7.6 */
> +    .close = esxSecretClose, /* 0.7.6 */
>  };
>  
>  
> diff --git a/src/esx/esx_storage_driver.c b/src/esx/esx_storage_driver.c
> index 5ee0cf4..6461917 100644
> --- a/src/esx/esx_storage_driver.c
> +++ b/src/esx/esx_storage_driver.c
> @@ -1645,7 +1645,7 @@ esxStoragePoolIsPersistent(virStoragePoolPtr pool ATTRIBUTE_UNUSED)
>  
>  
>  static virStorageDriver esxStorageDriver = {
> -    "ESX",                                 /* name */
> +    .name = "ESX",
>      .open = esxStorageOpen, /* 0.7.6 */
>      .close = esxStorageClose, /* 0.7.6 */
>      .numOfPools = esxNumberOfStoragePools, /* 0.8.2 */

  ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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