Blame ChangeLog

Packit Service ea0369
2019-11-26  Daniel P. Berrangé  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Bump version & update NEWS for 3.0.0 release
Packit Service ea0369
Packit Service ea0369
2019-10-01  Fabiano Fidêncio  <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig-domain-video: Add bochs video device
Packit Service ea0369
	https://bugzilla.redhat.com/show_bug.cgi?id=1753670
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
2019-09-05  Fabiano Fidêncio  <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
	tests,test-gconfig: Check _domain_os_get_machine()
Packit Service ea0369
	Let's add one more simple check for gvir_config_domain_os_get_machine().
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add _domain_os_get_firmware()
Packit Service ea0369
	Add a way to get the value of <os firmware="bios|efi"/> which has been
Packit Service ea0369
	set to the domain XML.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
2019-08-19  Daniel P. Berrangé  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Set desired glib min/max API versions
Packit Service ea0369
	Setting GLIB_VERSION_MAX_ALLOWED ensures we get warnings if
Packit Service ea0369
	we use APIs that are newer than our declared minimum glib
Packit Service ea0369
	version.
Packit Service ea0369
Packit Service ea0369
	Setting GLIB_VERSION_MIN_REQUIRED ensures that we get
Packit Service ea0369
	warnings if we use APIs deprecated in versions preceeding
Packit Service ea0369
	this.
Packit Service ea0369
Packit Service ea0369
	If the latter is omitted then we get warnings for all
Packit Service ea0369
	deprecations in glib, which is undesirable if we want to
Packit Service ea0369
	keep compat with older versions.
Packit Service ea0369
Packit Service ea0369
	This avoids a build error with latest glib
Packit Service ea0369
Packit Service ea0369
	  ./../libvirt-gconfig/libvirt-gconfig-capabilities-cpu-model.c: In function 'gvir_config_capabilities_cpu_model_init':
Packit Service ea0369
	  ../../libvirt-gconfig/libvirt-gconfig-capabilities-cpu-model.c:44:13: error: G_ADD_PRIVATE [-Werror]
Packit Service ea0369
	     44 |     model->priv = GVIR_CONFIG_CAPABILITIES_CPU_MODEL_GET_PRIVATE(model);
Packit Service ea0369
	        |             ^~~~~~~~~~~~~~~
Packit Service ea0369
Packit Service ea0369
	Caused by G_TYPE_INSTANCE_GET_PRIVATE being deprecated.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: remove use of G_PARAM_PRIVATE
Packit Service ea0369
	This enum field is a deprecated synonym for G_PARAM_STATIC_NAME
Packit Service ea0369
	which is already set by G_PARAM_STATIC_STRINGS.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
2019-05-27  Fabiano Fidêncio  <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gtk-doc.make: Remove the file
Packit Service ea0369
	Now that we're using gtkdocisze as part of autogen.sh, there's no reason
Packit Service ea0369
	to keep our own gtk-doc.make file.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	autogen.sh: Simplify autogen.sh
Packit Service ea0369
	Let's use an autogen.sh based on libosinfo's one, which is cleaner and
Packit Service ea0369
	matches the current GNOME guidelines.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	docs: explicitly link against libvirt-g{config,lib,object}
Packit Service ea0369
	Let's explicitly link against the built libvirt-gconfig, libvirt-glib,
Packit Service ea0369
	and libvirt-gobject libtool files for introspecting the gobjects.
Packit Service ea0369
Packit Service ea0369
	In case it's *not* done we can run into some issues when where we try to
Packit Service ea0369
	link against installed library, causing failures related to undefined
Packit Service ea0369
	reference of the new symbols.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Packit Service ea0369
Packit Service ea0369
2019-05-23  Fabiano Fidêncio  <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
	event-test: Change sha-bang line to use python3
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	event-test: Handle exceptions in a py3 compatible way
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	event-test: Use print() in a py3 compatible way
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	event-test: Ensure the right versions of LibvirtGLib and Gtk get loaded
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	event-test: Don't use ";" in the end of lines
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	event-test: LibvirtGLib.init() takes (at maximum) 1 argment
Packit Service ea0369
	The previous behaviour with pygobject required 2 arguments to be passed
Packit Service ea0369
	to LibvirtGLib.init().
Packit Service ea0369
Packit Service ea0369
	As it's been changed, whenever we try to run event-test we'd get:
Packit Service ea0369
	```
Packit Service ea0369
	Using uri:qemu:///system
Packit Service ea0369
	Traceback (most recent call last):
Packit Service ea0369
	  File "event-test.py", line 62, in <module>
Packit Service ea0369
	    main()
Packit Service ea0369
	  File "event-test.py", line 51, in main
Packit Service ea0369
	    LibvirtGLib.init(0, "")
Packit Service ea0369
	TypeError: LibvirtGLib.init() takes exactly 1 argument (2 given)
Packit Service ea0369
	```
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
2019-05-20  Fabiano Fidêncio  <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
	conn-test: Change sha-bang line to use python3
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	conn-test: Handle exceptions in a py3 compatible way
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	conn-test: Use print() in a py3 compatible way
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	conn-test: Ensure the right versions of LibvirtGObject and Gtk get loaded
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	conn-test: Don't use ";" in the end of lines
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	config-demo: Change sha-bang line to use python3
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	config-demo: Use octal when setting mode
Packit Service ea0369
	Basically, just change 0744 to 0o744 in order to be compatible with
Packit Service ea0369
	python3.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	config-demo: Use print() in a py3 compatible way
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	config-demo: Ensure the right LibvirtGConfig version gets loaded
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	config-demo: Don't use ";" in the end of lines
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: Wrap virConnectGetDomainCapabilities()
Packit Service ea0369
	In order to do so, 3 new APIs have been added:
Packit Service ea0369
	- gvir_connection_get_domain_capabilities();
Packit Service ea0369
	- gvir_connection_get_domain_capabilities_async();
Packit Service ea0369
	- gvir_connection_get_domain_capabilities_finish();
Packit Service ea0369
Packit Service ea0369
	The returned object is a GVirConfigDomainCapabilities, from which
Packit Service ea0369
	consumers will be able to access a few other objects representing the
Packit Service ea0369
	XML returned by virConnectGetDomainCapabilities().
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	tests: Add basic test for domain capabilities
Packit Service ea0369
	This basic test only ensures that we can properly parse:
Packit Service ea0369
	<domainCapabilities>
Packit Service ea0369
	  <os>
Packit Service ea0369
	    <enum name="firmeware">
Packit Service ea0369
	      <value>bios</value>
Packit Service ea0369
	      <value>efi</value>
Packit Service ea0369
	    </enum>
Packit Service ea0369
	  </os>
Packit Service ea0369
	</domainCapabilities>
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add _domain_capabilities_os_get_firmwares()
Packit Service ea0369
	Add a way to access the <enum name="firmware"/> element's conent from
Packit Service ea0369
	<os/>.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add _domain_capabilities_get_os()
Packit Service ea0369
	Add a way to access the object which represents the <os/> element from
Packit Service ea0369
	the <domainCapabilities/>.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigDomainCapabilitiesOs
Packit Service ea0369
	GVirConfigDomainCapabilitiesOs object has been introduced in order to
Packit Service ea0369
	represent the <os/> element under <domainCapabilities/>.
Packit Service ea0369
Packit Service ea0369
	For now it's not used anywhere, but it's addition allows us to start
Packit Service ea0369
	building the needed machinery for:
Packit Service ea0369
	- Returning a representation os <os/> element;
Packit Service ea0369
	- Having the most basic machinery to start adding functions to return
Packit Service ea0369
	  any child element we may need to query from <os/> element;
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigDomainCapabilities
Packit Service ea0369
	GVirConfigDomainCapabilities object has been introduced in order to
Packit Service ea0369
	represent the output of virConnectGetDomainCapabilities().
Packit Service ea0369
Packit Service ea0369
	For now it's not used anywhere, but its addition allows us to start
Packit Service ea0369
	building the needed machinery for:
Packit Service ea0369
	- Creating a wrapper around virConnectGetDomainCapabilities();
Packit Service ea0369
	- Creating new objects that will be used to return each of the elements
Packit Service ea0369
	  present in the output of virConnectGetDomainCapabilities(),
Packit Service ea0369
	  accordingly to the consumers of this library's need;
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: Use the proper return type in _connection_get_capabilities_finish()
Packit Service ea0369
	Instead of returning FALSE, return NULL.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add _domain_os_set_firmware()
Packit Service ea0369
	Add a way to set <os firmware="bios|efi"/> to the domain XML.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
2019-02-20  Daniel P. Berrangé  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	po: refresh translations from zanata
Packit Service ea0369
Packit Service ea0369
	po: minimize uk ur vi wba yo zh_CN zh_HK zh_TW zu
Packit Service ea0369
Packit Service ea0369
	po: minimize sq sr@latin sr sv ta te tg th tr tw
Packit Service ea0369
Packit Service ea0369
	po: minimize or pa pl pt_BR pt ro ru si sk sl
Packit Service ea0369
Packit Service ea0369
	po: minimize mn mr ms nb nds ne nl nn nso
Packit Service ea0369
Packit Service ea0369
	po: minimize kw_GB kw@kkcor kw kw@uccor ky lt lv mai mk ml
Packit Service ea0369
Packit Service ea0369
	po: minimize id ilo is it ja ka kk km kn ko
Packit Service ea0369
Packit Service ea0369
	po: minimize fr gl gu he hi hr hu ia
Packit Service ea0369
Packit Service ea0369
	po: minimize de el en_GB eo es et eu fa fi
Packit Service ea0369
Packit Service ea0369
	po: minimize bn bo br brx bs ca cs cy da de_CH
Packit Service ea0369
Packit Service ea0369
	po: minimize af am anp ar as ast bal be bg bn_IN
Packit Service ea0369
Packit Service ea0369
	po: minimize & canonicalize translations stored in git
Packit Service ea0369
	Similar to the libvirt-glib.pot, .po files contain line numbers and file
Packit Service ea0369
	names identifying where in the source a translatable string comes from.
Packit Service ea0369
	The source locations in the .po files are thrown away and replaced with
Packit Service ea0369
	content from the libvirt-glib.pot whenever msgmerge is run, so this is not
Packit Service ea0369
	precious information that needs to be stored in git.
Packit Service ea0369
Packit Service ea0369
	When msgmerge processes a .po file, it will add in any msgids from the
Packit Service ea0369
	libvirt-glib.pot that were not already present. Thus, if a particular msgid
Packit Service ea0369
	currently has no translation, it can be considered redundant and again
Packit Service ea0369
	does not need storing in git.
Packit Service ea0369
Packit Service ea0369
	When msgmerge processes a .po file and can't find an exact existing
Packit Service ea0369
	translation match, it will try todo fuzzy matching instead, marking such
Packit Service ea0369
	entries with a "# fuzzy" comment to alert the translator to take a
Packit Service ea0369
	look and either discard, edit or accept the match. Looking at the
Packit Service ea0369
	existing fuzzy matches in .po files shows that the quality is awful,
Packit Service ea0369
	with many having a completely different set of printf format specifiers
Packit Service ea0369
	between the msgid and fuzzy msgstr entry. Fortunately when msgfmt
Packit Service ea0369
	generates the .gmo, the fuzzy entries are all ignored anyway. The fuzzy
Packit Service ea0369
	entries could be useful to translators if they were working on the .po
Packit Service ea0369
	files directly from git, but Libvirt-Glib outsourced translation to the
Packit Service ea0369
	Fedora Zanata system, so keeping fuzzy matches in git is not much help.
Packit Service ea0369
Packit Service ea0369
	Finally, by default msgids are sorted based on source location. Thus, if
Packit Service ea0369
	a bit of code with translatable text is moved from one file to another,
Packit Service ea0369
	it may shift around in the .po file, despite the msgid not itself changing.
Packit Service ea0369
	If the msgids were sorted alphabetically, the .po files would have
Packit Service ea0369
	stable ordering when code is refactored.
Packit Service ea0369
Packit Service ea0369
	This patch takes advantage of the above observations to canonicalize
Packit Service ea0369
	and minimize the content stored for .po files in git. Instead of storing
Packit Service ea0369
	the real .po files, we now store .mini.po files.
Packit Service ea0369
Packit Service ea0369
	The .mini.po files are the same file format as .po files, but have no
Packit Service ea0369
	source location comments, are sorted alphabetically, and all fuzzy
Packit Service ea0369
	msgstrs and msgids with no translation are discarded. This cuts the size
Packit Service ea0369
	of content in the po directory.
Packit Service ea0369
Packit Service ea0369
	Users working from a libvirt-glib git checkout who need the full .po files
Packit Service ea0369
	can run "make update-po", which merges the libvirt-glib.pot and .mini.po
Packit Service ea0369
	file to create a .po file containing all the content previously stored
Packit Service ea0369
	in git.
Packit Service ea0369
Packit Service ea0369
	Conversely if a full .po file has been modified, for example, by
Packit Service ea0369
	downloading new content from Zanata, the .mini.po files can be updated
Packit Service ea0369
	by running "make update-mini-po". The resulting diffs of the .mini.po
Packit Service ea0369
	file will clearly show the changed translations without any of the noise
Packit Service ea0369
	that previously obscured content. Being able to see content changes
Packit Service ea0369
	clearly actually identified a bug in the zanata python client where it
Packit Service ea0369
	was adding bogus "fuzzy" annotations to many messages:
Packit Service ea0369
Packit Service ea0369
	  https://bugzilla.redhat.com/show_bug.cgi?id=1564497
Packit Service ea0369
Packit Service ea0369
	Users working from libvirt-glib releases should not see any difference in
Packit Service ea0369
	behaviour, since the tarballs only contain the full .po files, not the
Packit Service ea0369
	.mini.po files.
Packit Service ea0369
Packit Service ea0369
	As an added benefit, generating tarballs with "make dist", will no
Packit Service ea0369
	longer cause creation of dirty files in git, since it won't touch the
Packit Service ea0369
	.mini.po files, only the .po files which are no longer kept in git.
Packit Service ea0369
Packit Service ea0369
	The languages are minimized in the following commit since it is a
Packit Service ea0369
	large mechanical process.
Packit Service ea0369
Packit Service ea0369
	po: add rules for integration with zanata
Packit Service ea0369
	Add rules to handle pushing libvirt-glib.pot to zanata, and refreshing .po
Packit Service ea0369
	files with new content from zanata.
Packit Service ea0369
Packit Service ea0369
	po: remove language list from zanata configuration
Packit Service ea0369
	The <locales> element in zanata.xml is no longer relevant as this info
Packit Service ea0369
	is recorded server side.
Packit Service ea0369
Packit Service ea0369
	po: provide custom make rules for po file management
Packit Service ea0369
	Historically we have relied on intltool to install a standard
Packit Service ea0369
	po/Makefile.in.in which has very limited scope for customization.
Packit Service ea0369
	intltool is deprecated in favour of standard gettextize tools,
Packit Service ea0369
	but these share the same disadvantages.
Packit Service ea0369
Packit Service ea0369
	Writing make rules for po file management is no more difficult
Packit Service ea0369
	than any other rules libvirt-glib has, so stop using intltool
Packit Service ea0369
	and don't use gettextize ether.
Packit Service ea0369
Packit Service ea0369
2019-02-14  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	events: Mark 'eventlock' as static
Packit Service ea0369
	It's not used outside of the libvirt-glib-event.c file, so there is no
Packit Service ea0369
	good reason for not having it static. As it was not listed in
Packit Service ea0369
	libvirt-glib.sym, this will make no change to the publicly exported
Packit Service ea0369
	symbols (ie this is not an ABI change).
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
	object: Fix gvir_connection_create_storage_pool() leak
Packit Service ea0369
	We need to free the string returned by gvir_config_object_to_xml() after
Packit Service ea0369
	using it.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
	config: Fix gvir_config_xml_node_to_string() leak
Packit Service ea0369
	If xmlNodeDump() fails, we would be leaking the xmlBuffer we created.
Packit Service ea0369
	This commit ensures we don't return early before this buffer is freed.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
2019-02-12  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add gvir_config_storage_vol_target_set_features
Packit Service ea0369
	Only one feature is supported at the moment, 'lazy refcount'
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Cole Robinson <crobinso@redhat.com>
Packit Service ea0369
Packit Service ea0369
2018-10-12  Daniel P. Berrangé  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Bump version to 2.0.0 for new release
Packit Service ea0369
Packit Service ea0369
	Re-add script for doing release build testing
Packit Service ea0369
Packit Service ea0369
	Refresh translations from zanata
Packit Service ea0369
Packit Service ea0369
2018-10-12  Fabiano Fidêncio  <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
	tests: Add tests for _domain_os_{set, get}_machine()
Packit Service ea0369
	Reviewed-by: Cole Robinson <crobinso@redhat.com>
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: add _domain_os_get_machine()
Packit Service ea0369
	Reviewed-by: Cole Robinson <crobinso@redhat.com>
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig-domain-sound: Add ich9 sound device
Packit Service ea0369
	Reviewed-by: Cole Robinson <crobinso@redhat.com>
Packit Service ea0369
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
2018-10-03  Fabiano Fidêncio  <fidencio@redhat.com>
Packit Service ea0369
Packit Service ea0369
	domain: Introduce gvir_config_domain_set_custom_xml_ns_children()
Packit Service ea0369
	gvir_config_domain_set_custom_xml_ns_children() basically has the same
Packit Service ea0369
	functionallity as gvir_config_domain_set_custom_xml() but also sets the
Packit Service ea0369
	namespace to the nodes' children.
Packit Service ea0369
Packit Service ea0369
	object: Also add the ns to the node's children
Packit Service ea0369
	With the current code, we can only create a custom XML that looks like:
Packit Service ea0369
	<metadata>
Packit Service ea0369
	  <boxes:gnome-boxes xmlns:boxes="https://wiki.gnome.org/Apps/Boxes">
Packit Service ea0369
	    <os-state>installed</os-state>
Packit Service ea0369
	    <media-id>http://centos.org/centos/7.0:0</media-id>
Packit Service ea0369
	    <media>/home/fidencio/Downloads/CentOS-7-x86_64-DVD-1804.iso</media>
Packit Service ea0369
	  </boxes:gnome-boxes>
Packit Service ea0369
	</metadata>
Packit Service ea0369
Packit Service ea0369
	Although it works well for some use cases, there are use cases where
Packit Service ea0369
	we'd like to have something a bit more complex libosinfo or nova
Packit Service ea0369
	examples:
Packit Service ea0369
	<metadata>
Packit Service ea0369
	  <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
Packit Service ea0369
	    <libosinfo:os id="http://fedoraproject.org/fedora/17"/>
Packit Service ea0369
	  </libosinfo:libosinfo>
Packit Service ea0369
	  <nova:instance xmlns:nova="http://openstack.org/nova/instance/1">
Packit Service ea0369
	    <nova:flavor name="m1.small">
Packit Service ea0369
	      <nova:memory>512</nova:memory>
Packit Service ea0369
	      <nova:disk>10</nova:disk>
Packit Service ea0369
	    </nova:flavor>
Packit Service ea0369
	  </nova:instance>
Packit Service ea0369
	</metadata>
Packit Service ea0369
Packit Service ea0369
	And for the latter case we'd have to go through the node's children and
Packit Service ea0369
	also set the namespace for each children.
Packit Service ea0369
Packit Service ea0369
	gconfig, gobject: Use G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE
Packit Service ea0369
	Commit 7190c5024d introduced the usage of new GObject define macros with
Packit Service ea0369
	private. However as the conversion hasn't been done for abstract types
Packit Service ea0369
	(G_DEFINE_ABSTRACT_TYPE) and the addition of the private classes for the
Packit Service ea0369
	abstract types has been removed as part of the commit, crashes can be
