Add some more checks for having got allocated memory in the domain
builder. Related to this add an INVALID_PFN macro to be able to do
these checks.

Juergen Gross (2):
  libxc: replace INVALID_P2M_ENTRY by INVALID_PFN
  libxc: do proper return code checking of allocator in domain builder

 tools/libxc/include/xc_dom.h  |  2 +-
 tools/libxc/xc_compression.c  | 10 +++++-----
 tools/libxc/xc_core.c         |  4 ++--
 tools/libxc/xc_dom_arm.c      |  2 +-
 tools/libxc/xc_dom_core.c     | 11 ++++++++---
 tools/libxc/xc_dom_x86.c      | 12 +++++++++++-
 tools/libxc/xc_offline_page.c |  2 +-
 7 files changed, 29 insertions(+), 14 deletions(-)

-- 
2.6.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to