Re: [libvirt] [PATCH 5/6] Snapshots for VBox

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

 



On Fri, Apr 02, 2010 at 09:46:00PM -0400, Chris Lalancette wrote:
> From: Jiri Denemark <jdenemar@xxxxxxxxxx>
> 
> ---
>  src/vbox/vbox_tmpl.c |  988 +++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 979 insertions(+), 9 deletions(-)
> 
> diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c
> index dac386d..ede2798 100644
> --- a/src/vbox/vbox_tmpl.c
> +++ b/src/vbox/vbox_tmpl.c
> @@ -5007,6 +5007,976 @@ static int vboxDomainDetachDeviceFlags(virDomainPtr dom, const char *xml,
>      return vboxDomainDetachDevice(dom, xml);
>  }
[...]
> +
> +#if VBOX_API_VERSION == 2002
> +    if (VIR_ALLOC(iid) < 0) {
> +        virReportOOMError();
> +        goto cleanup;
> +    }
> +#endif

  Hum, did that specific allocation really need to occur only on one of the
released versions of VBox ? and not before (or we don't support anything
older than 2002)

  Except that and the constant UTF16 / UTF8 conversions which makes code
  harder to follow, that looks normal,

  ACK,

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]