Packit Service ea0369
	seen in Apps consuming libvirt-glib, as this one from GNOME Boxes:
Packit Service ea0369
Packit Service ea0369
	 Thread 1 "gnome-boxes" received signal SIGSEGV, Segmentation fault.
Packit Service ea0369
	 0x00007ffff7ef2b35 in g_type_check_instance_is_fundamentally_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit Service ea0369
	 (gdb) bt
Packit Service ea0369
	 #0  0x00007ffff7ef2b35 in g_type_check_instance_is_fundamentally_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit Service ea0369
	 #1  0x00007ffff7ed2e75 in g_object_unref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit Service ea0369
	 #2  0x00007ffff6ef094e in gvir_domain_device_set_property (object=0x555556680950, prop_id=2, value=0x7fffffffcbe0,
Packit Service ea0369
	     pspec=0x555556772540) at libvirt-gobject-domain-device.c:89
Packit Service ea0369
	 #3  0x00007ffff7ed3b19 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit Service ea0369
	 #4  0x00007ffff7ed5624 in g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit Service ea0369
	 #5  0x00007ffff7ed5959 in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit Service ea0369
	 #6  0x00005555555d8257 in boxes_libvirt_machine_get_domain_disk (self=0x5555560e6790, error=0x55555615a630)
Packit Service ea0369
	     at /run/build/gnome-boxes/src/libvirt-machine.vala:547
Packit Service ea0369
	 #7  0x00005555555d0e7e in boxes_libvirt_machine_update_io_stat_co (_data_=0x55555615a320)
Packit Service ea0369
	     at /run/build/gnome-boxes/src/libvirt-machine.vala:280
Packit Service ea0369
	 #8  0x00005555555d09b2 in boxes_libvirt_machine_update_io_stat (self=0x5555560e6790, info=0x555555f25990, stat=0x555556736a90,
Packit Service ea0369
	     _callback_=0x5555555d2992 <boxes_libvirt_machine_update_stats_ready>, _user_data_=0x555556736a50)
Packit Service ea0369
	     at /run/build/gnome-boxes/src/libvirt-machine.vala:5
Packit Service ea0369
	 #9  0x00005555555d3120 in boxes_libvirt_machine_update_stats_co (_data_=0x555556736a50)
Packit Service ea0369
	     at /run/build/gnome-boxes/src/libvirt-machine.vala:332
Packit Service ea0369
	 #10 0x00005555555d29dd in boxes_libvirt_machine_update_stats_ready (source_object=0x5555567bb840, _res_=0x55555677ae00,
Packit Service ea0369
	     _user_data_=0x555556736a50) at /run/build/gnome-boxes/src/libvirt-machine.vala:328
Packit Service ea0369
	 #11 0x00007ffff72adc89 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Packit Service ea0369
	 #12 0x00007ffff72adcc9 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Packit Service ea0369
	 #13 0x00007ffff7dec948 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
Packit Service ea0369
	 #14 0x00007ffff7decd38 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
Packit Service ea0369
	 #15 0x00007ffff7decdcc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
Packit Service ea0369
	 #16 0x00007ffff72c2dbd in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Packit Service ea0369
	 #17 0x00005555556004b6 in _vala_main (args=0x7fffffffd4f8, args_length1=1) at /run/build/gnome-boxes/src/main.vala:84
Packit Service ea0369
	 #18 0x0000555555600517 in main (argc=1, argv=0x7fffffffd4f8) at /run/build/gnome-boxes/src/main.vala:68
Packit Service ea0369
Packit Service ea0369
	In order to solve the issue, let's just replace G_DEFINE_ABSTRACT_TYPE
Packit Service ea0369
	by G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE.
Packit Service ea0369
Packit Service ea0369
2018-08-16  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	configure: Drop GLIB2_TEST_REQUIRED
Packit Service ea0369
	Introduced in eb1f97a4b49a6e it is not needed anymore. The
Packit Service ea0369
	minimal required version of glib is now the same as the one
Packit Service ea0369
	required for tests.
Packit Service ea0369
Packit Service ea0369
	This practically reverts the referenced commit.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Use new GObject define macros with private
Packit Service ea0369
	G_ADD_PRIVATE was added in 2.38 and older functions are getting deprecated:
Packit Service ea0369
	https://gitlab.gnome.org/GNOME/glib/merge_requests/7/commits
Packit Service ea0369
Packit Service ea0369
	This also means, that the minimal required glib version is
Packit Service ea0369
	increased to 2.38.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Packit Service ea0369
Packit Service ea0369
2018-04-24  Daniel P. Berrangé  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	git: add config file telling git-publish how to send patches
Packit Service ea0369
	The "git-publish" tool is a useful git extension for sending patch
Packit Service ea0369
	series for code review. It automatically creates versioned tags
Packit Service ea0369
	each time code on a branch is sent, so that there is a record of
Packit Service ea0369
	each version. It also remembers the cover letter so it does not
Packit Service ea0369
	need re-entering each time the series is reposted.
Packit Service ea0369
Packit Service ea0369
	With this config file present it is now sufficient[1] to run
Packit Service ea0369
Packit Service ea0369
	  $ git publish
Packit Service ea0369
Packit Service ea0369
	to send all patches in a branch to the list for review, with the
Packit Service ea0369
	correct subject prefix added for this non-core libvirt module.
Packit Service ea0369
Packit Service ea0369
	[1] Assuming your $HOME/.gitconfig has an SMTP server listed
Packit Service ea0369
	at least e.g.
Packit Service ea0369
Packit Service ea0369
	   [sendemail]
Packit Service ea0369
	        smtpserver = smtp.example.com
Packit Service ea0369
Packit Service ea0369
2018-02-20  Daniel P. Berrangé  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	m4: disable gcc8 -Wcast-function-type warnings from -Wextra
Packit Service ea0369
	The -Wextra flag bundle gained a new warning -Wcast-function-type.
Packit Service ea0369
	This complains if you cast between two function prototypes where
Packit Service ea0369
	the number of parameters or their data types are not compatible.
Packit Service ea0369
	Unfortunately we need such "bad" function casts for our event
Packit Service ea0369
	callbacks. It is possible to silence the warning by first casting
Packit Service ea0369
	to the generic "void (*)(void)" function prototype, but that is
Packit Service ea0369
	rather ugly to add throughout libvirt code.
Packit Service ea0369
Packit Service ea0369
2018-01-17  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	remove bogus casts of arg to g_object_ref
Packit Service ea0369
	Latest version of glib uses typeof() magic to cast the
Packit Service ea0369
	return value of g_object_ref to match its argument,
Packit Service ea0369
	instead of returning a 'void *'. A few places in the
Packit Service ea0369
	code were casting the arg to G_OBJECT() which was then
Packit Service ea0369
	incompatible with the variable we assigned the result
Packit Service ea0369
	to. The parameter casts were always redundant so just
Packit Service ea0369
	remove them.
Packit Service ea0369
Packit Service ea0369
2017-12-04  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Refresh po files from zanata
Packit Service ea0369
Packit Service ea0369
2017-10-30  Marek Kasik  <mkasik@redhat.com>
Packit Service ea0369
Packit Service ea0369
	spec: Enable unit tests during build
Packit Service ea0369
	Enable unit tests so that we can catch some problems soon enough
Packit Service ea0369
	before the package gets to the users.
Packit Service ea0369
	Show test suite log if a test fail.
Packit Service ea0369
Packit Service ea0369
2017-09-21  Andrea Bolognani  <abologna@redhat.com>
Packit Service ea0369
Packit Service ea0369
	scripts: Fix sha-bang lines
Packit Service ea0369
	This is particularly useful on operating systems that don't ship
Packit Service ea0369
	Perl or Python as part of the base system (eg. FreeBSD) while still
Packit Service ea0369
	working just as well as it did before on Linux.
Packit Service ea0369
Packit Service ea0369
	While at it, make it explicit that our scripts are only going to
Packit Service ea0369
	work with Python 2, add a couple of missing sha-bang lines and
Packit Service ea0369
	tweak a couple more that just didn't look very nice.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	tests: Don't rely on non-portable paths
Packit Service ea0369
	The test-events program sets up a watch on /bin/true; however,
Packit Service ea0369
	that path is not portable: FreeBSD uses /usr/bin/true for example.
Packit Service ea0369
Packit Service ea0369
	Remove the portability issue by using /dev/null instead.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	configure: Look for Perl interpreter path
Packit Service ea0369
	The $(PERL) variable is used in several places, but configure is
Packit Service ea0369
	not actually looking for the Perl interpreter path, so it will
Packit Service ea0369
	always end up being empty.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	configure: Bump required libvirt version to 1.2.5
Packit Service ea0369
	That's the version that introduced VIR_DOMAIN_TIME_SYNC, which we
Packit Service ea0369
	use in the library.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	maint: Drop autobuild.sh
Packit Service ea0369
	The Test-AutoBuild project, that this script is supposed to be used
Packit Service ea0369
	with, hasn't seen any activity in ~6 years; libvirt's own CI, which
Packit Service ea0369
	also performs periodic builds of libvirt-glib, is running on Jenkins
Packit Service ea0369
	with a completely independent setup that doesn't use the script at
Packit Service ea0369
	all.
Packit Service ea0369
Packit Service ea0369
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
2017-08-14  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Set LC_CTYPE when running glib-mkenums
Packit Service ea0369
Packit Service ea0369
	Revert "Don't set LC_ALL=C during build as that breaks python apps"
Packit Service ea0369
	This reverts commit dae25f53293919bb2c22419c236bef5aa628e9be.
Packit Service ea0369
Packit Service ea0369
2017-07-25  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Don't set LC_ALL=C during build as that breaks python apps
Packit Service ea0369
	Setting LC_ALL=C breaks python apps doing I/O on UTF-8 source
Packit Service ea0369
	files. In particular this broke glib-mkenums
Packit Service ea0369
Packit Service ea0369
	  GEN      libvirt-gconfig-enum-types.h
Packit Service ea0369
	Traceback (most recent call last):
Packit Service ea0369
	  File "/usr/bin/glib-mkenums", line 669, in <module>
Packit Service ea0369
	    process_file(fname)
Packit Service ea0369
	  File "/usr/bin/glib-mkenums", line 406, in process_file
Packit Service ea0369
	    line = curfile.readline()
Packit Service ea0369
	  File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
Packit Service ea0369
	    return codecs.ascii_decode(input, self.errors)[0]
Packit Service ea0369
	UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 849: ordinal not in range(128)
Packit Service ea0369
Packit Service ea0369
2017-05-30  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add missing dep on intltool
Packit Service ea0369
	Libvirt-glib requires intltool at build time. Previously it
Packit Service ea0369
	was pulled in transitively via another RPM dependancy. As of
Packit Service ea0369
	Fedora 26, this no longer happens, exposing the missing RPM
Packit Service ea0369
	dep.
Packit Service ea0369
Packit Service ea0369
2017-03-25  Guido Günther  <agx@sigxcpu.org>
Packit Service ea0369
Packit Service ea0369
	examples: make detail strings match event details
Packit Service ea0369
Packit Service ea0369
2016-11-04  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post release version bump to 1.1.0
Packit Service ea0369
	NB, this will change to 2.0.0 if no new release is made
Packit Service ea0369
	during 2016
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 1.0.0 release
Packit Service ea0369
Packit Service ea0369
	bump release to 1.0.0 to match libvirt numbering scheme
Packit Service ea0369
	Switch to follow the libvirt release numbering scheme
Packit Service ea0369
Packit Service ea0369
	- Major is incremented at start of each year
Packit Service ea0369
	- Minor is incremented each release during a year
Packit Service ea0369
	- Micro is reserved for stable branch releases (if any)
Packit Service ea0369
Packit Service ea0369
2016-11-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	tests: Don't leak xml data in test-gconfig-device-unknown
Packit Service ea0369
Packit Service ea0369
2016-11-04  Zeeshan Ali  <zeenix@gmail.com>
Packit Service ea0369
Packit Service ea0369
	gconfig,tests: Add test case for unknown devices
Packit Service ea0369
Packit Service ea0369
2016-11-03  Zeeshan Ali  <zeenix@gmail.com>
Packit Service ea0369
Packit Service ea0369
	gconfig,tests: Separate XML loading function
Packit Service ea0369
	We'll need to load XML from file in another function, that will be added
Packit Service ea0369
	in a following patch.
Packit Service ea0369
Packit Service ea0369
	gconfig: Create objects for all domain device nodes
Packit Service ea0369
	Currently we can and do get into serious trouble with this kind of code:
Packit Service ea0369
Packit Service ea0369
	devices = gvir_config_domain_get_devices(domain);
Packit Service ea0369
	gvir_config_domain_set_devices(domain, domain);
Packit Service ea0369
Packit Service ea0369
	since the first call above won't return a complete list of objects present
Packit Service ea0369
	in the domain but only the ones we have specific classes for and the
Packit Service ea0369
	second call above overwrites all device nodes under the domain. This
Packit Service ea0369
	lately made Boxes break against the latest libvirt, where a new device
Packit Service ea0369
	node was made compulsory[1].
Packit Service ea0369
Packit Service ea0369
	Although we should add support for all know domain devices ASAP, new
Packit Service ea0369
	devices will be added in future and this can happen again. So let's first
Packit Service ea0369
	ensure that gvir_config_domain_get_devices() always returns all devices
Packit Service ea0369
	under the domain. All unknown/unimplemented devices will now be returned
Packit Service ea0369
	as the very generic DomainDevice objects. Once we add support for a
Packit Service ea0369
	particular device, there will be no API/ABI breakage since the new class
Packit Service ea0369
	will inherit from DomainDevice class.
Packit Service ea0369
Packit Service ea0369
	[1] https://bugzilla.redhat.com/show_bug.cgi?id=1388091
Packit Service ea0369
Packit Service ea0369
2016-11-01  Zeeshan Ali  <zeenix@gmail.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: DomainDevice now instantiable
Packit Service ea0369
	We'll need to instatiate DomainDevice baseclass itself for unknown (think
Packit Service ea0369
	new devices added to libvirt XML) devices in a following patch. This
Packit Service ea0369
	change makes that possible.
Packit Service ea0369
Packit Service ea0369
	This doesn't break any API or ABI to the best of my knowledge and this
Packit Service ea0369
	assumption was confirmed by Emmanuele Bassi and Tim-Philipp Muller.
Packit Service ea0369
Packit Service ea0369
	gconfig: Allow schema to be NULL
Packit Service ea0369
	Validation (if attempted) should just fail in this case instead of
Packit Service ea0369
	crashing.
Packit Service ea0369
Packit Service ea0369
2016-08-02  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Delete the manually written python binding
Packit Service ea0369
	The python binding only supports python2, only supports
Packit Service ea0369
	1 single API in libvirt-glib and has not even been enabled
Packit Service ea0369
	in RPM builds since Fedora 15. Any distro these days should
Packit Service ea0369
	have gobject introspection and pygobject available, so
Packit Service ea0369
	there's no compelling reason to continue to have the python
Packit Service ea0369
	binding exist.
Packit Service ea0369
Packit Service ea0369
2016-07-28  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Remove accidental debug code which changed version
Packit Service ea0369
Packit Service ea0369
	Fix check for libvirt optional functions
Packit Service ea0369
	The checks for virDomainOpenGraphicsFD and
Packit Service ea0369
	virNetworkGetDHCPLeases in configure are simply trying
Packit Service ea0369
	to compile and link a test program. This was assuming
Packit Service ea0369
	that libvirt was installed in /usr/lib & /usr/include,
Packit Service ea0369
	which is not always the case. Using a pkg-config version
Packit Service ea0369
	check avoids needing to compile and thus avoids the
Packit Service ea0369
	bad assumptions about install locations.
Packit Service ea0369
Packit Service ea0369
	Avoid unused variable in DHCP lease finalize method
Packit Service ea0369
	If the network DHCP lease support is not detected, the build
Packit Service ea0369
	will generate a warning / error:
Packit Service ea0369
Packit Service ea0369
	libvirt-gobject-network-dhcp-lease.c: In function 'gvir_network_dhcp_lease_finalize':
Packit Service ea0369
	libvirt-gobject-network-dhcp-lease.c:99:27: error: unused variable 'lease' [-Werror=unused-variable]
Packit Service ea0369
	     GVirNetworkDHCPLease *lease = GVIR_NETWORK_DHCP_LEASE(object);
Packit Service ea0369
	                           ^~~~~
Packit Service ea0369
	cc1: all warnings being treated as errors
Packit Service ea0369
Packit Service ea0369
2016-07-27  Guido Günther  <agx@sigxcpu.org>
Packit Service ea0369
Packit Service ea0369
	docs: Document gvir_connection_get_{storage_pools,networks,domains}
Packit Service ea0369
	In contrast to libvirt itself all get_* methods need to prefetch the
Packit Service ea0369
	corresponding information first so document this.
Packit Service ea0369
Packit Service ea0369
	Acked-by: Christophe Fergeau <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
2016-07-25  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	tests: Add test for GVirConfigDomainHostdevPci API
Packit Service ea0369
Packit Service ea0369
2016-07-25  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigDomainAddressPci getters
Packit Service ea0369
	They will be useful to do more checks in the GVirDomainDeviceHostdev
Packit Service ea0369
	unit test.
Packit Service ea0369
Packit Service ea0369
2016-07-25  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigDomainHostdevPci
Packit Service ea0369
	Add API to read and write PCI hostdev nodes.
Packit Service ea0369
Packit Service ea0369
2016-07-22  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigDomainHostdev
Packit Service ea0369
	Add API to read and write domain/devices/hostdev nodes. This patch only
Packit Service ea0369
	adds the baseclass and hence is not useful on it's own. A more specific
Packit Service ea0369
	subclass to represent PCI devices will be added in a following patch.
Packit Service ea0369
Packit Service ea0369
2016-07-21  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add gvir_config_object_has_child
Packit Service ea0369
Packit Service ea0369
2016-07-21  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add gvir_config_domain_video_get_model()
Packit Service ea0369
	Add a getter for model of domain video device.
Packit Service ea0369
Packit Service ea0369
2016-02-26  Marc-André Lureau  <marcandre.lureau@gmail.com>
Packit Service ea0369
Packit Service ea0369
	config: add accel3d setter
Packit Service ea0369
	Learn to set the accel3d attribute on video model.
Packit Service ea0369
Packit Service ea0369
	config: add virtio video model
Packit Service ea0369
Packit Service ea0369
	config: add spice gl child
Packit Service ea0369
	Learn to set  "gl" on spice (to have -spice gl=on on qemu)
Packit Service ea0369
Packit Service ea0369
	tests: fix potential crash
Packit Service ea0369
	The idle source is not always removed and may crash next tests
Packit Service ea0369
Packit Service ea0369
2016-02-14  Marc-André Lureau  <marcandre.lureau@gmail.com>
Packit Service ea0369
Packit Service ea0369
	build-sys: fix gir introspection warnings
Packit Service ea0369
	Enable GIR warnings and fix them, since they are all useful.
Packit Service ea0369
Packit Service ea0369
2015-12-26  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	libvirt-glib-1.0.pc.in: Correctly mark variable
Packit Service ea0369
	In the pkg-config file for libvirt-glib we have a typo:
Packit Service ea0369
Packit Service ea0369
	  Libs.private: @LIBVIRT_LIBS @GLIB2_LIBS@
Packit Service ea0369
Packit Service ea0369
	Noticed the missing '@' after LIBVIRT_LIBS? Well, I just did.
Packit Service ea0369
Packit Service ea0369
2015-12-16  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post release version bump
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.2.3 release
Packit Service ea0369
Packit Service ea0369
	Refresh translations from zanata
Packit Service ea0369
Packit Service ea0369
2015-12-07  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Drop unused finalize function
Packit Service ea0369
	After 1225a160ac3b4 where I'm dropping some unused variables, the
