qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 0/6] Unify memory allocation failure handling


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH 0/6] Unify memory allocation failure handling
Date: Thu, 05 Feb 2009 16:07:56 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Avi Kivity wrote:
Memory allocation failures are a very rare condition on virtual-memory
hosts.  They are also very difficult to handle correctly (especially in a
hardware emulation context).  Because of this, it is better to gracefully
terminate emulation rather than executing untested or even unwritten recovery
code paths.

This patchset modifies qemu_malloc() and related functions to terminate
on error, and updates callers not to perform their own error handling.  In
many cases error handling was already missing or incorrect.

Avi Kivity (6):
  Terminate emulation on memory allocation failure
  block: remove error handling from qemu_malloc() callers
  audio: remove error handling from qemu_malloc() callers
  hw: remove error handling from qemu_malloc() callers
  targets: remove error handling from qemu_malloc() callers
  toplevel: remove error handling from qemu_malloc() callers

Applied all.  Thanks.

Did you do this all by hand or were scripts involved?

Regards,

Anthony Liguori





reply via email to

[Prev in Thread] Current Thread [Next in Thread]