]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xen: use typical allocations
authorEric Blake <eblake@redhat.com>
Tue, 20 Sep 2011 18:11:31 +0000 (12:11 -0600)
committerDaniel Veillard <veillard@redhat.com>
Wed, 21 Sep 2011 08:17:16 +0000 (16:17 +0800)
commit7d7a7e291b937864b19910ea827b1eaeed329ca4
tree4bac3cbf26090d71b230d275740a6ed8453e99e7
parent08c4de5984d486cc93fffd023f3cc9416d376328
xen: use typical allocations

The next patch will add a syntax check that flags this usage in xen
as awkward - while it was valid memory management, it was very hard
to maintain.  Swapping to a more traditional allocation may be a bit
slower, but easier to understand.

* src/xen/xend_internal.c (xenDaemonListDomainsOld): Use two-level
allocation, rather than abusing allocation function.
(xenDaemonLookupByUUID): Update caller.
src/xen/xend_internal.c