Packit Service ea0369
	functions I was touching became sort of redundant too.
Packit Service ea0369
	Specifically, gvir_domain_disk_finalize() and
Packit Service ea0369
	gvir_domain_interface_finalize().
Packit Service ea0369
Packit Service ea0369
2015-12-05  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: Drop some unused variables
Packit Service ea0369
	After abe983ddf8a569 there are some variables, that are unused:
Packit Service ea0369
Packit Service ea0369
	  CC       libvirt_gobject_1_0_la-libvirt-gobject-domain-disk.lo
Packit Service ea0369
	  CC       libvirt_gobject_1_0_la-libvirt-gobject-domain-interface.lo
Packit Service ea0369
	  CC       libvirt_gobject_1_0_la-libvirt-gobject-domain.lo
Packit Service ea0369
	  CC       libvirt_gobject_1_0_la-libvirt-gobject-interface.lo
Packit Service ea0369
	../../libvirt-gobject/libvirt-gobject-domain-interface.c: In function 'gvir_domain_interface_finalize':
Packit Service ea0369
	../../libvirt-gobject/libvirt-gobject-domain-interface.c:54:26: error: unused variable 'self' [-Werror=unused-variable]
Packit Service ea0369
	     GVirDomainInterface *self = GVIR_DOMAIN_INTERFACE(object);
Packit Service ea0369
	                          ^
Packit Service ea0369
	cc1: all warnings being treated as errors
Packit Service ea0369
	Makefile:724: recipe for target 'libvirt_gobject_1_0_la-libvirt-gobject-domain-interface.lo' failed
Packit Service ea0369
	make[3]: *** [libvirt_gobject_1_0_la-libvirt-gobject-domain-interface.lo] Error 1
Packit Service ea0369
	make[3]: *** Waiting for unfinished jobs....
Packit Service ea0369
	../../libvirt-gobject/libvirt-gobject-domain-disk.c: In function 'gvir_domain_disk_finalize':
Packit Service ea0369
	../../libvirt-gobject/libvirt-gobject-domain-disk.c:54:21: error: unused variable 'self' [-Werror=unused-variable]
Packit Service ea0369
	     GVirDomainDisk *self = GVIR_DOMAIN_DISK(object);
Packit Service ea0369
	                     ^
Packit Service ea0369
	cc1: all warnings being treated as errors
Packit Service ea0369
	Makefile:717: recipe for target 'libvirt_gobject_1_0_la-libvirt-gobject-domain-disk.lo' failed
Packit Service ea0369
Packit Service ea0369
2015-12-04  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gobject,gconfig: Drop redundant debug logging
Packit Service ea0369
	The g_debug messages in libvirt-gobject creation/destruction were to aid
Packit Service ea0369
	troubleshooting of object reference leaks. GObject has built-in systemtap
Packit Service ea0369
	probes that allow the same to be achieved in a more flexible manner, so
Packit Service ea0369
	the g_debug calls can be removed
Packit Service ea0369
Packit Service ea0369
2015-11-26  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gobject: Port to GTask API
Packit Service ea0369
	Drop usage of deprecated GSimpleAsyncResult API.
Packit Service ea0369
Packit Service ea0369
2015-11-23  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gobject,gconfig: Drop redundant glib compatibility code
Packit Service ea0369
	We already require and use glib >= 2.36 so there is no reason to keep
Packit Service ea0369
	around code to ensure compatibility with glib older than that.
Packit Service ea0369
Packit Service ea0369
	gobject: Add wrapper virDomainSetTime()
Packit Service ea0369
Packit Service ea0369
2015-09-23  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gobject: Correct docs for gvir_storage_pool_get_info()
Packit Service ea0369
	The returned GVirStoragePoolInfo pointer is not a GObject so it must not
Packit Service ea0369
	be unrefed using g_object_unref(). Since gvir_storage_pool_info_free()
Packit Service ea0369
	is private function, callers must either use g_slice_free() or
Packit Service ea0369
	g_boxed_free().
Packit Service ea0369
Packit Service ea0369
2015-07-24  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	configure.ac: update min required versions
Packit Service ea0369
	Based on the distro target policy we have the following
Packit Service ea0369
	min versions in various distros
Packit Service ea0369
Packit Service ea0369
	                   libvirt  glib2    gobject-introspection
Packit Service ea0369
	        RHEL 7.0:  1.1.1    2.36.3   1.36.0
Packit Service ea0369
	       Fedora 21:  1.2.9    2.42.1   1.42.0
Packit Service ea0369
	    Ubuntu 14.10:  1.2.8    2.42.0   1.41.0
Packit Service ea0369
	Ubuntu LTS 14.04:  1.2.2    2.40.0   1.40.0
Packit Service ea0369
	       Suse 12.0:  1.2.5    2.38.2   1.38.0
Packit Service ea0369
	   OpenSUSE 13.1:  1.1.2    2.38.2   1.38.0
Packit Service ea0369
	        Debian 8:  1.2.9    2.42.0   1.42.0
Packit Service ea0369
Packit Service ea0369
	Which means we can reasonably depend on
Packit Service ea0369
Packit Service ea0369
	  libvirt >= 1.1.1
Packit Service ea0369
	  glib2 >= 2.36.0
Packit Service ea0369
	  gobject-introspection >= 1.36.0
Packit Service ea0369
Packit Service ea0369
	NB, choosen 2.36.0 rather than 2.36.3 because they are
Packit Service ea0369
	API compatible, the micro digit just indicates a bug
Packit Service ea0369
	fix release.
Packit Service ea0369
Packit Service ea0369
	README: formally document intended platform support targets
Packit Service ea0369
	Give users an indication of what distro platforms the project
Packit Service ea0369
	intends to be buildable on. This policy will be used to decide
Packit Service ea0369
	when it is appropriate to increase the minimum required versions
Packit Service ea0369
	of external dependancies.
Packit Service ea0369
Packit Service ea0369
	As an example, as of July 1st 2015, this policy would aim to pick the
Packit Service ea0369
	min versions based on what's available across the following sample
Packit Service ea0369
	distros:
Packit Service ea0369
Packit Service ea0369
	 - RHEL: 7.0, 7.1
Packit Service ea0369
	 - Fedora: 21, 22
Packit Service ea0369
	 - Ubuntu LTS: 14.04 (Trusty)
Packit Service ea0369
	 - Ubuntu: 14.10 (Utopic), 15.04 (Vivid)
Packit Service ea0369
	 - Suse: 12.0
Packit Service ea0369
	 - OpenSUSE: 13.1, 13.2
Packit Service ea0369
	 - Debian: 8.0 (Jessie)
Packit Service ea0369
Packit Service ea0369
2015-07-22  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	examples: Don't leak mainloop in conn-test.c
Packit Service ea0369
	The program exits right after this, so it's no big deal, but this gives
Packit Service ea0369
	us a clean valgrind --leak-check=full output.
Packit Service ea0369
Packit Service ea0369
	gconfig: Use GVirConfigObject helpers for <video> XML
Packit Service ea0369
	GVirConfigDomainVideo is using raw libxml calls to set the 'heads' and
Packit Service ea0369
	'vram' XML attributes rather than the helpers provided by
Packit Service ea0369
	GVirConfigObject. This commit changes that, making the code a bit
Packit Service ea0369
	simpler.
Packit Service ea0369
Packit Service ea0369
	test-gconfig: Test video heads/vram setting
Packit Service ea0369
Packit Service ea0369
	test-gconfig: Fix various leaks
Packit Service ea0369
	Running test-gconfig under valgrind reports a few leaks that this commit
Packit Service ea0369
	fixes.
Packit Service ea0369
Packit Service ea0369
	gconfig: Fix leak in gvir_config_domain_filesys_set_ram_usage
Packit Service ea0369
	The object returned by gvir_config_object_replace_child() must be
Packit Service ea0369
	unref'ed when no longer needed.
Packit Service ea0369
Packit Service ea0369
2015-07-21  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post release version bump to 0.2.3
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.2.2 release
Packit Service ea0369
Packit Service ea0369
	Make use of DHCP API conditionally compiled
Packit Service ea0369
	Previously the use of virDomainOpenGraphicsFD API from libvirt
Packit Service ea0369
	1.2.8 was made to be conditionally compiled. Given this past
Packit Service ea0369
	practice, make use of the virNetworkGetDHCPLeases API
Packit Service ea0369
	conditional too, rather than requiring newer libvirt.
Packit Service ea0369
Packit Service ea0369
2015-07-17  T A Mahadevan  <ta.mahadevan@gmail.com>
Packit Service ea0369
Packit Service ea0369
	Add ram and vgamem attributes for graphics model.
Packit Service ea0369
Packit Service ea0369
	buildsys: Add missing libraries to LDFLAGS
Packit Service ea0369
	Without these changes 'make check' would not
Packit Service ea0369
	run on Ubuntu because of a link failure as
Packit Service ea0369
	the tests are directly using glib/libvirt
Packit Service ea0369
	symbols.
Packit Service ea0369
Packit Service ea0369
	Add LibvirtGConfigDomainChardevSourceUnix
Packit Service ea0369
	This is needed to be able to add UNIX channels
Packit Service ea0369
Packit Service ea0369
2015-07-13  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Require libvirt-glib >= 1.2.6
Packit Service ea0369
	With bindings added to API that came in 1.2.6:
Packit Service ea0369
Packit Service ea0369
	81c5969 - gobject: Add wrapper for virNetworkGetDHCPLeases
Packit Service ea0369
	deed153 - gobject: Add wrapper for virNetworkDHCPLease
Packit Service ea0369
Packit Service ea0369
	we better make our requirement explicit.
Packit Service ea0369
Packit Service ea0369
	The alternative would be to make use of #ifdef to only use newer symbols
Packit Service ea0369
	from libvirt if installed version is >= 1.2.6 but that would require at
Packit Service ea0369
	least 12 #ifdef in different places and hence very ugly IMO. Keeping in
Packit Service ea0369
	mind that 1.2.6 is more than an year old now and it doesn't make much
Packit Service ea0369
	sense to wanting to upgrade to latest libvirt-glib but not wanting to
Packit Service ea0369
	upgrade to even an year old libvirt, this is very unlikely to cause any
Packit Service ea0369
	real issues.
Packit Service ea0369
Packit Service ea0369
2015-07-08  Cédric Bosdonnat  <cbosdonnat@suse.com>
Packit Service ea0369
Packit Service ea0369
	Dsitribute the whole tests/xml folder
Packit Service ea0369
Packit Service ea0369
	Don't overwrite filesystem type when writing format
Packit Service ea0369
	When setting filesystem driver format first and type, only the type
Packit Service ea0369
	remained and vice-versa.
Packit Service ea0369
Packit Service ea0369
2015-07-07  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gobject: Add wrapper for virNetworkGetDHCPLeases
Packit Service ea0369
Packit Service ea0369
	gobject: Add wrapper for virNetworkDHCPLease
Packit Service ea0369
Packit Service ea0369
	gobject: Add API to query connection networks
Packit Service ea0369
	Add API to query networks from a connection.
Packit Service ea0369
Packit Service ea0369
	gobject: Add API to query connection interfaces
Packit Service ea0369
	Add API to query network interfaces from a connection.
Packit Service ea0369
Packit Service ea0369
	gobject: Port GVirConnection to GTask
Packit Service ea0369
	GSimpleAsyncResult has been deprecated in favour of GTask and with
Packit Service ea0369
	latest glib headers, we get tons of warnings about use of deprecated
Packit Service ea0369
	API. This patch ports the GVirConnection class to GTask.
Packit Service ea0369
Packit Service ea0369
	gobject: Plug 2 virConnect leaks
Packit Service ea0369
	A virConnect reference is leaked in error cases. This patch moves the
Packit Service ea0369
	unref after the label we jump to on errors, to avoid this leak.
Packit Service ea0369
Packit Service ea0369
	gobject: Simplify gvir_connection_list*() implementations
Packit Service ea0369
	Make use of virConnectListAll* functions to avoid making 4 calls and
Packit Service ea0369
	hence avoid race conditions and complicated code.
Packit Service ea0369
Packit Service ea0369
2015-07-03  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Bump version
Packit Service ea0369
Packit Service ea0369
2015-06-27  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gobject: Add gvir_interface_get_mac()
Packit Service ea0369
	Add a wrapper for virInterfaceGetMACString().
Packit Service ea0369
Packit Service ea0369
2015-06-17  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Fix small leak in test-domain-create
Packit Service ea0369
	The object returned by gvir_config_domain_disk_get_driver() must be
Packit Service ea0369
	unref'ed when no longer used.
Packit Service ea0369
Packit Service ea0369
2015-06-16  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.2.1 release
Packit Service ea0369
Packit Service ea0369
	Refresh translations from zanata
Packit Service ea0369
Packit Service ea0369
2015-06-16  Cédric Bosdonnat  <cbosdonnat@suse.com>
Packit Service ea0369
Packit Service ea0369
	domain config: add API to set the filesystem image format
Packit Service ea0369
	Add the gvir_config_domain_filesys_set_driver_format function to allow
Packit Service ea0369
	setting nbd driver type + image format for containers filesystems.
Packit Service ea0369
Packit Service ea0369
	Add loop, nbd and ploop filesystem types
Packit Service ea0369
Packit Service ea0369
	gvir_config_domain_filesys_set_driver_type: replace the driver node
Packit Service ea0369
	Replace the driver node in case the user calls the function more than
Packit Service ea0369
	one time.
Packit Service ea0369
Packit Service ea0369
	test-gconfig: add filesystem test
Packit Service ea0369
Packit Service ea0369
2015-06-01  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	storage-pool: API to get/set autostart flag
Packit Service ea0369
	Add binding for virStoragePoolGetAutostart & virStoragePoolSetAutostart.
Packit Service ea0369
Packit Service ea0369
2015-06-01  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Don't try to return value from gvir_config_domain_set_memory
Packit Service ea0369
	gvir_config_domain_set_memory() is a void function, so using
Packit Service ea0369
	g_return_val_if_fail() is not correct. This causes a warning/compilation
Packit Service ea0369
	failure on CentOS CI framework:
Packit Service ea0369
	https://ci.centos.org/view/libvirt-project/job/libvirt-glib-build/systems=libvirt-fedora-20/144/console
Packit Service ea0369
Packit Service ea0369
	gconfig: Add precondition checks to some public entry points
Packit Service ea0369
	It's currently possible to trigger a crash by passing eg NULL to these
Packit Service ea0369
	functions. Better to return a prominent warning to the caller without
Packit Service ea0369
	crashing.
Packit Service ea0369
Packit Service ea0369
2015-05-18  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Bump version to 0.2.1
Packit Service ea0369
Packit Service ea0369
2015-04-13  Richa Sehgal  <richasehgal2908@gmail.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add support for 'compat' storage volume node
Packit Service ea0369
	This change adds support for setting of compat XML node in
Packit Service ea0369
	libvirt-gconfig storage volumes target.
Packit Service ea0369
Packit Service ea0369
2015-03-24  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	build-sys: Fix libtoolize detection in autogen.sh
Packit Service ea0369
	autogen.sh is currently checking for the libtool binary, but
Packit Service ea0369
	it's libtoolize which is needed by autoreconf, not libtool.
Packit Service ea0369
Packit Service ea0369
	These binaries are packaged separately on Debian/Ubuntu so this can
Packit Service ea0369
	cause actual issues on some systems.
Packit Service ea0369
Packit Service ea0369
	Bug reported by Frederic Peters
Packit Service ea0369
Packit Service ea0369
2015-02-18  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Switch over to using zanata for translation
Packit Service ea0369
	Remove obsolete transifex config and add zanata config,
Packit Service ea0369
	re-generating all po files
Packit Service ea0369
Packit Service ea0369
2014-12-15  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.2.0 release
Packit Service ea0369
Packit Service ea0369
	Fix build on win32 due to missing sys/socket.h
Packit Service ea0369
Packit Service ea0369
2014-11-27  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add gvir_domain_open_graphics_fd()
Packit Service ea0369
	Add binding for virDomainOpenGraphicsFD. If virDomainOpenGraphicsFD is
Packit Service ea0369
	not available, it means we are dealing with older libvirt so we create
Packit Service ea0369
	the socket pair ourselves if that is the case.
Packit Service ea0369
Packit Service ea0369
2014-11-13  Martin Kletzander  <mkletzan@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Revert back deleted glib-specific warning options
Packit Service ea0369
	Commit f525ba7796a2fd35bf55e88fb94459b2277fcd67 copied warning macros
Packit Service ea0369
	from gnulib without keeping glib-specific settings.  This build-breaker
Packit Service ea0369
	brings back those needed ones except unused-parameter, which is no
Packit Service ea0369
	longer needed.
Packit Service ea0369
Packit Service ea0369
	Properly mark unused parameters
Packit Service ea0369
Packit Service ea0369
2014-11-13  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	m4: sync macros with libvirt
Packit Service ea0369
	The macros under the m4 directory are outdated a bit. When trying
Packit Service ea0369
	to compile with newer gcc I see some errors:
Packit Service ea0369
Packit Service ea0369
	make[2]: Entering directory '/home/zippy/work/libvirt/libvirt-glib.git/libvirt-glib'
Packit Service ea0369
	  CC       libvirt_glib_1_0_la-libvirt-glib-error.lo
Packit Service ea0369
	gcc: warning: switch '-Wmudflap' is no longer supported
Packit Service ea0369
Packit Service ea0369
2014-09-29  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVIR_CONFIG_DOMAIN_INPUT_DEVICE_KEYBOARD
Packit Service ea0369
	Add missing enum type for keyboard input device.
Packit Service ea0369
Packit Service ea0369
2014-08-20  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post-release version bump to 0.2.0
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.1.9 release
Packit Service ea0369
Packit Service ea0369
	Refresh translations from transifex
Packit Service ea0369
Packit Service ea0369
2014-08-20  Timm Bäder  <mail@baedert.org>
Packit Service ea0369
Packit Service ea0369
	GVirDomainSnapshot: Add async version of _delete
Packit Service ea0369
Packit Service ea0369
	GVirDomain: Add async version of _create_snapshot
Packit Service ea0369
Packit Service ea0369
	GVirDomainSnapshot: Add async version of _revert_to
Packit Service ea0369
Packit Service ea0369
	GVirDomain: Fix some doc comments of the snapshot API
Packit Service ea0369
	Fixes the following warnings from g-ir-scanner and some cosmetic issues:
Packit Service ea0369
Packit Service ea0369
	libvirt-gobject-domain.c:1532: Warning: LibvirtGObject: unknown
Packit Service ea0369
	annotation: transfer-none
Packit Service ea0369
	libvirt-gobject-domain.c:1650: Error: LibvirtGObject: identifier not
Packit Service ea0369
	found on the first line:
Packit Service ea0369
	 *
Packit Service ea0369
	   ^
Packit Service ea0369
Packit Service ea0369
	GVirDomain: Add _get_has_current_snapshot
Packit Service ea0369
	... which uses virDomainHasCurrentSnapshot to determine if the given
Packit Service ea0369
	domain has a current snapshot or not.
Packit Service ea0369
Packit Service ea0369
	GVirDomainSnapshot: Add _set_config
Packit Service ea0369
	... which is basically analogous to gvir_domain_set_config
Packit Service ea0369
Packit Service ea0369
	GVirDomainSnapshot: Add _revert_to
Packit Service ea0369
	Add a way to revert a domain to one of its snapshots.
Packit Service ea0369
Packit Service ea0369
	GVirDomainSnapshot: Add _get_is_current
Packit Service ea0369
	Add a way to determine if the given GVirDomainSnapshot is the current
Packit Service ea0369
	snapshot of its GVirDomain.
