[libvirt] [PATCH 3/9] report OOMError
Daniel P. Berrange
berrange at redhat.com
Tue Feb 3 13:56:15 UTC 2009
On Mon, Feb 02, 2009 at 06:08:16PM +0100, Jim Meyering wrote:
> From: Jim Meyering <meyering at 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 :|
More information about the libvir-list
mailing list