[libvirt] [PATCH 07/14] Move suspend capabilities APIs out of util.h into virnodesuspend.c

Eric Blake eblake at redhat.com
Tue Nov 29 16:30:01 UTC 2011


On 11/29/2011 08:44 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The node suspend capabilities APIs should not have been put into
> util.[ch]. Instead move them into virnodesuspend.[ch]
> 
> * src/util/util.c, src/util/util.h: Remove suspend capabilities APIs
> * src/util/virnodesuspend.c, src/util/virnodesuspend.h: Add
>   suspend capabilities APIs
> * src/qemu/qemu_capabilities.c: Include virnodesuspend.h
> ---
>  src/qemu/qemu_capabilities.c |    1 +
>  src/util/util.c              |   96 -----------------------------------------
>  src/util/util.h              |    5 --
>  src/util/virnodesuspend.c    |   97 ++++++++++++++++++++++++++++++++++++++++++
>  src/util/virnodesuspend.h    |    2 +
>  5 files changed, 100 insertions(+), 101 deletions(-)

This should also be updating the list of functions in the
virnodesuspend.h section of libvirt_private.syms.

ACK with that tweak.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111129/57587c1e/attachment-0001.sig>


More information about the libvir-list mailing list