Packit Service ea0369
Packit Service ea0369
2014-08-04  Timm Bäder  <mail@baedert.org>
Packit Service ea0369
Packit Service ea0369
	GVirDomain: Add async version of _fetch_snapshots
Packit Service ea0369
Packit Service ea0369
	libvirt-gobject-domain: Add _get_snapshots
Packit Service ea0369
	... which returns a GList of GVirDomainSnapshots, i.e. without any tree
Packit Service ea0369
	structure or other relationship between the snapshots.
Packit Service ea0369
Packit Service ea0369
	libvirt-gobject-domain: Add _fetch_snapshots
Packit Service ea0369
	This function can be used to fetch the snapshots of a domain (according
Packit Service ea0369
	to the given GVirDomainSnapshotListFlags) and save them in a
Packit Service ea0369
	domain-internal GHashTable. A function to access them from outside will
Packit Service ea0369
	be added in a later patch.
Packit Service ea0369
Packit Service ea0369
2014-08-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	spec: Substitute minimum glib2 version from configure.ac
Packit Service ea0369
	This way we don't have to keep track of the minimum glib2 version we
Packit Service ea0369
	need in 2 separate places.
Packit Service ea0369
Packit Service ea0369
	gobject: Fix GEnum generation through glib-mkenums
Packit Service ea0369
	We were only passing libvirt-gobject-domain.h and
Packit Service ea0369
	libvirt-gobject-connection.h through glib-mkenums, which causes it to
Packit Service ea0369
	only generate GEnum information for enums found in these headers.
Packit Service ea0369
	We want to do that for all enums defined in installed headers, so
Packit Service ea0369
	passing all headers listed in libvirt_gobject_1_0_la_HEADERS is more
Packit Service ea0369
	appropriate.
Packit Service ea0369
Packit Service ea0369
2014-08-01  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_domain_cpu_set_model()
Packit Service ea0369
	Add a method to set model of domain CPU.
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainCpuModel class
Packit Service ea0369
	Add a class to represent 'model' node under domain/cpu.
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_capabilities_cpu_get_model()
Packit Service ea0369
	Add a method to get the model of the CPU from capabilities.
Packit Service ea0369
Packit Service ea0369
2014-07-15  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigCapabilitiesCpuModel class
Packit Service ea0369
	Add a class to represent 'model' node under capabilities/host/cpu.
Packit Service ea0369
Packit Service ea0369
2014-06-17  Cédric Bosdonnat  <cbosdonnat@suse.com>
Packit Service ea0369
Packit Service ea0369
	Add API to get security models from host capabilities
Packit Service ea0369
Packit Service ea0369
2014-06-04  Michael Catanzaro  <mcatanzaro@gnome.org>
Packit Service ea0369
Packit Service ea0369
	build: fix race in vapi/ subdirectory
Packit Service ea0369
	libvirt-gobject-1.0.vapi depends on libvirt-gconfig-1.0.vapi
Packit Service ea0369
Packit Service ea0369
2014-06-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	spec: Move .vapi files to -devel RPMs
Packit Service ea0369
	.vapi files are only needed when building vala programs using
Packit Service ea0369
	libvirt-glib, so they belong to the -devel RPMs, not to the non-devel
Packit Service ea0369
	RPMs which only hold files needed at runtime.
Packit Service ea0369
Packit Service ea0369
2014-06-03  Timm Bäder  <mail@baedert.org>
Packit Service ea0369
Packit Service ea0369
	GVirDomainSnapshot: Add gvir_domain_snapshot_delete
Packit Service ea0369
Packit Service ea0369
	Remove #if 0's from libvirt-gobject-domain-snapshot
Packit Service ea0369
	The code seems to be fine.
Packit Service ea0369
Packit Service ea0369
2014-06-03  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	tests: Fix make distcheck
Packit Service ea0369
	Some files are missing from EXTRA_DIST, causing make distcheck to fail
Packit Service ea0369
	when tests are enabled.
Packit Service ea0369
Packit Service ea0369
	tests: Move EXTRA_DIST back into ENABLE_TESTS conditional
Packit Service ea0369
	When deciding which files to put into the make dist tarball, automake is
Packit Service ea0369
	clever enough to ignore conditional blocks, and to pick all files which are
Packit Service ea0369
	needed for all values of the conditional.
Packit Service ea0369
Packit Service ea0369
	Having EXTRA_DIST=xxx at the beginning of tests/Makefile.am causes
Packit Service ea0369
	warnings from automake when ENABLE_TESTS is true as glib-tap.mk will
Packit Service ea0369
	unconditionally empty it.
Packit Service ea0369
Packit Service ea0369
	Keeping EXTRA_DIST+=xxx outside of the ENABLE_TESTS conditional would
Packit Service ea0369
	cause a different warning from automake when ENABLE_TESTS is false as
Packit Service ea0369
	we'd be appending to a variable which was never set.
Packit Service ea0369
Packit Service ea0369
	Moving EXTRA_DIST+= back into the conditional solves these 2 warnings.
Packit Service ea0369
Packit Service ea0369
2014-05-16  Marc-André Lureau  <marcandre.lureau@gmail.com>
Packit Service ea0369
Packit Service ea0369
	tests: test spiceport chardev
Packit Service ea0369
Packit Service ea0369
	gconfig: add spiceport chardev
Packit Service ea0369
Packit Service ea0369
2014-05-12  Timm Bäder  <mail@baedert.org>
Packit Service ea0369
Packit Service ea0369
	domain-device-private: fix typo in header guard
Packit Service ea0369
Packit Service ea0369
2014-02-21  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post release version bump to 0.1.9
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.1.8 release
Packit Service ea0369
Packit Service ea0369
	Disable test suite unless glib >= 2.38
Packit Service ea0369
	The TAP harness for glib only works with version 2.38 or later,
Packit Service ea0369
	so must be disabled for earlier versions
Packit Service ea0369
Packit Service ea0369
2014-02-20  Pavel Hrdina  <phrdina@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject-stream: fix issue found by coverity
Packit Service ea0369
	The coverity server found issue in gvir_stream_close function that
Packit Service ea0369
	we ignore return values of g_input_stream_close and
Packit Service ea0369
	g_output_stream_close, but we also ignore the error message and we
Packit Service ea0369
	assume that it's closed without error.
Packit Service ea0369
Packit Service ea0369
	Now we will check return values and also propagate the error message
Packit Service ea0369
	to the upper layers. We should try to close both streams even if
Packit Service ea0369
	closing the first one will fails. We can propagate only one error
Packit Service ea0369
	message.
Packit Service ea0369
Packit Service ea0369
2014-02-14  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Avoid false positive in diagnostic check against tap-driver.sh
Packit Service ea0369
Packit Service ea0369
	Add <config.h> to test cases
Packit Service ea0369
Packit Service ea0369
	Remove doubled 'on on' word in tap-driver.sh
Packit Service ea0369
Packit Service ea0369
	Don't mandate test files to call bindtextdomain
Packit Service ea0369
Packit Service ea0369
	Fix symfile checks in VPATH build
Packit Service ea0369
	The check-symfile and check-symsorting rules were not
Packit Service ea0369
	taking $(srcdir) into account when accessing the symfile
Packit Service ea0369
	paths.
Packit Service ea0369
Packit Service ea0369
2014-02-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	build-sys: Update .gitignore
Packit Service ea0369
Packit Service ea0369
	glib: Add unit test for libvirt/glib mainloop integration
Packit Service ea0369
	It's currently only testing removal of disabled timer/watches
Packit Service ea0369
Packit Service ea0369
	gconfig: Start adding more formal unit tests
Packit Service ea0369
	Rather than the ever growing standalone libvirt-gconfig/tests/test-domain-create
Packit Service ea0369
	program, this commit adds support for glib GTester framework as well as 2
Packit Service ea0369
	smaller tests cases for GVirConfigDomain and GVirConfigDomainClock.
Packit Service ea0369
Packit Service ea0369
	glib: Don't leak GIOChannel when destroying IO handle
Packit Service ea0369
	gvir_event_handle_add() creates a GIOChannel in order to watch the fd it
Packit Service ea0369
	was given for changes.
Packit Service ea0369
	gvir_event_handle_remove() is freeing all the resources allocated by
Packit Service ea0369
	gvir_event_handle_add() except for this GIOChannel. This commit adds
Packit Service ea0369
	the needed g_io_channel_unref() call to gvir_event_handle_remove()
Packit Service ea0369
Packit Service ea0369
	glib: Allow to remove disabled timers and handles
Packit Service ea0369
	Trying to remove a disabled timer or handle will cause
Packit Service ea0369
	gvir_{event,timer}_handle_remove() to return an error
Packit Service ea0369
	rather than removing it.
Packit Service ea0369
Packit Service ea0369
	glib: Don't create glib IO watch for disabled handles
Packit Service ea0369
	It's possible to create a handle to watch for file events which do not
Packit Service ea0369
	watch for any file event. Such a handle can be enabled later with
Packit Service ea0369
	gvir_event_handle_update() by setting some conditions to watch for.
Packit Service ea0369
Packit Service ea0369
	When a handle is disabled after it has been created,
Packit Service ea0369
	gvir_event_handle_update() makes sure it removes the corresponding
Packit Service ea0369
	gvir_event_handle::source IO watch if any was set.
Packit Service ea0369
	gvir_event_handle_add() will always create a gvir_event_handle::source
Packit Service ea0369
	IO watch even if the handle is not watching for any events.
Packit Service ea0369
Packit Service ea0369
	This commit makes consistent by only creating a watch with g_io_add_watch()
Packit Service ea0369
	when the caller asked to watch for some events.
Packit Service ea0369
Packit Service ea0369
	gconfig: Fix removal of GVirConfigDomainCpu from domains
Packit Service ea0369
	A wrong precondition in gvir_config_domain_set_cpu() would reject NULL
Packit Service ea0369
	GVirConfigDomainCpus instead of accepting them.
Packit Service ea0369
Packit Service ea0369
	gconfig: Fix removal of GVirConfigCapabilitiesCpu topology
Packit Service ea0369
	Calling gvir_config_capabilities_cpu_set_topology with a NULL topology
Packit Service ea0369
	would not remove the topology as expected as NULL would be rejected by
Packit Service ea0369
	this method preconditions.
Packit Service ea0369
Packit Service ea0369
	gconfig: Implement getters for GVirConfigDomainInput
Packit Service ea0369
Packit Service ea0369
	gconfig: Add various clock-related getters
Packit Service ea0369
Packit Service ea0369
	gconfig: Adjust transfer annotation for gvir_config_domain_os_get_boot_devices()
Packit Service ea0369
	(transfer container) is more correct than (transfer full) for GList of
Packit Service ea0369
	scalar values, it's not clear whether it's an issue or not, but better be
Packit Service ea0369
	safe than sorry.
Packit Service ea0369
Packit Service ea0369
	gconfig: Fix gvir_config_domain_os_get_boot_devices() API doc
Packit Service ea0369
	The elements of the returned list are integer enum values, so they cannot
Packit Service ea0369
	be unreffed.
Packit Service ea0369
Packit Service ea0369
	gconfig: Fix GVirConfigDomainTimerPit parent class/object
Packit Service ea0369
	GVirConfigDomainTimerPit is correctly define as inheriting from
Packit Service ea0369
	GVirConfigDomainTimer in the G_DEFINE_TYPE macro, but it only
Packit Service ea0369
	embeds GVirConfigObject/GVirConfigObjectClass structs.
Packit Service ea0369
Packit Service ea0369
	This is an ABI break as this changes the size of the
Packit Service ea0369
	GVirConfigDomainTimerPit/GVirConfigDomainTimerPitClass structs
Packit Service ea0369
	However, since these structs only have non-public members, users of the
Packit Service ea0369
	library will not be trying to access fields of the struct past the first
Packit Service ea0369
	field (which is the one which changed size). This would also be an issue
Packit Service ea0369
	if anything had subclassed GVirConfigDomainTimerPit, which is unlikely at
Packit Service ea0369
	this point.
Packit Service ea0369
	All in all, it's imo more convenient to silently fix this without an soname
Packit Service ea0369
	bump. I've tested that GNOME Boxes built with an older version of
Packit Service ea0369
	libvirt-gconfig still generates the correct GVirConfigDomainTimerPit
Packit Service ea0369
	elements when using a version of libvirt-gconfig with this patch.
Packit Service ea0369
Packit Service ea0369
2014-01-28  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Fix event loop implementation on win32
Packit Service ea0369
	Libvirt uses gnulib for making winsock look like POSIX
Packit Service ea0369
	sockets. This means that in the libvirt event handle
Packit Service ea0369
	callbacks the application will be given a file descriptor
Packit Service ea0369
	rather than a winsock HANDLE object. The g_io_channel_unix_new
Packit Service ea0369
	method will detect that it is an FD and delegate to the
Packit Service ea0369
	g_io_channel_win32_new_fd method. Unfortunately the glib Win32
Packit Service ea0369
	event loop impl is not very good at dealing with FD objects,
