[libvirt] [PATCH 00/10] Fix multiple OOM problems

Daniel P. Berrange berrange at redhat.com
Mon Sep 23 13:23:09 UTC 2013


From: "Daniel P. Berrange" <berrange at redhat.com>

Running out long ignored OOM injection tests identified a
number of problems. This series fixes those that I have
found so far, but more are to follow.

I'm also rewriting the OOM injection code to make it much,
much, much faster to run.

Daniel P. Berrange (10):
  Fix crash on OOM when parsing disk security label
  Fix crash on OOM in parsing CPU mask in domain XML
  Fix crash if OOM occurs when creating virConnectPtr
  Fix crash on OOM in qemuDomainCCWAddressSetCreate()
  Fix crash on OOM in qemuAddRBDHost
  Fix allocation of arglist in qemuStringToArgvEnv
  Fix error checking of qemuParseKeywords return status
  Fix missing OOM check in qemuParseCommandLine when splitting strings
  Fix reporting of errors in OOM injection code
  Don't ignore allocation failure in virCommandAddEnvPassCommon

 src/conf/domain_conf.c       |  5 ++--
 src/datatypes.c              | 10 +++++---
 src/qemu/qemu_command.c      | 59 ++++++++++++++++++++++++--------------------
 src/qemu/qemu_command.h      |  1 +
 src/qemu/qemu_monitor_json.c |  4 +--
 src/util/viralloc.c          | 18 ++++++++++++--
 src/util/vircommand.c        |  5 +++-
 7 files changed, 63 insertions(+), 39 deletions(-)

-- 
1.8.3.1




More information about the libvir-list mailing list