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(a)redhat.com>
---
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