Packit Service ea0369
	simulating poll() by doing a read() on the FD :-(
Packit Service ea0369
Packit Service ea0369
	The API docs for g_io_channel_win32_new_fd say
Packit Service ea0369
Packit Service ea0369
	 "All reads from the file descriptor should be done by
Packit Service ea0369
	  this internal GLib thread. Your code should call only
Packit Service ea0369
	  g_io_channel_read()."
Packit Service ea0369
Packit Service ea0369
	This isn't going to fly for libvirt, since it has zero
Packit Service ea0369
	knowledge of glib at all, so is just doing normal read().
Packit Service ea0369
Packit Service ea0369
	Fortunately we can work around this problem by turning
Packit Service ea0369
	the FD we get from libvirt back into a HANDLE using the
Packit Service ea0369
	_get_osfhandle() method.
Packit Service ea0369
Packit Service ea0369
2014-01-21  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainTimerHpet
Packit Service ea0369
	This will be needed in order to solve
Packit Service ea0369
	https://bugzilla.gnome.org/show_bug.cgi?id=722293
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_domain_timer_[gs]et_present()
Packit Service ea0369
Packit Service ea0369
	Add getters for some GVirConfigDomainGraphics* attributes
Packit Service ea0369
	Now that there is a gvir_config_object_get_attribute_boolean(), these
Packit Service ea0369
	are trivial to implement.
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_object_get_attribute_boolean()
Packit Service ea0369
	gvir_config_object_set_attribute() converts (TRUE, FALSE) to ("yes", "no"),
Packit Service ea0369
	but we don't have the corresponding getter. This commit adds this.
Packit Service ea0369
Packit Service ea0369
	Add scripts for validating the libvirt-glib symbol files
Packit Service ea0369
	Import two test scripts from libvirt code which validate that
Packit Service ea0369
	all symbols in libvirt-glib symbol files exist in the ELF binary, and also
Packit Service ea0369
	validate the alphabetical sorting. These are hooked up to run with 'make
Packit Service ea0369
	check'.
Packit Service ea0369
Packit Service ea0369
	This commit is based on a libosinfo patch from Daniel P. Berrange
Packit Service ea0369
Packit Service ea0369
	Fix typo in symbol name in libvirt-gobject.sym
Packit Service ea0369
	gvir_connection_restore_domain_from_file_finish was not properly exported
Packit Service ea0369
	because of a typo in the symbol name.
Packit Service ea0369
	This commit also removes a newer occurrence of this symbol in the file
Packit Service ea0369
	(without the typo). This can be done without breaking ABI as we haven't
Packit Service ea0369
	made a release since this duplicate symbol was added in the symbol file.
Packit Service ea0369
Packit Service ea0369
	Remove gvir_config_domain_cpu_get_features() from sym file
Packit Service ea0369
	This method was never exported. GVirConfigDomainCpu inherits from
Packit Service ea0369
	GVirConfigCapabilitiesCpu so gvir_config_capabilities_cpu_get_features()
Packit Service ea0369
	should be used to get these features (this calls the virtual method
Packit Service ea0369
	GVirConfigCapabilities::get_features() which GVirConfigDomainCpu
Packit Service ea0369
	implements).
Packit Service ea0369
Packit Service ea0369
	Alphabetically sort libvirt-glib sym files
Packit Service ea0369
	This is in preparation to enforcing this sorting during make check.
Packit Service ea0369
	The script only checks for alphabetical sorting, which leads to unexpected
Packit Service ea0369
	sorting between classes sharing a common prefix (eg the correct order is:
Packit Service ea0369
	gvir_config_domain_get_foo;
Packit Service ea0369
	gvir_config_domain_interface_set_foo;
Packit Service ea0369
	gvir_config_domain_set_foo;
Packit Service ea0369
Packit Service ea0369
	instead of
Packit Service ea0369
Packit Service ea0369
	gvir_config_domain_get_foo;
Packit Service ea0369
	gvir_config_domain_set_foo;
Packit Service ea0369
	gvir_config_domain_interface_set_foo;
Packit Service ea0369
Packit Service ea0369
	if we want to keep methods from the same class grouped in the symbol file.
Packit Service ea0369
Packit Service ea0369
	Add basic test for gvir_config_domain_disk_driver_set_copy_on_read()
Packit Service ea0369
Packit Service ea0369
	Deprecate gvir_config_domain_disk_[gs]et_driver_*
Packit Service ea0369
	They are replaced by equivalent methods in GVirConfigDomainDiskDriver.
Packit Service ea0369
	Initially, we had only one or two attributes to set on the 'driver' child
Packit Service ea0369
	of the 'disk' node. Nowadays, we more than 5 attributes to set on this
Packit Service ea0369
	node, mapping it as a separate object is more consistent with the rest of
Packit Service ea0369
	libvirt-gconfig API.
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_disk_[gs]et_driver()
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainDiskDriver
Packit Service ea0369
	This class wraps creation of configuration data for the driver part of a
Packit Service ea0369
	domain disk device. The methods needed for this are currently part of
Packit Service ea0369
	GVirConfigDomainDisk, but since the disk driver is getting more and more
Packit Service ea0369
	attributes, it's better to move such configuration to a dedicated class to
Packit Service ea0369
	avoid a too big API in GVirConfigDomainDisk
Packit Service ea0369
Packit Service ea0369
	config: Fix typo preventing clock removal from a domain
Packit Service ea0369
	Commit 1c8ce29 added a way to unset a GVirConfigDomainClock set on a
Packit Service ea0369
	GVirConfigDomain by calling gvir_config_domain_set_clock() with a NULL
Packit Service ea0369
	argument.
Packit Service ea0369
	However, a typo in a g_return_if_fail precondition prevents this code from
Packit Service ea0369
	ever being called: g_return_if_fail(clock != NULL) is used while it should
Packit Service ea0369
	have been g_return_if_fail(clock == NULL) as in all other preconditions in
Packit Service ea0369
	1c8ce29.
Packit Service ea0369
Packit Service ea0369
2014-01-21  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Switch over to using standard gobject introspection macros
Packit Service ea0369
	Remove hand crafted configure.ac and Makefile.am rules in
Packit Service ea0369
	favour of the standard macros.
Packit Service ea0369
Packit Service ea0369
2013-10-31  Ian Main  <imain@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Quick fix for config-demo.py
Packit Service ea0369
	I guess this must have been changed and the demo not updated.  Fix the
Packit Service ea0369
	demo so it uses the right value.
Packit Service ea0369
Packit Service ea0369
	Add filterref and filterref parameter support.
Packit Service ea0369
	This patch adds support for setting filterref's on interfaces.  Also
Packit Service ea0369
	supported are parameters to the filterref's.
Packit Service ea0369
Packit Service ea0369
2013-09-27  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Use latest warnings.m4 from gnulib
Packit Service ea0369
	The one we were using does not work properly with clang, causing
Packit Service ea0369
	the build process to try to use -f/-W options that are not
Packit Service ea0369
	supported by clang.
Packit Service ea0369
Packit Service ea0369
2013-09-19  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add intltool as a build req in mingw RPM
Packit Service ea0369
Packit Service ea0369
2013-08-28  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add missing symbols to .sym files
Packit Service ea0369
	These symbols are in public headers, but were not listed in the
Packit Service ea0369
	corresponding .sym file, causing them to be unavailable from
Packit Service ea0369
	the resulting shared library.
Packit Service ea0369
	I would have preferred not to export gvir_config_object_new_from_xml()
Packit Service ea0369
	at all, but since the similar gvir_config_object_new() is already exported,
Packit Service ea0369
	I've chosen to export it as well.
Packit Service ea0369
Packit Service ea0369
2013-08-19  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Remove unused 'gint i' variable from list helpers
Packit Service ea0369
	The previous change made the 'gint i' variable unused.
Packit Service ea0369
Packit Service ea0369
2013-08-15  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Remove dead cleanup code in object fetch_list helpers
Packit Service ea0369
	The fetch_list helper cleanup code iterates over the
Packit Service ea0369
	elements in 'lst' array free'ing each one. This is dead
Packit Service ea0369
	code, however, since the only way to get there is from
Packit Service ea0369
	codepaths which do not populate 'lst' elements.
Packit Service ea0369
Packit Service ea0369
	This fixes two coverity DEADCODE reports
Packit Service ea0369
Packit Service ea0369
2013-07-09  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Refresh translations from transifex
Packit Service ea0369
Packit Service ea0369
	Post-release version bump to 0.1.8
Packit Service ea0369
Packit Service ea0369
	Add support for reading/writing UUID attribute in domain config
Packit Service ea0369
Packit Service ea0369
2013-07-08  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.1.7 release
Packit Service ea0369
Packit Service ea0369
2013-07-04  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add missing file from previous commit
Packit Service ea0369
	The commit 35a310c62a8bf704aceb3a5b3ecce36c11525914 forgot
Packit Service ea0369
	to add libvirt-gconfig/libvirt-gconfig-domain-chardev-source-private.h
Packit Service ea0369
Packit Service ea0369
	Add API to access device alias names
Packit Service ea0369
	Add gvir_config_domain_device_get_alias to read the
Packit Service ea0369
	<alias name="foo"/> XML in each device.
Packit Service ea0369
Packit Service ea0369
	Add APIs to access chardev source information
Packit Service ea0369
	Enable apps to determine the current source path of a chardev
Packit Service ea0369
	with a pty based source.
Packit Service ea0369
Packit Service ea0369
	Fix name of gvir_config_domain_chardev_source_pty_set_path
Packit Service ea0369
	The method gvir_config_domain_chardev_source_pty_set_path was
Packit Service ea0369
	accidentally called gvir_config_domain_source_pty_set_path.
Packit Service ea0369
	This naming flaw in turn caused the introspection data to
Packit Service ea0369
	be incorrectly generated, putting a 'source_pty_set_path'
Packit Service ea0369
	method on the GVirConfigDomain object.
Packit Service ea0369
Packit Service ea0369
2013-06-07  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigDomainSnapshot getters/setters
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigDomainSnapshotDisk getters/setters
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigDomainSnapshotDisk skeleton
Packit Service ea0369
Packit Service ea0369
	gconfig: Add gvir_config_domain_disk_[gs]et_driver_format
Packit Service ea0369
	libvirt commit
Packit Service ea0369
	http://libvirt.org/git/?p=libvirt.git;a=commit;h=e2c41e486018ee74f6a75c1f717622
Packit Service ea0369
	strongly hints that driver type for a disk domain should be an
Packit Service ea0369
	enum rather than a raw string. Since we already have setters/getters
Packit Service ea0369
	for this attribute, we can't use the same name as in the XML. However,
Packit Service ea0369
	as Daniel Berrangé pointed out,
Packit Service ea0369
	gvir_config_domain_disk_[gs]et_driver_format is a better name for this,
Packit Service ea0369
	so we add the API accepting an enum under this name.
Packit Service ea0369
Packit Service ea0369
	I did not set "Rename to: gvir_config_domain_disk_[gs]et_driver_format"
Packit Service ea0369
	in a gtk-doc comment to force bindings to use this better version
Packit Service ea0369
	as this would break Boxes for example.
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigDomainDiskFormat enum
Packit Service ea0369
Packit Service ea0369
	gconfig: Allow not found child in gvir_config_object_get_child_with_type
Packit Service ea0369
	This will be useful when implementing gvir_domain_snapshot_get_parent()
Packit Service ea0369
	as the child node 'parent' is not always present in the XML.
Packit Service ea0369
Packit Service ea0369
2013-05-12  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	build-sys: s/INCLUDES/AM_CPPFLAGS
Packit Service ea0369
	automake outputs a warning about AM_CPPFLAGS being the recommended
Packit Service ea0369
	name to use for INCLUDES
Packit Service ea0369
Packit Service ea0369
	glib: Add G_GNUC_PRINTF where appropriate
Packit Service ea0369
	This is used to tell the compiler about printf-like format strings
Packit Service ea0369
	used by some functions. Without this marking, gcc 4.8 is outputs
Packit Service ea0369
	warnings to recommend using it.
Packit Service ea0369
Packit Service ea0369
	Adjust examples for gvir_config_object_get_conf rename
Packit Service ea0369
	It was renamed to gvir_config_object_to_xml() a long while ago.
Packit Service ea0369
Packit Service ea0369
2013-05-02  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	object: Add "transfer none" annotation to argv parameter
Packit Service ea0369
	This makes the parameter to be passed "unowned" in Vala. This was
Packit Service ea0369
	previously done using a vala metadata file, but it's better to do
Packit Service ea0369
	it directly through a gtk-doc annotation, as this means the gir
Packit Service ea0369
	file will know about this, and thus any gir-based binding can
Packit Service ea0369
	make use of this info.
Packit Service ea0369
Packit Service ea0369
	This also makes libvirt-gobject consistent with what was done
Packit Service ea0369
	for gconfig and glib in commit 431720.
Packit Service ea0369
Packit Service ea0369
2013-05-01  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Rename misnamed 'conn' variable everywhere
Packit Service ea0369
	Through copy and paste from libvirt-gobject-connection.c, we end
Packit Service ea0369
	up with an instance variable named 'conn' in most of our classes
Packit Service ea0369
	even if we are not manipulating a connection object. This commit
Packit Service ea0369
	renames all 'conn' occurrences in libvirt-gobject and
Packit Service ea0369
	libvirt-gconfig with a name more consistent with the type of the
Packit Service ea0369
	variable named 'conn'.
Packit Service ea0369
Packit Service ea0369
	gconfig: Fix gvir_config_domain_graphics_new_from_tree
Packit Service ea0369
	It does not handle the recently added
Packit Service ea0369
	GVirConfigDomainGraphicsRdp and GVirConfigDomainGraphicsDesktop
Packit Service ea0369
	classes.
Packit Service ea0369
Packit Service ea0369
2013-04-19  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Adopt saner libtool versioning scheme from libvirt
Packit Service ea0369
	The current way libtool versioning is calculated has a timebomb
Packit Service ea0369
	when the package version number changes to 1.0.0, which will
Packit Service ea0369
	cause the library soname to change. Adapt to the latest libvirt
Packit Service ea0369
	macros for libtool versioning, which use an explicit variable
Packit Service ea0369
	LIBVIRT_GLIB_SONUM setting for changing soname.
Packit Service ea0369
Packit Service ea0369
2013-04-16  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Fix year in NEWS
Packit Service ea0369
	We switched from 2012 to 2013!!
Packit Service ea0369
Packit Service ea0369
2013-04-10  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Auto-generate AUTHORS file from GIT logs during make dist
Packit Service ea0369
	Instead of manually keeping the AUTHORS file in sync with
Packit Service ea0369
	GIT, auto-generate it during make dist phase
Packit Service ea0369
Packit Service ea0369
	Add framework for i18n of error message strings
Packit Service ea0369
Packit Service ea0369
2013-04-08  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add printf/sentinel attribute annotations to helper functions
Packit Service ea0369
	To allow the compiler to check args add G_GNUC_PRINTF and
Packit Service ea0369
	G_GNUC_NULL_TERMINATED to libvirt-gconfig-helpers-private.h
Packit Service ea0369
Packit Service ea0369
2013-04-03  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GvirConfigStoragePermission getters
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GvirConfigStoragePoolTarget getters
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigStoragePoolSource getters
Packit Service ea0369
Packit Service ea0369
	gconfig: Add GVirConfigStoragePool getters
Packit Service ea0369
Packit Service ea0369
	gconfig: Add calls to [gs]et_virt_type to domain tests
Packit Service ea0369
	Setting GVirConfigDomain::virt_type is required for a working
Packit Service ea0369
	domain configuration, using it in the test programs will be helpful
Packit Service ea0369
	if people are using this as a base when starting to use libvirt-gconfig
Packit Service ea0369
Packit Service ea0369
	config: Add GVirConfigDomainChannel getters
Packit Service ea0369
Packit Service ea0369
	config: Add GVirConfigDomainGraphicsDesktop class
Packit Service ea0369
Packit Service ea0369
	config: Add GVirConfigDomainGraphicsRdp class
Packit Service ea0369
Packit Service ea0369
	config: Add gvir_config_domain_graphics_sdl_set_fullscreen()
Packit Service ea0369
Packit Service ea0369
	config: Fix 2 leaks in domain memory setters
Packit Service ea0369
Packit Service ea0369
2013-04-03  Stefano Facchini  <stefano.facchini@gmail.com>
Packit Service ea0369
Packit Service ea0369
	build: Replace obsolete macro in configure.ac
Packit Service ea0369
	Fix the build for newer automake
Packit Service ea0369
Packit Service ea0369
2013-04-02  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Disable static libraries by default
Packit Service ea0369
	Every source file is currently built twice by libtool, once for
Packit Service ea0369
	the shared library and once for the static library. Static libs
Packit Service ea0369
	are not commonly packaged by distros and slow down compilation
Packit Service ea0369
	time by more than 50% compared to a shared-only build time.
Packit Service ea0369
Packit Service ea0369
	Time for non-parallel make
Packit Service ea0369
Packit Service ea0369
	      shared only: 52 secs
Packit Service ea0369
	  shared + static: 1 min 26 secs
Packit Service ea0369
Packit Service ea0369
	Those few people who really want them, can pass --enable-static
Packit Service ea0369
	to configure
Packit Service ea0369
Packit Service ea0369
	Disabling them by default requires use of LT_INIT. We don't need
Packit Service ea0369
	to support older libtool, so drop use of AM_PROG_LIBTOOL entirely
Packit Service ea0369
Packit Service ea0369
2013-03-19  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post release version bump
Packit Service ea0369
Packit Service ea0369
2013-03-18  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.1.6 release
Packit Service ea0369
Packit Service ea0369
	Add Claudio Bley to AUTHORS
Packit Service ea0369
Packit Service ea0369
2013-03-14  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gconfig: API for SPICE image compression
Packit Service ea0369
	This patch adds API to set/get image compression configuration on
Packit Service ea0369
	domain/graphics[@type='spice'] nodes.
Packit Service ea0369
Packit Service ea0369
	Also included are simple tests for this API.
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_object_replace_child_with_attribute_enum()
Packit Service ea0369
	Internal libvirt-gconfig helper to replace enum XML attributes.
Packit Service ea0369
Packit Service ea0369
2013-03-12  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Remove FSF address from source file headers
Packit Service ea0369
	The FSF moved a while ago which made the address we use in every
Packit Service ea0369
	source file header invalid. Follow the recommendation from
Packit Service ea0369
	http://www.gnu.org/licenses/gpl-howto.html and don't put any address
Packit Service ea0369
	in these headers, just a link to the fsf website.
Packit Service ea0369
Packit Service ea0369
2013-02-07  Claudio Bley  <cbley@av-test.de>
Packit Service ea0369
Packit Service ea0369
	gvir_stream_receive: annotate buffer parameter with "element-type guint8"
Packit Service ea0369
	Vala automatically regards parameters as strings when an array of char
Packit Service ea0369
	is used. We need to prevent this as the data given is an array of octets
Packit Service ea0369
	ie. arbitrary data, not chars.
Packit Service ea0369
Packit Service ea0369
	Add "transfer none" annotation to argv parameter
Packit Service ea0369
	This makes the parameter to be passed "unowned" in Vala.
Packit Service ea0369
Packit Service ea0369
	Fix typo in gvir_config_init's comment
Packit Service ea0369
	This broke the generated Vala API.
Packit Service ea0369
Packit Service ea0369
2013-01-24  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Fix potential crashes in error cases
Packit Service ea0369
	fetch_list implementations in libvirt-gobject-connection.c and
Packit Service ea0369
	libvirt-gobject-storage-pool.c can misbehave in error situations
Packit Service ea0369
	or when the call is cancelled:
Packit Service ea0369
	- when the call is cancelled, 'lst' will be NULL and 'n' non-0 so
Packit Service ea0369
	we'll try to iterate over 'lst', which will cause a crash
Packit Service ea0369
	- when list_func fails, 'lst' is likely to be uninitialized, which
Packit Service ea0369
	will lead to invalid frees in the memory cleanup in the error: branch.
Packit Service ea0369
	We can avoid this issue by making sure 'lst' is initialized to 0
Packit Service ea0369
	when it's created.
Packit Service ea0369
Packit Service ea0369
	Use g_strlcpy instead of strncpy
Packit Service ea0369
	This guarantees that the string will be nul-terminated. Coverity
Packit Service ea0369
	warned about this issue.
Packit Service ea0369
Packit Service ea0369
2013-01-22  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Don't redefine _FORTIFY_SOURCE macro
Packit Service ea0369
	If the _FORTIFY_SOURCE has been already defined, we unconditionally
Packit Service ea0369
	redefine it, leaving us with warning/error thrown at compilation time.
Packit Service ea0369
Packit Service ea0369
2013-01-14  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post-release version bump
Packit Service ea0369
Packit Service ea0369
	Add libvirt-gobject-storage-pool-private.h to noinst_HEADERS
Packit Service ea0369
Packit Service ea0369
	Replace tabs with spaces
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.1.5 release
Packit Service ea0369
Packit Service ea0369
2013-01-11  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gconfig: Entertain bridge interface devices
Packit Service ea0369
	Currently we ignore bridge interface devices from domain XML. This patch
Packit Service ea0369
	fixes that.
Packit Service ea0369
Packit Service ea0369
2013-01-09  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gobject: API to open read-only connection to libvirt
Packit Service ea0369
	Also a utility method to check if connection is open in read-only mode.
Packit Service ea0369
Packit Service ea0369
2012-12-19  Alexander Larsson  <alexl@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add smartcard support to libvirt-gconfig
Packit Service ea0369
	This handles <smartcard> devices.
Packit Service ea0369
Packit Service ea0369
2012-11-21  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gobject: Also delete storage volume from its pool's list
Packit Service ea0369
	Without this patch, storage pool still lists the volume even after it is
Packit Service ea0369
	deleted.
Packit Service ea0369
Packit Service ea0369
	Related Boxes bug: https://bugzilla.gnome.org/show_bug.cgi?id=688724
Packit Service ea0369
Packit Service ea0369
2012-11-16  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post release version increment
Packit Service ea0369
Packit Service ea0369
	Remove tabs in source directory
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.1.4 release
Packit Service ea0369
Packit Service ea0369
2012-11-14  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: Add gvir_storage_pool_get_{active,persistent}
Packit Service ea0369
Packit Service ea0369
	gobject: Wrap virStoragePoolDelete
Packit Service ea0369
Packit Service ea0369
	gobject: Wrap virStoragePoolUndefine
Packit Service ea0369
Packit Service ea0369
	gobject: Wrap virStoragePoolDestroy
Packit Service ea0369
Packit Service ea0369
	gobject: don't try to use pool's volumes before a successful refresh
Packit Service ea0369
	gvir_storage_pool_refresh must be called and must be successful before
Packit Service ea0369
	trying to use gvir_storage_pool_get_volume,
Packit Service ea0369
	gvir_storage_pool_get_volumes and gvir_storage_pool_create_volume.
Packit Service ea0369
	As the storage pool refresh can fail for reasons external to
Packit Service ea0369
	libvirt/libvirt-gobject, the library user should check _refresh
Packit Service ea0369
	errors. This commit outputs runtime warnings when these functions
Packit Service ea0369
	are called and GVirObjectStoragePool::priv::volumes is NULL.
Packit Service ea0369
Packit Service ea0369
	gobject: Fix GMutex leak
Packit Service ea0369
	When GLib deprecated g_mutex_new/g_mutex_free, we introduced a
Packit Service ea0369
	compatibility wrapper to implement these using non-deprecated
Packit Service ea0369
	functions. This was done by allocating 0-filled memory by the
Packit Service ea0369
	mutex, and then letting GLib initialize the structure when
Packit Service ea0369
	needed. However, we must call g_mutex_clear when destroying
Packit Service ea0369
	the mutex to free these resources, which this patch fix.
Packit Service ea0369
Packit Service ea0369
	Fix glib version check for g_type_init
Packit Service ea0369
	g_type_init has been deprecated in glib 2.35, not 2.34. With versions
Packit Service ea0369
	older than 2.35, we have to call it or we'll get a runtime failure.
Packit Service ea0369
Packit Service ea0369
2012-11-14  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	docs: Specify correct function to free GVirDomainInfo
Packit Service ea0369
Packit Service ea0369
	gobject: Add GVirDomainRebootFlags
Packit Service ea0369
	Add flags to be used with gvir_domain_reboot().
Packit Service ea0369
Packit Service ea0369
2012-11-14  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Don't call g_type_init on newer glib
Packit Service ea0369
	This function call is deprecated and calling it causes a compilation
Packit Service ea0369
	warning.
Packit Service ea0369
Packit Service ea0369
	test: Remove redundant call to g_type_init
Packit Service ea0369
	test-domain-parse calls both g_type_init and gvir_config_init. Given
Packit Service ea0369
	that gvir_config_init calls g_type_init, the g_type_init call is
Packit Service ea0369
	redundant, so let's remove it.
Packit Service ea0369
Packit Service ea0369
	stream: Fix small error in gvir_stream_receive doc
Packit Service ea0369
Packit Service ea0369
	gobject: Fix handle leak on wrapper object creation
Packit Service ea0369
	When creating an object wrapping a libvirt object (GVirDomain,
Packit Service ea0369
	GVirStoragePool, GVirStorageVol), libvirt-gobject gets a reference
Packit Service ea0369
	to a libvirt object to be used as a handle, and then creates the wrapper
Packit Service ea0369
	object by calling g_object_new(..., "handle", handle, NULL);
Packit Service ea0369
Packit Service ea0369
	However, the underlying libvirt object is registered as a boxed type
Packit Service ea0369
	with the gobject type system, and the handle setter for these object
Packit Service ea0369
	calls g_value_dup_boxed, which in turn adds a reference on the libvirt
Packit Service ea0369
	handle. Thus we must release the initial ref we hold on the libvirt
Packit Service ea0369
	handle after calling g_object_new().
Packit Service ea0369
Packit Service ea0369
	I noticed this bug after running in valgrind some code which calls
Packit Service ea0369
	gvir_storage_pool_refresh and gvir_connection_fetch_storage_pools.
Packit Service ea0369
Packit Service ea0369
	gobject: Error out on NULL name in gvir_storage_pool_get_volume
Packit Service ea0369
	Without this change, gvir_storage_pool_get_volume segfaults when
Packit Service ea0369
	trying to do the hash table lookup with a NULL 'name' key.
Packit Service ea0369
Packit Service ea0369
	Introduce gvir_warning/gvir_critical
Packit Service ea0369
	They are similar to g_warning/g_critical, but also log the last
Packit Service ea0369
	libvirt error. They are meant to be called right after a libvirt
Packit Service ea0369
	call failed, in other cases g_warning/g_critical are still to be
Packit Service ea0369
	used.
Packit Service ea0369
Packit Service ea0369
2012-11-14  Alexander Larsson  <alexl@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: Add gvir_domain_update_device() and enums needed for it
Packit Service ea0369
	This is a wrapper for virDomainUpdateDeviceFlags.
Packit Service ea0369
Packit Service ea0369
2012-10-10  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	gconfig: Add API to set domain/pm tree
Packit Service ea0369
	API for new domain power management configuration.
Packit Service ea0369
Packit Service ea0369
2012-10-09  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post-release version bump
Packit Service ea0369
Packit Service ea0369
2012-10-08  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.1.3 release
Packit Service ea0369
Packit Service ea0369
	Add Alex to AUTHORS file
Packit Service ea0369
Packit Service ea0369
2012-10-04  Alexander Larsson  <alexl@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add wrappers for virDomainPMWakeup
Packit Service ea0369
Packit Service ea0369
2012-10-03  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	build-sys: Raise libvirt requirement to 0.10.2
Packit Service ea0369
	The recent PMSuspend changes need libvirt 0.10.2 or newer.
Packit Service ea0369
Packit Service ea0369
	spec: Get min libvirt version from configure.ac
Packit Service ea0369
	The minimum libvirt version we need is duplicated in configure.ac
Packit Service ea0369
	and libvirt.spec.in. Since libvirt.spec.in already gets some variables
Packit Service ea0369
	substituted, we can also substitute LIBVIRT_REQUIRED to avoid the
Packit Service ea0369
	duplication.
Packit Service ea0369
Packit Service ea0369
2012-09-28  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: Emit a signal on WAKEUP events
Packit Service ea0369
	This avoids a runtime warning about this kind of event not
Packit Service ea0369
	being handled.
Packit Service ea0369
Packit Service ea0369
	gobject: Handle PMSUSPENDED state from libvirt
Packit Service ea0369
	Emit a signal when switching to the PMSUSPENDED state, and add
Packit Service ea0369
	an enum entry to describe this state. This avoids runtime warnings
Packit Service ea0369
	with newer libvirt.
Packit Service ea0369
Packit Service ea0369
2012-09-26  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_graphics_spice_get_port
Packit Service ea0369
Packit Service ea0369
	Add a few GVirConfigDomainGraphicsVnc getters
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_graphics_vnc_set_socket
Packit Service ea0369
Packit Service ea0369
	Fix *_new_from_xml
Packit Service ea0369
	For objects with a subtype 'type' attribute, when the _new_from_xml
Packit Service ea0369
	function was called, the 'type' attribute was forcefully set to the
Packit Service ea0369
	right value rather than checking that the passed-in value matches
Packit Service ea0369
	the type of the subclass we are trying to instantiate. This commit
Packit Service ea0369
	changes this, and returns NULL when the value of the 'type' attribute
Packit Service ea0369
	of the passed-in XML document does not match the expected type.
Packit Service ea0369
Packit Service ea0369
2012-09-26  Jovanka Gulicoska  <jovanka.gulicoska@gmail.com>
Packit Service ea0369
Packit Service ea0369
	Don't call g_set_error with a NULL format string
Packit Service ea0369
	The format string passed to g_set_error cannot be NULL or a runtime
Packit Service ea0369
	warning will be printed.
Packit Service ea0369
Packit Service ea0369
2012-09-18  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	autobuild: Init AUTOBUILD_INSTALL_ROOT variable
Packit Service ea0369
	Otherwise autobuild sets prefix to / resulting in
Packit Service ea0369
	Permission denied when building as non-root as
Packit Service ea0369
	'make install' tries to write to /lib. We need to
Packit Service ea0369
	set this var to accessible path like $HOME/builder.
Packit Service ea0369
Packit Service ea0369
2012-09-13  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: Introduce gvir_connection_get_version
Packit Service ea0369
	which is basically a wrapper for virConnectGetVersion().
Packit Service ea0369
Packit Service ea0369
	gobject: Introduce gvir_connection_get_hypervisor_name
Packit Service ea0369
	which is basically a wrapper for virConnectGetType().
Packit Service ea0369
Packit Service ea0369
2012-09-12  Timo Juhani Lindfors  <timo.lindfors@iki.fi>
Packit Service ea0369
Packit Service ea0369
	Use 1 GB of RAM in Python example (instead of 1 TB)
Packit Service ea0369
Packit Service ea0369
	Specify virtualization type in Python example
Packit Service ea0369
	Without this creating the domain fails:
Packit Service ea0369
Packit Service ea0369
	gi._glib.GError: Failed to create domain: internal error missing domain type attribute
Packit Service ea0369
Packit Service ea0369
2012-09-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	config: Add gvir_config_domain_[gs]et_current_memory
Packit Service ea0369
	libvirt will insert a <currentMemory> node when setting the domain
Packit Service ea0369
	maximum memory. If we want to be able to later increase the domain
Packit Service ea0369
	maximum memory, libvirt-gconfig needs to be able to set this
Packit Service ea0369
	currentMemory node as well, otherwise this will cap the available
Packit Service ea0369
	memory in the domain.
Packit Service ea0369
Packit Service ea0369
	config: Handle units in gvir_config_[gs]et_memory
Packit Service ea0369
	gvir_config_[gs]et_memory have an optional 'unit' attribute which
Packit Service ea0369
	indicates the unit used to express the memory size. This commit
Packit Service ea0369
	adds support for parsing this unit, and adjusting the returned
Packit Service ea0369
	value accordingly.
Packit Service ea0369
Packit Service ea0369
	config: Improve documentation of GVirConfigDomain::set_memory
Packit Service ea0369
	Explicit the fact that it sets the maximum domain memory.
Packit Service ea0369
Packit Service ea0369
	config: Allow NULL node name to gvir_config_object_set_content
Packit Service ea0369
	This is useful when you want to set the content of the current node.
Packit Service ea0369
Packit Service ea0369
2012-08-20  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Post release version bump
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.1.2 release
Packit Service ea0369
Packit Service ea0369
	Don't hold events lock when dispatching free callbacks
Packit Service ea0369
	The _event_timeout_remove and _event_handle_remove methods
Packit Service ea0369
	were holding onto the global lock when invoking the free
Packit Service ea0369
	callback. This is a violation of the libvirt events API
Packit Service ea0369
	contract which requires free callbacks to be invoked in
Packit Service ea0369
	a re-entrant safe context.
Packit Service ea0369
Packit Service ea0369
2012-08-09  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Fix small typo in error message ('downlaod')
Packit Service ea0369
Packit Service ea0369
2012-08-07  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	libvirt-gobject.sym: fix resume() symbols version
Packit Service ea0369
Packit Service ea0369
	Post-release version bump
Packit Service ea0369
Packit Service ea0369
2012-08-07  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add async variant of gvir_domain_resume()
Packit Service ea0369
Packit Service ea0369
2012-08-06  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Release 0.1.1
Packit Service ea0369
Packit Service ea0369
2012-08-03  Jovanka Gulicoska  <jovanka.gulicoska@gmail.com>
Packit Service ea0369
Packit Service ea0369
	Add bindings for virDomainSnapshotCreateFlags
Packit Service ea0369
Packit Service ea0369
	Add bindings for virDomainSnapshotCreateXML()
Packit Service ea0369
Packit Service ea0369
2012-07-31  Jovanka Gulicoska  <jovanka.gulicoska@gmail.com>
Packit Service ea0369
Packit Service ea0369
	Add bindings for virDomainRestore*()
Packit Service ea0369
Packit Service ea0369
2012-07-20  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: add GVir.DomainShutdownFlags binding
Packit Service ea0369
Packit Service ea0369
2012-07-18  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	gobject: add GVir.DomainXMLFlags binding
Packit Service ea0369
Packit Service ea0369
	Post-release version bump
Packit Service ea0369
Packit Service ea0369
2012-07-16  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.1.0 release
Packit Service ea0369
Packit Service ea0369
	Add Jovanka Gulicoska to AUTHORS
Packit Service ea0369
Packit Service ea0369
2012-07-14  Jovanka Gulicoska  <jovanka.gulicoska@gmail.com>
Packit Service ea0369
Packit Service ea0369
	Add bindings for virStorageDownload() & virStorageUpload()
Packit Service ea0369
Packit Service ea0369
	Add bindings for virDomainSave*()
Packit Service ea0369
Packit Service ea0369
2012-06-27  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Test cases for new domain CPU APIs
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainCpu class
Packit Service ea0369
	API to handle 'domain/cpu' nodes.
Packit Service ea0369
Packit Service ea0369
	Make GVirConfigCapabilitiesCpu.get_features virtual
Packit Service ea0369
	Also provide helper function for subclasses that will have the exact
Packit Service ea0369
	same implementation except that they'll return instances of another type
Packit Service ea0369
	(subclasses of GVirConfigDomainCpuFeature rather than
Packit Service ea0369
	GVirConfigDomainCpuFeature itself).
Packit Service ea0369
Packit Service ea0369
2012-06-26  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainCpuFeature class
Packit Service ea0369
	API to handle 'domain/cpu/feature' nodes.
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_capabilities_cpu_feature_set_name()
Packit Service ea0369
	Setter for CapabilitiesCpuFeature.name.
Packit Service ea0369
Packit Service ea0369
	Setters for CapabilitiesCpuTopology props
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_capabilities_cpu_topology_new*
Packit Service ea0369
	Provide constructor methods for GVirConfigCapabilitiesCpuTopology.
Packit Service ea0369
Packit Service ea0369
	Setters/adders for GVirConfigCapabilitiesCpu props
Packit Service ea0369
	- gvir_config_capabilities_cpu_add_feature
Packit Service ea0369
	- gvir_config_capabilities_cpu_set_topology
Packit Service ea0369
Packit Service ea0369
2012-06-25  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add API doc for GVirConfigDomainControllerUsb
Packit Service ea0369
Packit Service ea0369
2012-06-25  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Bump version to 0.1.0
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.0.9 release
Packit Service ea0369
Packit Service ea0369
	Move gvir_config_domain_filesys_set_ram_usage sym to correct version block
Packit Service ea0369
Packit Service ea0369
	Tweaks to mingw-libvirt-glib.spec.in
Packit Service ea0369
Packit Service ea0369
	Add support for domain filesystems with type=bind|ram
Packit Service ea0369
	This adds support for filesystems with type=bind or type=ram,
Packit Service ea0369
Packit Service ea0369
	eg
Packit Service ea0369
Packit Service ea0369
	   <filesystem type='bind'>
Packit Service ea0369
	     <source dir="/some/guest/file"/>
Packit Service ea0369
	     <target dir=/other/guest/file"/>
Packit Service ea0369
	   </filesystem>
Packit Service ea0369
Packit Service ea0369
	And
Packit Service ea0369
Packit Service ea0369
	   <filesystem type='ram'>
Packit Service ea0369
	      <source usage='102400'/>
Packit Service ea0369
	      <target dir='/run'/>
Packit Service ea0369
	   </filesystem>
Packit Service ea0369
Packit Service ea0369
2012-06-25  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	mainloop: don't reschedule deleted timeouts/watches
Packit Service ea0369
	The deletion of libvirt timeouts/watches is done in 2 steps:
Packit Service ea0369
	- the first step is synchronous and unregisters the timeout/watch
Packit Service ea0369
	  from glib mainloop
Packit Service ea0369
	- the second step is asynchronous and triggered from the first step.
Packit Service ea0369
	  It releases the memory used for bookkeeping for the timeout/watch
Packit Service ea0369
	  being deleted
Packit Service ea0369
Packit Service ea0369
	This is done this way to avoid some possible deadlocks when
Packit Service ea0369
	reentering the sync callback while freeing the memory associated
Packit Service ea0369
	with the timeout/watch.
Packit Service ea0369
Packit Service ea0369
	However, it's possible to call gvir_event_update_handle after
Packit Service ea0369
	gvir_event_remove_handle but before _event_handle_remove does
Packit Service ea0369
	the final cleanup. When this happen, _update_handle will reregister
Packit Service ea0369
	the handle with glib mainloop, and bad things will happen when
Packit Service ea0369
	a glib callback is triggered for this event after _event_handle_remove
Packit Service ea0369
	has freed the memory associated with this handle watch.
Packit Service ea0369
Packit Service ea0369
	This commit marks the timeouts and watches as removed in the
Packit Service ea0369
	synchronous _remove callback and makes sure removed timeouts/watches
Packit Service ea0369
	are ignored in _update callbacks.
Packit Service ea0369
Packit Service ea0369
	mainloop: protect 'handles' and 'timeouts' against concurrent accesses
Packit Service ea0369
	Timeout and watch deletion is done from an idle callback. However,
Packit Service ea0369
	we cannot assume that all libvirt event calls (the callbacks passed
Packit Service ea0369
	to virEventRegisterImpl) will be done from the mainloop thread. It's
Packit Service ea0369
	thus possible that a libvirt event call will run a thread while
Packit Service ea0369
	one of the idle deletion callbacks runs.
Packit Service ea0369
	Given that the 'handles' and 'timeouts' arrays are shared among all
Packit Service ea0369
	threads, we need to make sure we hold the 'eventlock' mutex before
Packit Service ea0369
	modifying them.
Packit Service ea0369
Packit Service ea0369
	mainloop: remove unused gvir_event_{handle,timeout}_update arg
Packit Service ea0369
Packit Service ea0369
	mainloop: add missing debug message
Packit Service ea0369
	All timeout and watch additions/updates/removals are logged except
Packit Service ea0369
	successful watch updates. This commit adds such a log message.
Packit Service ea0369
Packit Service ea0369
	mainloop: improve handle operations debug messages
Packit Service ea0369
	Make sure the watch ID and the address of the structure libvirt-glib
Packit Service ea0369
	uses to watch the handle are always printed to make tracking operation
Packit Service ea0369
	on the same watch easier.
Packit Service ea0369
Packit Service ea0369
2012-06-23  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add async version of gvir_domain_start
Packit Service ea0369
Packit Service ea0369
2012-06-20  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Switch over to mingw64 toolchain for Windows builds
Packit Service ea0369
Packit Service ea0369
2012-06-19  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add getter for GVirConfigDomainOs.os_type
Packit Service ea0369
Packit Service ea0369
2012-06-18  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Remove bogus check against -1 of gvir_config_genum_get_value return value
Packit Service ea0369
	The gvir_config_domain_disk class was checking the return value
Packit Service ea0369
	of gvir_config_genum_get_value against -1. This is impossible,
Packit Service ea0369
	since this method will return the default enum value
Packit Service ea0369
Packit Service ea0369
	Fix generation of filesystem device source XML element
Packit Service ea0369
	When setting the filesystem source type, the code forgot to
Packit Service ea0369
	update priv->type. Thus when setting the source element,
Packit Service ea0369
	the incorrect attribute was being used.
Packit Service ea0369
Packit Service ea0369
2012-06-13  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	build: allow building with newer glibc-headers and -O0
Packit Service ea0369
	Commit log and autoconf snippet written by Eric Blake for libvirt.
Packit Service ea0369
Packit Service ea0369
	glibc 2.15 (on Fedora 17) coupled with explicit disabling of
Packit Service ea0369
	optimization during development dies a painful death:
Packit Service ea0369
Packit Service ea0369
	In file included from /usr/include/limits.h:27:0,
Packit Service ea0369
	                 from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h:169,.
Packit Service ea0369
	                 from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/syslimits.h:7,
Packit Service ea0369
	                 from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h:34,
Packit Service ea0369
	                 from util/bitmap.c:26:
Packit Service ea0369
	/usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
Packit Service ea0369
	cc1: all warnings being treated as errors
Packit Service ea0369
Packit Service ea0369
	Work around this by only conditionally defining _FORTIFY_SOURCE,
Packit Service ea0369
	in the case where glibc can actually use it.  The trick is using
Packit Service ea0369
	AH_VERBATIM instead of AC_DEFINE.
Packit Service ea0369
Packit Service ea0369
	* m4/virt-compile-warnings.m4 (LIBVIRT_GLIB_COMPILE_WARNINGS): Squelch
Packit Service ea0369
	_FORTIFY_SOURCE when needed to avoid glibc #warnings.
Packit Service ea0369
Packit Service ea0369
2012-06-04  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	API to get/set domain title
Packit Service ea0369
Packit Service ea0369
2012-06-01  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	glib-events: Allow zero timeouts for timer
Packit Service ea0369
	In libvirt, it's perfectly possible and widely used to have disabled
Packit Service ea0369
	timers (timeout=-1) and fire them up 'randomly' with timeout=0.
Packit Service ea0369
	However, with current mapping into glib mainloop it's not possible
Packit Service ea0369
	and causing troubles.
Packit Service ea0369
Packit Service ea0369
2012-05-25  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	API to deal with topology information of CPU capabilities
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_object_get_attribute_uint64()
Packit Service ea0369
	Another internal libvirt-gconfig helper to get uint64 XML attributes.
Packit Service ea0369
Packit Service ea0369
2012-05-23  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Check arguments to public libvirt-gobject methods
Packit Service ea0369
	Some public methods in libvirt-gobject don't have g_return_if_fail
Packit Service ea0369
	checks on their arguments. It happens that GNOME Boxes tries to call
Packit Service ea0369
	gvir_connection_find_storage_pool_by_name with a NULL GVirConnection
Packit Service ea0369
	causing a crash https://bugzilla.gnome.org/show_bug.cgi?id=676216 While
Packit Service ea0369
	GNOME Boxes needs to be fixed not to pass an invalid value to this
Packit Service ea0369
	function, it's better if libvirt-object sanity checks the argument it is
Packit Service ea0369
	passed by the caller before using them.  In this commit, I've went over
Packit Service ea0369
	all libvirt-gobject public functions to add g_return_if_fail checks
Packit Service ea0369
	where needed.
Packit Service ea0369
Packit Service ea0369
2012-05-22  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add getter for GVirConfigDomainOS.arch
Packit Service ea0369
Packit Service ea0369
2012-05-21  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Check arguments to public GVirConfigObject methods
Packit Service ea0369
	GVirConfigObject public methods don't have g_return_if_fail checks
Packit Service ea0369
	on their arguments. It happens that GNOME Boxes tries to call
Packit Service ea0369
	gvir_config_object_to_xml with a NULL GVirConfigObject causing a
Packit Service ea0369
	crash https://bugzilla.gnome.org/show_bug.cgi?id=676308
Packit Service ea0369
	While GNOME Boxes needs to be fixed not to pass an invalid value
Packit Service ea0369
	to gvir_config_object_to_xml, it's better if libvirt-gconfig sanity
Packit Service ea0369
	checks the argument it is passed by the caller before using them.
Packit Service ea0369
Packit Service ea0369
2012-05-16  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add getter for GVirConfigDomain.virt_type
Packit Service ea0369
Packit Service ea0369
2012-05-15  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Make sure %with_vala is defined for newer RHELs
Packit Service ea0369
	We want to build the vala bindings on recent RHELs. Given than
Packit Service ea0369
	%with_introspection is defined for fedora >= 15 and rhel > 6 which
Packit Service ea0369
	are exactly the versions for which we want to build the vala bindings,
Packit Service ea0369
	and given that the vala bindings are to be disabled when introspection
Packit Service ea0369
	is disabled, we can set %with_vala to the same value as %with_introspection.
Packit Service ea0369
Packit Service ea0369
2012-05-15  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Forgotten fixes to capabilities API test app
Packit Service ea0369
Packit Service ea0369
2012-05-14  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add missing domain OS type enums
Packit Service ea0369
Packit Service ea0369
	Add some tests for new capabilities APIs
Packit Service ea0369
Packit Service ea0369
	Add guest capabilities API
Packit Service ea0369
	Not quite complete but its a good start.
Packit Service ea0369
Packit Service ea0369
	Add host capabilities API
Packit Service ea0369
	Not quite complete but its a good start.
Packit Service ea0369
Packit Service ea0369
2012-05-11  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Make memory-handling more explicit in API doc
Packit Service ea0369
	Explain how the return value of the (transfer full) methods should
Packit Service ea0369
	be freed. I also made some cosmetic changes in the API doc of some
Packit Service ea0369
	of the files as I was modifying them.
Packit Service ea0369
Packit Service ea0369
2012-05-11  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	API to get capabilities from connection
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_domain_os_get_boot_devices()
Packit Service ea0369
Packit Service ea0369
	Allow unsetting of object properties
Packit Service ea0369
	This changes gvir_config_object_attach_replace to accept a NULL
Packit Service ea0369
	child object. Since we need to be able to find the node to remove
Packit Service ea0369
	when this happens, gvir_config_object_attach_replace gets a third
Packit Service ea0369
	argument with the name of the node to add/remove.
Packit Service ea0369
Packit Service ea0369
	Allow unsetting of string properties
Packit Service ea0369
	This changes gvir_config_object_set_node_content to accept a NULL
Packit Service ea0369
	content and to remove the corresponding node when this happens
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_domain_get_os()
Packit Service ea0369
Packit Service ea0369
2012-05-10  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	More internal helpers for GVirConfigObject subclasses
Packit Service ea0369
	- gvir_config_object_get_child()
Packit Service ea0369
	- gvir_config_object_get_child_with_type()
Packit Service ea0369
Packit Service ea0369
2012-05-09  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Correct gvir_config_domain_source_pty_set_path()
Packit Service ea0369
	This function should set 'path' as attribute of 'source' node rather
Packit Service ea0369
	than as child node.
Packit Service ea0369
Packit Service ea0369
2012-05-08  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Remove a redundant struct field
Packit Service ea0369
Packit Service ea0369
2012-05-02  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Corrections to satisfy latest GIR
Packit Service ea0369
Packit Service ea0369
2012-05-02  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add complete docs for the Libvirt GLib library
Packit Service ea0369
	Flesh out the section intros for each of the Libvirt GLib
Packit Service ea0369
	library modules, providing using examples where needed, and
Packit Service ea0369
	adding any missing function docs.
Packit Service ea0369
Packit Service ea0369
2012-05-01  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Bump version
Packit Service ea0369
Packit Service ea0369
2012-04-27  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Prep NEWS for 0.0.8 release
Packit Service ea0369
Packit Service ea0369
2012-04-27  Daniel P. Berrange  <dan@berrange.com>
Packit Service ea0369
Packit Service ea0369
	Add Michael to AUTHORS
Packit Service ea0369
Packit Service ea0369
2012-04-27  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainTimerPit class
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainTimerRtc class
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_clock_add_timer
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_timer_[gs]et_tick_policy
Packit Service ea0369
Packit Service ea0369
	Make GVirConfigDomainTimer abstract
Packit Service ea0369
	Specialized timer classes will inherit from it
Packit Service ea0369
Packit Service ea0369
2012-04-24  Michal Privoznik  <mprivozn@redhat.com>
Packit Service ea0369
Packit Service ea0369
	test-domain-create: Don't shadow global variable
Packit Service ea0369
	In function create_usb_controller variable 'index' shadows a global
Packit Service ea0369
	declaration.
Packit Service ea0369
Packit Service ea0369
2012-04-19  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add async variant of gvir_domain_get_info()
Packit Service ea0369
Packit Service ea0369
	Correct some minor typos in docs
Packit Service ea0369
Packit Service ea0369
2012-04-18  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Parse GVirConfigDomainRedirdev nodes
Packit Service ea0369
	Update gvir_config_domain_device_new_from_tree to handle
Packit Service ea0369
	GVirConfigDomainRedirdev nodes
Packit Service ea0369
Packit Service ea0369
	Parse GVirConfigDomainController nodes
Packit Service ea0369
	Update gvir_config_domain_device_new_from_tree to handle
Packit Service ea0369
	GVirConfigDomainController nodes. For now, libvirt-gconfig only
Packit Service ea0369
	has a GVirConfigDomainControllerUsb class, so only this type of
Packit Service ea0369
	controllers can be parsed.
Packit Service ea0369
Packit Service ea0369
2012-04-17  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	test-domain-create: set an address for redirdev devices
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_redirdev_set_address
Packit Service ea0369
Packit Service ea0369
	Implement GVirConfigDomainAddressUsb
Packit Service ea0369
Packit Service ea0369
	Improve USB device creation in test-domain-create
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_controller_set_address
Packit Service ea0369
Packit Service ea0369
	Implement GVirConfigDomainAddressPci
Packit Service ea0369
	It already has the needed setters.
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainAddress abstract type
Packit Service ea0369
	This is an abstract type which will be the base class for device
Packit Service ea0369
	addresses.
Packit Service ea0369
Packit Service ea0369
	test-domain-create: add USB controller creation
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_controller_usb_set_master
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_domain_controller_usb_set_model
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainControllerUsb boilerplate
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_controller_[gs]et_index
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainController skeleton
Packit Service ea0369
Packit Service ea0369
2012-04-12  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Getter/setter for disk source's startupPolicy attribute
Packit Service ea0369
Packit Service ea0369
2012-04-12  Guido Günther  <agx@sigxcpu.org>
Packit Service ea0369
Packit Service ea0369
	Explicitly link conn-test against libvirt-gconfig libvirt-glib
Packit Service ea0369
	otherwise the build fails with:
Packit Service ea0369
Packit Service ea0369
	$ CCLD   conn-test
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_set_error@LIBVIRT_GLIB_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_network_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_storage_pool_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_init_check@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_object_to_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_event_register@LIBVIRT_GLIB_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_init_check@LIBVIRT_GLIB_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_get_devices@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_storage_vol_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_secret_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_interface_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_disk_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_disk_get_target_dev@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_interface_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_node_device_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_device_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_object_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_error_new_literal@LIBVIRT_GLIB_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_snapshot_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_network_filter_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_set_error_literal@LIBVIRT_GLIB_0.0.4'
Packit Service ea0369
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_interface_get_ifname@LIBVIRT_GCONFIG_0.0.4'
Packit Service ea0369
	collect2: ld returned 1 exit status
Packit Service ea0369
Packit Service ea0369
	This is caused by a Debian specific libtool change that doesn't emit the
Packit Service ea0369
	dependency_libs in the .la file.
Packit Service ea0369
Packit Service ea0369
2012-04-11  Guido Günther  <agx@sigxcpu.org>
Packit Service ea0369
Packit Service ea0369
	Raise symbol version number
Packit Service ea0369
	since new symbols were introduced since 0.0.4
Packit Service ea0369
Packit Service ea0369
2012-04-04  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Ensure libvirt-gobject-devel pulls in libvirt-devel RPM
Packit Service ea0369
Packit Service ea0369
2012-03-30  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Bump release number
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.0.7 release
Packit Service ea0369
Packit Service ea0369
	Update RPM specs to required libvirt 0.9.10
Packit Service ea0369
Packit Service ea0369
	Fix typo s/ACCESS_SQUASHED/ACCESS_SQUASH/
Packit Service ea0369
Packit Service ea0369
	Fix generation of docs in a VPATH builder
Packit Service ea0369
	The DOC_SOURCE_DIR variable was missing the $(top_srcdir) variable
Packit Service ea0369
	so it could not find the source files when run from a VPATH build.
Packit Service ea0369
	Empirically the previous comment saying that $(top_srcdir) was not
Packit Service ea0369
	needed is wrong.
Packit Service ea0369
Packit Service ea0369
2012-03-28  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Do not encode entities in XML attributes
Packit Service ea0369
	libxml2 will properly escape < > and " in XML attribute content. If
Packit Service ea0369
	we use xmlEncodeEntitiesReentrant for attributes, this causes issues
Packit Service ea0369
	with UTF8 filenames (gvir_config_domain_disk_set_source for example):
Packit Service ea0369
	the filename UTF8 characters will be substituted with entities
Packit Service ea0369
	(é -> é), but when it uses this filename, libvirt will use it as
Packit Service ea0369
	is and will fail to find the file.
Packit Service ea0369
	I've tested that with this change gnome-boxes can open ISOs in directories
Packit Service ea0369
	with 'é' in their names, and in directories with '&foo;xx<' in their names.
Packit Service ea0369
Packit Service ea0369
	Remove unneeded call in libvirt-gconfig test
Packit Service ea0369
	Because of a copy and paste error, the test program is making an
Packit Service ea0369
	unneeded call to gvir_config_domain_channel_set_target_type
Packit Service ea0369
	when setting up its USB redirection device.
Packit Service ea0369
Packit Service ea0369
2012-03-22  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Bump version
Packit Service ea0369
Packit Service ea0369
2012-03-14  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainRedirdev
Packit Service ea0369
	This is used to add the SPICE USB redirection channel. Even if
Packit Service ea0369
	the libvirt doc doesn't document it with the other devices deriving
Packit Service ea0369
	from GVirConfigDomainChardev, I think it makes sense to have this
Packit Service ea0369
	class derivers from GVirConfigDomainChardev too since it needs a
Packit Service ea0369
	GVirConfigDomainChardevSource, and it's documented as using a
Packit Service ea0369
	character device for redirection.
Packit Service ea0369
Packit Service ea0369
	Add LibvirtGConfigDomainChardevSourceSpiceVmc
Packit Service ea0369
	This is needed to be able to add the SPICE agent channels
Packit Service ea0369
Packit Service ea0369
2012-03-13  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Fix GVIR_CONFIG_DOMAIN_CHANNEL_TARGET_GUESTFWD name
Packit Service ea0369
	It was called GVIR_CONFIG_DOMAIN_CONSOLE_TARGET_GUESTFWD, which in
Packit Service ea0369
	turn confused glib-mkenums, leading to a wrong value being generated
Packit Service ea0369
	in the XML when trying to use this enumeration.
Packit Service ea0369
Packit Service ea0369
2012-03-12  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Remove the _glib xml helpers
Packit Service ea0369
	The reason for them being there was that they were more expensive
Packit Service ea0369
	than the helpers returning an xmlChar* (additional g_strdup). Now
Packit Service ea0369
	that we are returning a pointer to const data inside the xml node,
Packit Service ea0369
	the _glib helpers only use is to cast from const xmlChar * to
Packit Service ea0369
	const char *. Removing them makes the code simpler.
Packit Service ea0369
Packit Service ea0369
2012-03-12  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	All string getters should return 'const'
Packit Service ea0369
	There is no need for all the memory (de)allocations and especially
Packit Service ea0369
	forcing the app developers to free the strings. They can always
Packit Service ea0369
	g_strdup() the returned string if they need.
Packit Service ea0369
Packit Service ea0369
	Reviewer and co-author: Christophe Fergeau <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
2012-03-06  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Keep domain devices list sorted
Packit Service ea0369
	While we don't guarantee the order of devices in the list returned from
Packit Service ea0369
	gvir_domain_get_devices(), its not a bad idea to keep them sorted the
Packit Service ea0369
	same way we get them from configuration (XML).
Packit Service ea0369
Packit Service ea0369
2012-03-05  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Release 0.0.6
Packit Service ea0369
Packit Service ea0369
	Distribute GNUmakefile, cfg.mk and maint.mk files
Packit Service ea0369
Packit Service ea0369
2012-03-02  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Don't leak GVirStream
Packit Service ea0369
	Do not give away a reference to virStreamEventAddCallback, but manage
Packit Service ea0369
	stream life-time and event instead.
Packit Service ea0369
Packit Service ea0369
	It seems to be a bug in current implementation of libvirt
Packit Service ea0369
	remoteStreamCallbackFree() that doesn't call the free/notify cb for
Packit Service ea0369
	some reason. (even if it did, I am not sure it would work correctly,
Packit Service ea0369
	so I prefer that patch)
Packit Service ea0369
Packit Service ea0369
2012-03-01  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Correct a check
Packit Service ea0369
Packit Service ea0369
	RFC: Empty statistics for user-mode interfaces
Packit Service ea0369
	One of the limitations of user-mode networking of libvirt is that you
Packit Service ea0369
	can't get statistics for it (not yet, at least). Instead of erroring-out
Packit Service ea0369
	in that case, simply return empty statistics result and spit a debug
Packit Service ea0369
	message.
Packit Service ea0369
Packit Service ea0369
	I will merge this into my 'Remove now redundant 'path' property' patch
Packit Service ea0369
	once someone tells me that this makes sense. :)
Packit Service ea0369
Packit Service ea0369
	Add gvir_domain_get_devices()
Packit Service ea0369
	Currently we only support existing DomainDevice implementations:
Packit Service ea0369
	DomainDisk and DomainInterface.
Packit Service ea0369
Packit Service ea0369
	Remove now redundant 'path' property
Packit Service ea0369
	Remove now redundant 'path' property from GVirDomainDevice subclasses.
Packit Service ea0369
	These classes now have access to their configurations, from which they
Packit Service ea0369
	can easily get the path (among other properties) internally.
Packit Service ea0369
Packit Service ea0369
2012-02-29  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add 'config' property to GVirDomainDevice
Packit Service ea0369
	GVirDomainDevice should have an associated GVirConfigDomainDevice.
Packit Service ea0369
Packit Service ea0369
	Getters for GVirConfigDomainInterface attributes
Packit Service ea0369
Packit Service ea0369
	Add gvir_domain_device_get_domain()
Packit Service ea0369
	Getter for the associated domain of a domain device.
Packit Service ea0369
Packit Service ea0369
	Set correct target node attribute for domain interface
Packit Service ea0369
	gvir_config_domain_interface_set_ifname() should be setting 'dev'
Packit Service ea0369
	attribute under 'target', not 'device'.
Packit Service ea0369
Packit Service ea0369
	Add gvir_domain_disk_resize()
Packit Service ea0369
	Binding for virDomainBlockResize().
Packit Service ea0369
Packit Service ea0369
2012-02-28  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Bump version
Packit Service ea0369
Packit Service ea0369
2012-02-20  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Use strncpy rather than g_utf8_strncpy
Packit Service ea0369
	We need to copy fixed number of bytes (not characters) so use strncpy.
Packit Service ea0369
Packit Service ea0369
2012-02-20  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add notes for 0.0.5 release
Packit Service ea0369
Packit Service ea0369
2012-02-20  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Fixes to gvir_domain_*save*() docs
Packit Service ea0369
	The saved state of a domain is restored using gvir_domain_start() rather
Packit Service ea0369
	than gvir_domain_resume().
Packit Service ea0369
Packit Service ea0369
2012-02-19  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	API to get node information about the connection
Packit Service ea0369
	Mostly just a wrapper around virNodeGetInfo() and virNodeInfo struct.
Packit Service ea0369
Packit Service ea0369
	Add Flags for use with gvir_domain_delete()
Packit Service ea0369
Packit Service ea0369
2012-02-16  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add more sanity checks to libvirt-gconfig test
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_domain_disk_[gs]et_cache
Packit Service ea0369
Packit Service ea0369
	Fix [gs]et_custom_xml-related leaks
Packit Service ea0369
	I forgot to run the testing code through valgrind before pushing
Packit Service ea0369
	the patches so a few small memory leaks crept in.
Packit Service ea0369
Packit Service ea0369
2012-02-16  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add gvir_domain_get_saved()
Packit Service ea0369
	Binding for virDomainHasManagedSaveImage().
Packit Service ea0369
Packit Service ea0369
	Correct docs for gir_domain_save*()
Packit Service ea0369
	A saved domain is stopped/shutdown on a successful save operation, not
Packit Service ea0369
	suspended.
Packit Service ea0369
Packit Service ea0369
	Tell CC to ignore unused macros
Packit Service ea0369
Packit Service ea0369
2012-02-15  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Avoid triggering deprecation warnings on newest GLib
Packit Service ea0369
Packit Service ea0369
2012-02-14  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add gvir_storage_vol_resize()
Packit Service ea0369
	Add wrapper for virStorageVolResize().
Packit Service ea0369
Packit Service ea0369
	Volume keeps an weak ref to its parent pool
Packit Service ea0369
Packit Service ea0369
2012-02-10  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Rename 'unlink' variable to avoid clash on Win32
Packit Service ea0369
Packit Service ea0369
	Switch over to use GNULIB's compile warning macros
Packit Service ea0369
Packit Service ea0369
	Add missing default: in example program
Packit Service ea0369
Packit Service ea0369
	Simplify condition that is always true
Packit Service ea0369
Packit Service ea0369
	Disable unused macro for debug
Packit Service ea0369
Packit Service ea0369
2012-02-06  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add testcase for gvir_config_domain_[gs]et_custom_xml
Packit Service ea0369
Packit Service ea0369
	API to get/set custom metadata from/to domain config
Packit Service ea0369
	Based on a patch from Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_object_set_namespace helper
Packit Service ea0369
Packit Service ea0369
	Handle namespaces in gvir_config_object_delete_child{ren}
Packit Service ea0369
	These functions now take an additional argument corresponding to
Packit Service ea0369
	a namespace href. It's optional and can be NULL when namespaces
Packit Service ea0369
	should be ignored.
Packit Service ea0369
	The 'child_name' argument can now be NULL in order to remove all nodes
Packit Service ea0369
	belonging to a given namespace.
Packit Service ea0369
Packit Service ea0369
	Factorize xml dumping code
Packit Service ea0369
	Use the new gvir_config_xml_node_to_string to implement
Packit Service ea0369
	gvir_config_object_to_xml, this avoids duplicating this code.
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_xml_node_to_string helper
Packit Service ea0369
Packit Service ea0369
	Make root_node optional in gvir_config_xml_parse
Packit Service ea0369
	It's only used to make some sanity checks on what was just parsed,
Packit Service ea0369
	so allowing NULL root_node is fine.
Packit Service ea0369
Packit Service ea0369
	Fix gvir_config_object_new_from_xml error reporting
Packit Service ea0369
	It's currently failing to report parsing errors if the passed in
Packit Service ea0369
	error is NULL.
Packit Service ea0369
Packit Service ea0369
2012-02-05  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Don't assign const char * to non-const
Packit Service ea0369
	This causes a gcc warning.
Packit Service ea0369
Packit Service ea0369
2012-01-31  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Replace g_error with g_warning in constructors
Packit Service ea0369
	g_error generates a fatal error message, meaning it will abort
Packit Service ea0369
	the currently running process. It's nicer to use g_warning here.
Packit Service ea0369
Packit Service ea0369
	Don't use g_error in xxx_get_name
Packit Service ea0369
	g_error will trigger an abort of the running process so it's not
Packit Service ea0369
	desirable to call it in a library. This commit uses g_warning when
Packit Service ea0369
	this occurs and returns NULL. libvirt will only return NULL for these
Packit Service ea0369
	strings if some kind of memory corruption is going on, or if we are
Packit Service ea0369
	using an invalid pointer.
Packit Service ea0369
Packit Service ea0369
	Add proper error reporting to gvir_storage_vol_get_path
Packit Service ea0369
	gvir_storage_vol_get_name currently call g_error when an error occurs.
Packit Service ea0369
	Since g_error trigger a coredump, calling it in a library is harmful.
Packit Service ea0369
	Replace this with proper GError error reporting.
Packit Service ea0369
Packit Service ea0369
2012-01-26  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Don't loop forever on blank nodes
Packit Service ea0369
Packit Service ea0369
2012-01-20  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Remove 2 unwanted exports
Packit Service ea0369
	These 2 GVirObject helpers are declared in libvirt-gobject-private.h
Packit Service ea0369
	and so shouldn't be exported.
Packit Service ea0369
Packit Service ea0369
	Split gvir_config_object_attach
Packit Service ea0369
	Most of the time we want gvir_config_object_attach to replace
Packit Service ea0369
	existing nodes, but sometimes (for <devices> subnodes) we want
Packit Service ea0369
	it to append the new node and to keep the existing nodes with
Packit Service ea0369
	the same name. This commit solves this by adding 2 distinct helpers,
Packit Service ea0369
	_attach_add and _attach_replace.
Packit Service ea0369
	This should fix some unexpected behaviour of various _set_ functions
Packit Service ea0369
	which were appending new nodes instead of replacing the existing one.
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_object_delete_children
Packit Service ea0369
Packit Service ea0369
	Refactor gvir_config_object_delete_child
Packit Service ea0369
	By changing gvir_config_xml_foreach_child to make it robust against
Packit Service ea0369
	current node deletion in the "foreach" callback, we can use
Packit Service ea0369
	gvir_config_object_foreach_child to implement
Packit Service ea0369
	gvir_config_object_delete_child
Packit Service ea0369
Packit Service ea0369
2012-01-18  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Correct return type of gvir_storage_pool_create_volume()
Packit Service ea0369
Packit Service ea0369
	Handle failure of virDomainIsPersistent() correctly
Packit Service ea0369
	virDomainIsPersistent() failing most probably means that domain is no
Packit Service ea0369
	longer available so flaging it as transient isn't exactly wrong.
Packit Service ea0369
Packit Service ea0369
	API to get/set 'description' node in domain config
Packit Service ea0369
Packit Service ea0369
2012-01-18  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Fix syntax-check violations
Packit Service ea0369
Packit Service ea0369
2012-01-18  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Fix compilation with glib 2.22
Packit Service ea0369
	This commit raises glib required version to 2.22 or newer, adds a few
Packit Service ea0369
	missing functions to libvirt-gobject-compat.h and includes it in the
Packit Service ea0369
	files using these functions.
Packit Service ea0369
Packit Service ea0369
2012-01-16  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Make use of G_PARAM_STATIC_STRINGS everywhere
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_domain_disk_set_readonly()
Packit Service ea0369
Packit Service ea0369
2012-01-16  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Raise libvirt requirement to 0.9.8
Packit Service ea0369
	We are using VIR_DOMAIN_EVENT_SHUTDOWN which was introduced
Packit Service ea0369
	in libvirt 0.9.8. Reflect this requirement by bumping the minimum
Packit Service ea0369
	version of libvirt we require in configure.ac.
Packit Service ea0369
	This issue was reported by Nirbheek Chauhan <nirbheek@gentoo.org>
Packit Service ea0369
Packit Service ea0369
2012-01-13  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Post-release version bump
Packit Service ea0369
Packit Service ea0369
2012-01-13  Marc-André Lureau  <marcandre.lureau@gmail.com>
Packit Service ea0369
Packit Service ea0369
	Fix libvirt error message after finishing a stream
Packit Service ea0369
	The callback is now added & removed from libvirt-gobject-stream.c
Packit Service ea0369
Packit Service ea0369
	It should have been part of c5a239423a215435626bf6d1af75458c5ec03147.
Packit Service ea0369
Packit Service ea0369
	 #0  virErrorMsg (error=VIR_ERR_INTERNAL_ERROR, info=0x7fffffffcf00 "no stream callback registered") at util/virterror.c:760
Packit Service ea0369
	 #1  0x00007ffff627f304 in virReportErrorHelper (domcode=7, errcode=1, filename=0x7ffff6479a4d "rpc/virnetclientstream.c",
Packit Service ea0369
	     funcname=0x7ffff6479ca0 "virNetClientStreamEventRemoveCallback", linenr=514, fmt=<optimized out>) at util/virterror.c:1260
