Re: [PATCH 10/18] domain_conf: cleanup virDomainGraphicsGetListen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 04, 2016 at 03:20:27PM +0200, Pavel Hrdina wrote:
> Removes the check for graphics type, it's not a public API and developer
> know what he's doing and this check makes no sense.  It also removes
> the ability to allocate a new array if there is none.  This was used by
> the virDomainGraphicsListenAdd* functions and isn't used anymore.
> 
> This is now a simple getter with simple check for listens array presence
> and whether the index in out of bounds.
> 
> Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> ---
>  src/conf/domain_conf.c   | 29 ++++++++---------------------
>  src/conf/domain_conf.h   |  2 ++
>  src/libvirt_private.syms |  1 +
>  3 files changed, 11 insertions(+), 21 deletions(-)
> 

ACK

Jan

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]