Re: [libvirt] [PATCH] esx: Fix deserialization for VI API calls CancelTask and UnregisterVM

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

 



On Sun, Jan 03, 2010 at 08:40:50PM +0100, Matthias Bolte wrote:
> ---
>  src/esx/esx_vi_methods.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/esx/esx_vi_methods.c b/src/esx/esx_vi_methods.c
> index be21112..7925f26 100644
> --- a/src/esx/esx_vi_methods.c
> +++ b/src/esx/esx_vi_methods.c
> @@ -601,7 +601,7 @@ esxVI_CancelTask(virConnectPtr conn, esxVI_Context *ctx,
>  
>      request = virBufferContentAndReset(&buffer);
>  
> -    if (esxVI_Context_Execute(conn, ctx, "UnregisterVM", request, &response,
> +    if (esxVI_Context_Execute(conn, ctx, "CancelTask", request, &response,
>                                esxVI_Occurrence_None) < 0) {
>          goto failure;
>      }
> @@ -652,7 +652,7 @@ esxVI_UnregisterVM(virConnectPtr conn, esxVI_Context *ctx,
>  
>      request = virBufferContentAndReset(&buffer);
>  
> -    if (esxVI_Context_Execute(conn, ctx, "AnswerVM", request, &response,
> +    if (esxVI_Context_Execute(conn, ctx, "UnregisterVM", request, &response,
>                                esxVI_Occurrence_None) < 0) {
>          goto failure;
>      }

  ACK, seems things got mixed up

Daniel

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

--
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]