Packit Service ea0369
	 #2  0x00007ffff6339aa4 in virNetClientStreamEventRemoveCallback (st=0x1de8ef0) at rpc/virnetclientstream.c:513
Packit Service ea0369
	 #3  0x00007ffff631a6ba in remoteStreamEventRemoveCallback (st=<optimized out>) at remote/remote_driver.c:3713
Packit Service ea0369
	 #4  0x00007ffff62fe97d in virStreamEventRemoveCallback (stream=0x1db9e00) at libvirt.c:14781
Packit Service ea0369
	 #5  0x00007ffff69114f3 in gvir_stream_update_events (stream=0x1db2570) at libvirt-gobject-stream.c:561
Packit Service ea0369
	 #6  0x00007ffff6911616 in gvir_stream_source_finalize (source=0x1da25e0) at libvirt-gobject-stream.c:606
Packit Service ea0369
Packit Service ea0369
2012-01-12  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Update NEWS & syms files for 0.0.4 release
Packit Service ea0369
Packit Service ea0369
	Support setting target attributes for console & channel devices
Packit Service ea0369
Packit Service ea0369
2012-01-12  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add API to check if domain is persistent
Packit Service ea0369
	Add a predicate and property to check if domain is persistent or not.
Packit Service ea0369
Packit Service ea0369
2012-01-11  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add support for shutdown event to avoid console warnings
Packit Service ea0369
Packit Service ea0369
	Add support for configuring serial, parallel & channel devices
