From Libvirt Wiki
Revision as of 08:02, 13 July 2015 by Marty (talk | contribs) (BiteSizedTasks)
Jump to: navigation, search


This page aims to summarize small, trivial contributions that should help starting libvirt contributor to get to know the libvirt source code. The other source for trivial bugs can be found here.

Introduce new virtType enum item

Description: Introduce VIR_DOMAIN_VIRT_NONE to give name the default value of zero. The rest of the code should be updated as it currently expects -1 as an alias for 'not specified'.


Don't include .c file for editing support

Description: When editing an XML of a domain, network or anything else, it is implemented in virsh-edit.c and currently included as a C file with the behaviour being influenced by EDIT_ macros. This should be changed so that the same file is not being included over and over again, but its function is called instead. The behaviour should be affected by callbacks in some control structure.

Abstract the differences of code usage between with and without gnutls

Description: The code is filled with WITH_GNUTLS preprocessor macros. But in libvirt it is customary to use stub functions and abstract structures for this kind of differentiation. WITH_GNUTLS should be used almost only in virnettlscontext.c or similar.