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

Re: [libvirt] [PATCH 3/9] report OOMError



On Mon, Feb 02, 2009 at 06:08:16PM +0100, Jim Meyering wrote:
> From: Jim Meyering <meyering redhat com>
> 
> ---
>  src/qemu_driver.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/src/qemu_driver.c b/src/qemu_driver.c
> index c40fda4..599af0b 100644
> --- a/src/qemu_driver.c
> +++ b/src/qemu_driver.c
> @@ -462,8 +462,7 @@ qemudStartup(void) {
>      return 0;
> 
>  out_of_memory:
> -    qemudLog (QEMUD_ERR,
> -              "%s", _("qemudStartup: out of memory\n"));
> +    virReportOOMError(NULL);
>  error:
>      if (qemu_driver)
>          qemuDriverUnlock(qemu_driver);

ACk


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


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