Packit Service ea0369
	The basic config of serial, parallel & channel devices is just
Packit Service ea0369
	the same as console devices. Add basic stubs for these new
Packit Service ea0369
	devices
Packit Service ea0369
Packit Service ea0369
2012-01-09  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Use g_simple_async_result_is_valid in _finish functions
Packit Service ea0369
	The _finish functions for async operations can be simplified by
Packit Service ea0369
	using g_simple_async_result_is_valid instead of doing the checks
Packit Service ea0369
	it does by ourselves.
Packit Service ea0369
Packit Service ea0369
2012-01-08  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Follow glib conventions for SimpleAsyncResult source tag
Packit Service ea0369
	g_simple_async_result_is_valid() API documentation says that the
Packit Service ea0369
	source tag field for SimpleAsyncResult objects "by convention, is a
Packit Service ea0369
	pointer to the _async function corresponding to the _finish function from
Packit Service ea0369
	which this function is called"
Packit Service ea0369
	The stream functions were already following this convention, but
Packit Service ea0369
	other places were using the sync function name as the source tag.
Packit Service ea0369
	This commit uses the async function name everywhere.
Packit Service ea0369
Packit Service ea0369
2012-01-06  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	API to save and suspend
Packit Service ea0369
	Its just a set of synchronous and asynchronous wrappers around
