[libvirt] [PATCH 1/2] Add API for iterating over all character devices

Matthias Bolte matthias.bolte at googlemail.com
Thu Jun 24 16:25:27 UTC 2010


2010/6/24 Daniel P. Berrange <berrange at redhat.com>:
> The parallel, serial, console and channel devices are all just
> character devices. A lot of code needs todo the same thing to
> all these devices. This provides an convenient API for iterating
> over all of them.
>
> * src/conf/domain_conf.c, src/conf/domain_conf.c,
>  src/libvirt_private.syms: Add virDomainChrDefForeach
> ---
>  src/conf/domain_conf.c   |   52 ++++++++++++++++++++++++++++++++++++++++++++++
>  src/conf/domain_conf.h   |    9 ++++++++
>  src/libvirt_private.syms |    1 +
>  3 files changed, 62 insertions(+), 0 deletions(-)
>

ACK.

Matthias




More information about the libvir-list mailing list