Packit Service ea0369
	virDomainManagedSave.
Packit Service ea0369
Packit Service ea0369
	API to suspend a domain
Packit Service ea0369
Packit Service ea0369
	Correct namespace prefix for GVirConfig symbols
Packit Service ea0369
	Breaks API and ABI on the fundamental level but lets fix this now while
Packit Service ea0369
	we don't guarantee any API/ABI stability.
Packit Service ea0369
Packit Service ea0369
2012-01-06  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Don't mix g_new0 and g_slice_free
Packit Service ea0369
	There were 2 places where memory was allocated with g_new0 and was
Packit Service ea0369
	later freed with g_slice_free. This commit uses g_slice_new0 instead.
Packit Service ea0369
	After this, there are no other occurrences of g_new0 in gobject/ so
Packit Service ea0369
	the rest of the codebase should be safe from this issue.
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainDisk getters
Packit Service ea0369
Packit Service ea0369
	Add more parsing helpers to GVirConfigObject
Packit Service ea0369
	Add gvir_config_object_get_node_content_genum,
Packit Service ea0369
	gvir_config_object_get_attribute
Packit Service ea0369
	and gvir_config_object_get_attribute_genum to complement the existing
Packit Service ea0369
	methods. They all act on a child node of the current node. The
Packit Service ea0369
	_get_attribute functions can also act on the root node of the
Packit Service ea0369
	GVirConfigObject instance if it's passed NULL instead of a child name.
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_get_devices
Packit Service ea0369
	There are some devices which we are not able to parse yet, in these
Packit Service ea0369
	cases a runtime debug warning is printed in debug mode to tell what's
Packit Service ea0369
	going on.
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_object_foreach_child helper
Packit Service ea0369
	When iterating over xmlNodePtr children to parse an XML document
Packit Service ea0369
	describing a libvirt configuration item, we want to ignore blank
Packit Service ea0369
	nodes that may have been added to make the initial XML document
Packit Service ea0369
	"more human readable". Since this will be useful in several places,
Packit Service ea0369
	move this code to a helper function.
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_object_new_from_tree
Packit Service ea0369
	This helper function will be useful to create instances of
Packit Service ea0369
	GVirConfigXXX objects when we already have a "top-level" instance
Packit Service ea0369
	(eg to create a GVirConfigDomainDisk using the tree stored in a
Packit Service ea0369
	GVirConfigDomain instance).
Packit Service ea0369
Packit Service ea0369
	Add helpers to parse xml trees
Packit Service ea0369
	This will be helpful to implement GVirConfig getters.
Packit Service ea0369
Packit Service ea0369
	Introduce libvirt-gconfig-private.h
Packit Service ea0369
	This header groups all libvirt-gconfig private headers.
Packit Service ea0369
Packit Service ea0369
	Add {replace,add}_with_attribute
Packit Service ea0369
	These functions may seem very specialized, and the same can easily
Packit Service ea0369
	be achieved with 2 separate API calls, but since this is something
Packit Service ea0369
	that is commonly done, these helpers save quite a few lines of code.
Packit Service ea0369
Packit Service ea0369
	Remove FIXME from gvir_config_domain_filesys_set_driver_type
Packit Service ea0369
	All that was missing to fix it was gvir_config_object_remove_attribute
Packit Service ea0369
	which now exists.
Packit Service ea0369
Packit Service ea0369
	Overwrite attributes in GVirObject::set_attribute
Packit Service ea0369
	Zeeshan reported an issue where calling
Packit Service ea0369
	gvir_config_domain_disk_set_target_dev several times would result in
Packit Service ea0369
	duplicated 'dev' attributes in the resulting XML instead of overwriting
Packit Service ea0369
	the existing 'dev' attribute. Since there are no cases interesting to
Packit Service ea0369
	libvirt-gconfig where having several attributes with the same name is
Packit Service ea0369
	useful, when calling gvir_config_object_set_attribute*, we can just
Packit Service ea0369
	remove attributes with the same names as the one we are setting.
Packit Service ea0369
Packit Service ea0369
	Add gvir_gconfig_object_remove_attribute helper
Packit Service ea0369
Packit Service ea0369
2012-01-04  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add docs for gvir_config_domain_set/get_memory
Packit Service ea0369
	Its not obvious what units these functions deal with so docs are
Packit Service ea0369
	critical for these functions.
Packit Service ea0369
Packit Service ea0369
	Correct gvir_storage_pool_get_volumes' return annotation
Packit Service ea0369
Packit Service ea0369
2012-01-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Call gvir_init_config() in GVirConfig test programs
Packit Service ea0369
	While not strictly necessary, this sets up glib logging properly on
Packit Service ea0369
	older glib so that debug logs are not shown by default.
Packit Service ea0369
Packit Service ea0369
2012-01-03  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_domain_graphics_vnc_set_password
Packit Service ea0369
	Based on the similar patch for SPICE
Packit Service ea0369
Packit Service ea0369
2012-01-02  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	API to set SPICE password
Packit Service ea0369
Packit Service ea0369
2011-12-23  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Fix gvir_config_domain_sound_set_model
Packit Service ea0369
	It's creating an unwanted extra <sound> XML node:
Packit Service ea0369
	<sound>
Packit Service ea0369
	  <sound model="xxx">
Packit Service ea0369
	</sound>
Packit Service ea0369
	instead of the correct
Packit Service ea0369
	<sound model="xxx">
Packit Service ea0369
Packit Service ea0369
2011-12-22  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Bump version
Packit Service ea0369
Packit Service ea0369
2011-12-22  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainSound
Packit Service ea0369
Packit Service ea0369
	Add python example for LibvirtGConfig
Packit Service ea0369
Packit Service ea0369
2011-12-19  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Ignore generated .vapi files
Packit Service ea0369
Packit Service ea0369
	Update min libvirt to 0.9.7
Packit Service ea0369
Packit Service ea0369
	Update NEWS for 0.0.3 release
Packit Service ea0369
Packit Service ea0369
	Fix build by exporting missing gvir_config_xml_doc APIs
Packit Service ea0369
Packit Service ea0369
	Update version in all .sym files
Packit Service ea0369
	Since there are ABI changes, update the version in all .sym
Packit Service ea0369
	files to force a rebuild of apps
Packit Service ea0369
Packit Service ea0369
	Add binding for virDomainOpenGraphics
Packit Service ea0369
Packit Service ea0369
	Add binding for virDomainOpenConsole
Packit Service ea0369
Packit Service ea0369
	Add support for configuring network bridges
Packit Service ea0369
Packit Service ea0369
2011-12-15  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add annotations for gvir_stream_add_watch{_full}
Packit Service ea0369
	This should silence this compile warning:
Packit Service ea0369
	  GEN    LibvirtGObject-1.0.gir
Packit Service ea0369
	libvirt-gobject-stream.c:603: Warning: LibvirtGObject:
Packit Service ea0369
	gvir_stream_add_watch: a rgument func: Missing (scope) annotation for
Packit Service ea0369
	callback without GDestroyNotify (v alid: call, async)
Packit Service ea0369
Packit Service ea0369
	This also adds API documentation for these functions.
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_storage_pool_set_pool_type
Packit Service ea0369
Packit Service ea0369
2011-12-13  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigStorage* to creation test
Packit Service ea0369
Packit Service ea0369
	Add methods to link GVirStorage* classes together
Packit Service ea0369
	GVirConfigStorageVolBackingStore and GVirConfigStorageVolTarget can be
Packit Service ea0369
	associated with a GVirConfigStorageVol.
Packit Service ea0369
Packit Service ea0369
	GVirConfigStoragePoolSource and GVirConfigStoragePoolTarget can be
Packit Service ea0369
	associated with a GVirConfigStoragePool.
Packit Service ea0369
Packit Service ea0369
	GVirConfigStoragePermissions can be set on either a
Packit Service ea0369
	GVirConfigStorageVolTarget or a GVirConfigStoragePoolTarget.
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigStoragePermissions setters
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_storage_pool_target_set_path
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigStoragePoolSource setters
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigStorageVolBackingStore setters
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_storage_vol_target_set_format
Packit Service ea0369
Packit Service ea0369
	Add GObject boilerplate for GVirConfigStorage*
Packit Service ea0369
	We'll need several helper classes to implement configuration of
Packit Service ea0369
	storage pools and volumes. This commit introduces all of these
Packit Service ea0369
	in one go. It's just the GObject boilerplate, the actual code will
Packit Service ea0369
	come in other commits. GVirConfigStoragePermissions is namespaced this
Packit Service ea0369
	way because it will be used by both GVirConfigStoragePoolTarget and
Packit Service ea0369
	GVirConfigStorageVolTarget.
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigStoragePool setters
Packit Service ea0369
Packit Service ea0369
	Add some GVirConfigStorageVol setters
Packit Service ea0369
Packit Service ea0369
	Add missing items in GVirConfigDomainVirtType
Packit Service ea0369
	Put all the items available in virDomainVirt
Packit Service ea0369
Packit Service ea0369
	Fix gvir_config_domain_disk_set_target_bus API
Packit Service ea0369
	The bus type is actually an enum, let's reflect that in
Packit Service ea0369
	libvirt-gconfig API
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainInterface setters
Packit Service ea0369
	These attributes are valid for all types deriving from
Packit Service ea0369
	GVirConfigDomainInterface so we add it to the base class.
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainInterfaceUser boilerplate
Packit Service ea0369
Packit Service ea0369
2011-12-07  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add "priority" argument to gvir_stream_add_watch_full
Packit Service ea0369
	This is more consistent with what all the other glib _full APIs
Packit Service ea0369
	are doing.
Packit Service ea0369
Packit Service ea0369
2011-12-07  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Only enable vala for Fedora 16 and later
Packit Service ea0369
Packit Service ea0369
2011-12-06  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Allow cancelling gvir_stream_send_all & gvir_stream_receive_all
Packit Service ea0369
	Add GCancellable parameters to gvir_stream_send_all and
Packit Service ea0369
	gvir_stream_receive_all to allow I/O to be interrupted
Packit Service ea0369
	before completion
Packit Service ea0369
Packit Service ea0369
	Add flags for controling how domains are started
Packit Service ea0369
Packit Service ea0369
	Fix copyright header on chardev related classes
Packit Service ea0369
Packit Service ea0369
	Add vala files to RPM spec
Packit Service ea0369
Packit Service ea0369
2011-12-06  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add test for GVirConfigConsole
Packit Service ea0369
Packit Service ea0369
	Add GVirConfigDomainChardevSourcePty
Packit Service ea0369
Packit Service ea0369
	Implement gvir_config_domain_chardev_add_source
Packit Service ea0369
	This is used to associate a ChardevSource (pty, file, ...) with a
Packit Service ea0369
	Chardev (console, serial, ...).
Packit Service ea0369
Packit Service ea0369
	Introduce GVirConfigDomainChardevSource
Packit Service ea0369
Packit Service ea0369
	Add objects for dealing with <console> devices
Packit Service ea0369
	Add an abstract GVirConfigDomainChardev object for <console>,
Packit Service ea0369
	<serial>, ... devices and a GVirConfigDomainConsole implementation.
Packit Service ea0369
	This needs to be completed with a separate GVirConfigDomainChardevSource
Packit Service ea0369
	inheritance tree which will be specialized to
Packit Service ea0369
	GVirConfigDomainChardevSourcePty, ... and GVirConfigDomainChardev will
Packit Service ea0369
	offer a helper function to attach a GVirConfigDomainChardevSource to
Packit Service ea0369
	a GVirConfigDomainChardev
Packit Service ea0369
Packit Service ea0369
	Use gvir_error_set_literal in more places
Packit Service ea0369
	GVirConnection has some gvir_set_error uses that can be replaced
Packit Service ea0369
	by gvir_set_error_set_literal. When passing a single string, this is
Packit Service ea0369
	safer since we are guaranteed that unwanted printf-format sequences
Packit Service ea0369
	in the string won't cause issues.
Packit Service ea0369
Packit Service ea0369
2011-12-05  Christophe Fergeau  <cfergeau@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Add gvir_config_domain_set_lifecycle
Packit Service ea0369
	This is used to control what happens (restart, stop, ...) to the VM
Packit Service ea0369
	when it crashes, shuts down, ...
Packit Service ea0369
Packit Service ea0369
2011-12-05  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit Service ea0369
Packit Service ea0369
	Add wrapper for volume deletion API
Packit Service ea0369
Packit Service ea0369
2011-12-05  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Introduce gvir_set_error (and friends) & convert all code
Packit Service ea0369
	The pattern
Packit Service ea0369
Packit Service ea0369
	    GError **error;
Packit Service ea0369
	    ....
Packit Service ea0369
	    *err = gvir_error_new(...)
Packit Service ea0369
Packit Service ea0369
	is dangerous because 'err' could be NULL, and it is tedious
Packit Service ea0369
	to expect everyone to check. Introduce a new set of APIs
Packit Service ea0369
	for setting errors
Packit Service ea0369
Packit Service ea0369
	    gvir_set_error(err, ...)
Packit Service ea0369
Packit Service ea0369
	and convert all callers to this new pattern
Packit Service ea0369
Packit Service ea0369
2011-12-01  Daniel P. Berrange  <berrange@redhat.com>
Packit Service ea0369
Packit Service ea0369
	Update copyright dates s/2010/2010-2011/
Packit Service